Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001017/0.001016, allocations: 93.45 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.001321, allocations: 205.2 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.7 MB / 246.8 MB, free: 11.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2187/0.2187, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.0003107, allocations: 11.98 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1361, allocations: 63.56 MB / 483.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01357/0.1497, allocations: 11.02 MB / 494.2 MB, free: 8.984 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01249/0.1622, allocations: 11.83 MB / 0.4942 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003028/0.1626, allocations: 0 / 0.4942 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004074/0.163, allocations: 63.67 kB / 0.4942 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01176/0.1748, allocations: 2.633 MB / 0.4968 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004553/0.1752, allocations: 154.3 kB / 0.497 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006615/0.1819, allocations: 4.137 MB / 0.501 GB, free: 6.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.417e-05/0.182, allocations: 20.41 kB / 0.501 GB, free: 6.102 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002666/0.1822, allocations: 143.4 kB / 0.5012 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2757/0.4579, allocations: 7.556 MB / 0.5085 GB, free: 21.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.573e-05/0.458, allocations: 10.41 kB / 0.5085 GB, free: 21.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005935/0.464, allocations: 2.116 MB / 0.5106 GB, free: 21.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.4641, allocations: 41.58 kB / 0.5106 GB, free: 21.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001993/0.4643, allocations: 153.5 kB / 0.5108 GB, free: 21.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003647/0.4679, allocations: 1.531 MB / 0.5123 GB, free: 21.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.468, allocations: 4.406 kB / 0.5123 GB, free: 21.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.468, allocations: 0 / 0.5123 GB, free: 21.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.468, allocations: 0 / 0.5123 GB, free: 21.63 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.00205/0.47, allocations: 0.8622 MB / 0.5131 GB, free: 21.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.4701, allocations: 11.12 kB / 0.5131 GB, free: 21.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.668e-05/0.4702, allocations: 70.48 kB / 0.5132 GB, free: 21.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005678/0.4708, allocations: 77.88 kB / 0.5133 GB, free: 21.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.4711, allocations: 246.1 kB / 0.5135 GB, free: 20.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.4711, allocations: 21.69 kB / 0.5135 GB, free: 20.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.4711, allocations: 23.28 kB / 0.5136 GB, free: 20.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009763/0.4721, allocations: 489 kB / 0.514 GB, free: 20.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.4721, allocations: 0.9375 kB / 0.514 GB, free: 20.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/0.4722, allocations: 11.91 kB / 0.514 GB, free: 20.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.4722, allocations: 7.094 kB / 0.5141 GB, free: 20.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.4734, allocations: 0.6893 MB / 0.5147 GB, free: 20.69 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006727/0.4801, allocations: 4.286 MB / 0.5189 GB, free: 17.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000593/0.4807, allocations: 166.7 kB / 0.5191 GB, free: 17.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.055e-05/0.4808, allocations: 61.86 kB / 0.5191 GB, free: 17.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02585/0.5067, allocations: 16.38 MB / 0.5351 GB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007038/0.5074, allocations: 321.1 kB / 0.5354 GB, free: 5.461 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 3.426e-06/0.5074, allocations: 2.672 kB / 0.5354 GB, free: 5.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.00136/0.5088, allocations: 441.1 kB / 0.5358 GB, free: 5.344 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/0.509, allocations: 481.5 kB / 0.5363 GB, free: 4.777 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.5092, allocations: 181.4 kB / 0.5365 GB, free: 4.656 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.5092, allocations: 32.02 kB / 0.5365 GB, free: 4.625 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.5093, allocations: 185.4 kB / 0.5367 GB, free: 4.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.843e-05/0.5094, allocations: 100.2 kB / 0.5368 GB, free: 4.395 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.075e-05/0.5095, allocations: 40.27 kB / 0.5368 GB, free: 4.375 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.281e-05/0.5096, allocations: 337.6 kB / 0.5371 GB, free: 4.047 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.5097, allocations: 64.08 kB / 0.5372 GB, free: 4.035 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.5099, allocations: 310.2 kB / 0.5375 GB, free: 3.695 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004243/0.5103, allocations: 425.6 kB / 0.5379 GB, free: 3.363 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.5103, allocations: 2.75 kB / 0.5379 GB, free: 3.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006998/0.5111, allocations: 400.9 kB / 0.5383 GB, free: 3.273 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.5111, allocations: 8.688 kB / 0.5383 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.5111, allocations: 9.406 kB / 0.5383 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.168e-05/0.5112, allocations: 13.5 kB / 0.5383 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003284/0.5115, allocations: 107 kB / 0.5384 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-05/0.5115, allocations: 19.08 kB / 0.5384 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/0.5118, allocations: 61.81 kB / 0.5385 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.902e-05/0.5119, allocations: 27.38 kB / 0.5385 GB, free: 3.227 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001478/0.5121, allocations: 159.2 kB / 0.5387 GB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.902e-05/0.5121, allocations: 22.47 kB / 0.5387 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.5132, allocations: 0.7805 MB / 0.5395 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.5132, allocations: 5.344 kB / 0.5395 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.5133, allocations: 6.734 kB / 0.5395 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.5133, allocations: 11.17 kB / 0.5395 GB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.5144, allocations: 1.205 MB / 0.5407 GB, free: 1.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.5144, allocations: 6.797 kB / 0.5407 GB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.975e-05/0.5145, allocations: 37.73 kB / 0.5407 GB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.5145, allocations: 7.062 kB / 0.5407 GB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.5145, allocations: 2.719 kB / 0.5407 GB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.5145, allocations: 7.188 kB / 0.5407 GB, free: 1.895 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.5145, allocations: 8.531 kB / 0.5407 GB, free: 1.895 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/0.5149, allocations: 372.6 kB / 0.5411 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.515, allocations: 216.7 kB / 0.5413 GB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.092e-05/0.5151, allocations: 7 kB / 0.5413 GB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.5153, allocations: 18.45 kB / 0.5413 GB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.5154, allocations: 24.61 kB / 0.5413 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.5154, allocations: 7.562 kB / 0.5413 GB, free: 1.449 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002884/0.5157, allocations: 298.9 kB / 0.5416 GB, free: 1.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5157, allocations: 96 / 0.5416 GB, free: 1.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001909/0.5176, allocations: 414.6 kB / 0.542 GB, free: 1.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00325/0.5209, allocations: 1.446 MB / 0.5434 GB, free: 272 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004063/0.5213, allocations: 230.7 kB / 0.5437 GB, free: 240 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.5213, allocations: 0 / 0.5437 GB, free: 240 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.5214, allocations: 85.48 kB / 0.5437 GB, free: 236 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000951/0.5224, allocations: 110.8 kB / 0.5438 GB, free: 204 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.581/2.104, allocations: 0.58 GB / 1.124 GB, free: 186.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/2.104, allocations: 0.8159 MB / 1.125 GB, free: 185.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006278/2.105, allocations: 163.7 kB / 1.125 GB, free: 185.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/2.105, allocations: 144.4 kB / 1.125 GB, free: 185.7 MB / 0.5294 GB Notification: Performance of SimCode: time 1.242e-06/2.105, allocations: 0 / 1.125 GB, free: 185.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03588/2.141, allocations: 17.89 MB / 1.142 GB, free: 172.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001647/2.141, allocations: 225.4 kB / 1.143 GB, free: 172.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.514/4.655, allocations: 0 / 1.143 GB, free: 172.1 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches