Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_3_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 4.0.0+maint.om/package.mo): time 0.001478/0.001477, allocations: 105.5 kB / 16.4 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 192.1 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2145/0.2145, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 71.91 kB / 441.3 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1225, allocations: 57.8 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01491/0.1375, allocations: 11.25 MB / 0.4984 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01672/0.1543, allocations: 14.27 MB / 0.5124 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000286/0.1546, allocations: 4 kB / 0.5124 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004249/0.1551, allocations: 67.5 kB / 0.5124 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01016/0.1653, allocations: 3.117 MB / 0.5155 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004431/0.1657, allocations: 151.8 kB / 0.5156 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005662/0.1714, allocations: 3.897 MB / 0.5194 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.061e-05/0.1715, allocations: 16.39 kB / 0.5194 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002781/0.1718, allocations: 147.5 kB / 0.5196 GB, free: 11.22 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009788/0.1816, allocations: 7.126 MB / 0.5265 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.576e-05/0.1817, allocations: 8 kB / 0.5265 GB, free: 4.078 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006733/0.1885, allocations: 2.131 MB / 0.5286 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.1886, allocations: 47.77 kB / 0.5287 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002405/0.1888, allocations: 119.5 kB / 0.5288 GB, free: 1.781 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005414/0.1943, allocations: 1.54 MB / 0.5303 GB, free: 244 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1943, allocations: 0 / 0.5303 GB, free: 244 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1943, allocations: 0 / 0.5303 GB, free: 244 kB / 414.1 MB Notification: Performance of Transformations before backend: time 2.195e-05/0.1943, allocations: 4 kB / 0.5303 GB, free: 240 kB / 414.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.287/0.4813, allocations: 0.9185 MB / 0.5312 GB, free: 42.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.4814, allocations: 13.61 kB / 0.5312 GB, free: 42.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.757e-05/0.4815, allocations: 63.59 kB / 0.5313 GB, free: 42.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005795/0.482, allocations: 79.95 kB / 0.5313 GB, free: 42.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.4824, allocations: 244.2 kB / 0.5316 GB, free: 42.67 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.4824, allocations: 20.56 kB / 0.5316 GB, free: 42.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.715e-05/0.4824, allocations: 27.88 kB / 0.5316 GB, free: 42.67 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008585/0.4833, allocations: 486.4 kB / 0.5321 GB, free: 42.56 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.4833, allocations: 4.5 kB / 0.5321 GB, free: 42.56 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.4834, allocations: 10.69 kB / 0.5321 GB, free: 42.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.4834, allocations: 8.141 kB / 0.5321 GB, free: 42.56 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.4845, allocations: 0.6819 MB / 0.5328 GB, free: 42.56 MB / 414.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.007473/0.492, allocations: 4.309 MB / 0.537 GB, free: 39.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005257/0.4925, allocations: 172.5 kB / 0.5371 GB, free: 39.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.389e-05/0.4926, allocations: 58.36 kB / 0.5372 GB, free: 39.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02731/0.5199, allocations: 16.4 MB / 0.5532 GB, free: 28.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006881/0.5206, allocations: 326 kB / 0.5535 GB, free: 27.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.114e-06/0.5206, allocations: 0 / 0.5535 GB, free: 27.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.001331/0.522, allocations: 441.8 kB / 0.5539 GB, free: 27.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.699e-05/0.5221, allocations: 473 kB / 0.5544 GB, free: 27.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.5223, allocations: 185.8 kB / 0.5546 GB, free: 27.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.5223, allocations: 36.14 kB / 0.5546 GB, free: 27.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.281e-05/0.5224, allocations: 185.5 kB / 0.5548 GB, free: 26.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.586e-05/0.5224, allocations: 102.9 kB / 0.5549 GB, free: 26.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.5225, allocations: 93.36 kB / 0.555 GB, free: 26.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.116e-05/0.5226, allocations: 331.7 kB / 0.5553 GB, free: 26.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.5227, allocations: 63.92 kB / 0.5554 GB, free: 26.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.5229, allocations: 317.7 kB / 0.5557 GB, free: 26.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003778/0.5233, allocations: 424.7 kB / 0.5561 GB, free: 25.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.5233, allocations: 2.219 kB / 0.5561 GB, free: 25.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006188/0.524, allocations: 407.1 kB / 0.5564 GB, free: 25.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.524, allocations: 13.53 kB / 0.5565 GB, free: 25.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.524, allocations: 9.156 kB / 0.5565 GB, free: 25.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.051e-05/0.5241, allocations: 10.59 kB / 0.5565 GB, free: 25.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.5244, allocations: 107.1 kB / 0.5566 GB, free: 25.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.981e-05/0.5244, allocations: 18.31 kB / 0.5566 GB, free: 25.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.5247, allocations: 42.56 kB / 0.5566 GB, free: 25.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.005e-05/0.5247, allocations: 31.77 kB / 0.5567 GB, free: 25.39 MB / 414.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.0001248/0.5248, allocations: 161 kB / 0.5568 GB, free: 25.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.131e-05/0.5249, allocations: 29.55 kB / 0.5569 GB, free: 25.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009195/0.5259, allocations: 0.7781 MB / 0.5576 GB, free: 24.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.5259, allocations: 8.422 kB / 0.5576 GB, free: 24.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.5259, allocations: 2.406 kB / 0.5576 GB, free: 24.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.5259, allocations: 2.156 kB / 0.5576 GB, free: 24.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000965/0.5269, allocations: 1.219 MB / 0.5588 GB, free: 23.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.5269, allocations: 3.25 kB / 0.5588 GB, free: 23.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.527, allocations: 32.48 kB / 0.5588 GB, free: 23.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.527, allocations: 3.438 kB / 0.5589 GB, free: 23.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.527, allocations: 12.22 kB / 0.5589 GB, free: 23.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.5271, allocations: 4.375 kB / 0.5589 GB, free: 23.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.5271, allocations: 6.047 kB / 0.5589 GB, free: 23.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003533/0.5274, allocations: 377.3 kB / 0.5592 GB, free: 23.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.89e-05/0.5275, allocations: 104.8 kB / 0.5593 GB, free: 23.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.592e-05/0.5276, allocations: 54.12 kB / 0.5594 GB, free: 23.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.5278, allocations: 13.17 kB / 0.5594 GB, free: 23.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.5278, allocations: 20.14 kB / 0.5594 GB, free: 23.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.5278, allocations: 11.78 kB / 0.5594 GB, free: 23.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002668/0.5281, allocations: 296.4 kB / 0.5597 GB, free: 22.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5281, allocations: 3.938 kB / 0.5597 GB, free: 22.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00139/0.5295, allocations: 417.9 kB / 0.5601 GB, free: 22.79 MB / 414.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.001678/0.5312, allocations: 1.436 MB / 0.5615 GB, free: 21.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000418/0.5316, allocations: 241.1 kB / 0.5617 GB, free: 21.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5316, allocations: 0 / 0.5617 GB, free: 21.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.5317, allocations: 85.28 kB / 0.5618 GB, free: 21.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007173/0.5325, allocations: 116.7 kB / 0.5619 GB, free: 21.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.211/1.743, allocations: 0.582 GB / 1.144 GB, free: 24.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/1.744, allocations: 0.8113 MB / 1.145 GB, free: 23.88 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003951/1.744, allocations: 170.4 kB / 1.145 GB, free: 23.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/1.744, allocations: 147.4 kB / 1.145 GB, free: 23.58 MB / 0.5606 GB Notification: Performance of SimCode: time 8.31e-07/1.744, allocations: 0 / 1.145 GB, free: 23.58 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04225/1.786, allocations: 18.51 MB / 1.163 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.65/10.44, allocations: 11.08 kB / 1.163 GB, free: 5.105 MB / 0.5606 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches