Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_0_0_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.00151/0.00151, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001847/0.001847, allocations: 192 kB / 18.55 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2091/0.2091, allocations: 44.19 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 59.19 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1232, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01302/0.1362, allocations: 11.24 MB / 480.6 MB, free: 3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01272/0.149, allocations: 11.77 MB / 492.4 MB, free: 7.184 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002625/0.1494, allocations: 0 / 492.4 MB, free: 7.184 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005104/0.1499, allocations: 71.5 kB / 492.4 MB, free: 7.113 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.1608, allocations: 3.121 MB / 495.6 MB, free: 3.977 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006782/0.1615, allocations: 153.3 kB / 495.7 MB, free: 3.832 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00891/0.1704, allocations: 3.897 MB / 499.6 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.314e-05/0.1705, allocations: 16.41 kB / 499.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000265/0.1708, allocations: 139.5 kB / 499.8 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0166/0.1874, allocations: 7.122 MB / 0.495 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.566e-05/0.1876, allocations: 12 kB / 0.495 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00782/0.1954, allocations: 2.096 MB / 0.4971 GB, free: 6.539 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.1956, allocations: 47.75 kB / 0.4971 GB, free: 6.492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002834/0.1959, allocations: 135.4 kB / 0.4972 GB, free: 6.359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006605/0.2025, allocations: 1.532 MB / 0.4987 GB, free: 4.824 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.2025, allocations: 0 / 0.4987 GB, free: 4.824 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.2025, allocations: 0 / 0.4987 GB, free: 4.824 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.2026, allocations: 0 / 0.4987 GB, free: 4.824 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.003704/0.2063, allocations: 0.9282 MB / 0.4996 GB, free: 3.848 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.2063, allocations: 12.03 kB / 0.4997 GB, free: 3.836 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001205/0.2065, allocations: 62.72 kB / 0.4997 GB, free: 3.766 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.2076, allocations: 76.59 kB / 0.4998 GB, free: 3.691 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004432/0.2081, allocations: 247.9 kB / 0.5 GB, free: 3.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.871e-05/0.2081, allocations: 24.94 kB / 0.5 GB, free: 3.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.539e-05/0.2082, allocations: 24.38 kB / 0.5001 GB, free: 3.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.2098, allocations: 485.4 kB / 0.5005 GB, free: 2.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.2099, allocations: 7.984 kB / 0.5005 GB, free: 2.844 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.436e-05/0.2099, allocations: 8 kB / 0.5005 GB, free: 2.836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.21, allocations: 8 kB / 0.5006 GB, free: 2.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001914/0.2119, allocations: 0.689 MB / 0.5012 GB, free: 2.141 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.2238/0.4358, allocations: 4.291 MB / 0.5054 GB, free: 49.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006267/0.4364, allocations: 170 kB / 0.5056 GB, free: 49.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.4365, allocations: 65 kB / 0.5056 GB, free: 49.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02859/0.4651, allocations: 16.4 MB / 0.5217 GB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008831/0.4661, allocations: 316.7 kB / 0.522 GB, free: 37.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 7.213e-06/0.4661, allocations: 0.5625 kB / 0.522 GB, free: 37.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.00179/0.4679, allocations: 433 kB / 0.5224 GB, free: 37.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.468, allocations: 491.6 kB / 0.5228 GB, free: 36.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.4682, allocations: 176.8 kB / 0.523 GB, free: 36.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.4682, allocations: 35.7 kB / 0.523 GB, free: 36.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.4683, allocations: 186.8 kB / 0.5232 GB, free: 36.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.191e-05/0.4684, allocations: 94.16 kB / 0.5233 GB, free: 36.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.4685, allocations: 99.92 kB / 0.5234 GB, free: 36.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.178e-05/0.4686, allocations: 331.4 kB / 0.5237 GB, free: 36.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.4687, allocations: 64.86 kB / 0.5238 GB, free: 36.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.469, allocations: 311.2 kB / 0.5241 GB, free: 35.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004587/0.4694, allocations: 426.6 kB / 0.5245 GB, free: 35.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/0.4694, allocations: 2.906 kB / 0.5245 GB, free: 35.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007305/0.4702, allocations: 393 kB / 0.5249 GB, free: 35.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.4702, allocations: 11.81 kB / 0.5249 GB, free: 35.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.4702, allocations: 11.34 kB / 0.5249 GB, free: 35.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-05/0.4703, allocations: 11.53 kB / 0.5249 GB, free: 35.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/0.4706, allocations: 111.6 kB / 0.525 GB, free: 34.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.225e-05/0.4707, allocations: 18.77 kB / 0.525 GB, free: 34.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.4709, allocations: 48.34 kB / 0.5251 GB, free: 34.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-05/0.471, allocations: 28.09 kB / 0.5251 GB, free: 34.94 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.0001457/0.4712, allocations: 161.1 kB / 0.5253 GB, free: 34.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.201e-05/0.4712, allocations: 26.41 kB / 0.5253 GB, free: 34.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009535/0.4722, allocations: 0.7874 MB / 0.526 GB, free: 34.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.4722, allocations: 8.766 kB / 0.5261 GB, free: 34.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.4723, allocations: 2.656 kB / 0.5261 GB, free: 34.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.4723, allocations: 15.27 kB / 0.5261 GB, free: 34.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.4734, allocations: 1.217 MB / 0.5273 GB, free: 33.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.4734, allocations: 2.312 kB / 0.5273 GB, free: 33.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.4735, allocations: 33.7 kB / 0.5273 GB, free: 33.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.024e-06/0.4735, allocations: 3.344 kB / 0.5273 GB, free: 33.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.4735, allocations: 8.688 kB / 0.5273 GB, free: 33.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-06/0.4736, allocations: 8.281 kB / 0.5273 GB, free: 33.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4736, allocations: 6.375 kB / 0.5273 GB, free: 33.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003934/0.474, allocations: 372.2 kB / 0.5277 GB, free: 32.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.058e-05/0.474, allocations: 105.6 kB / 0.5278 GB, free: 32.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.26e-05/0.4741, allocations: 40.41 kB / 0.5278 GB, free: 32.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.4744, allocations: 17.61 kB / 0.5278 GB, free: 32.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.4744, allocations: 27.58 kB / 0.5279 GB, free: 32.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.4744, allocations: 11.94 kB / 0.5279 GB, free: 32.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002821/0.4747, allocations: 291.1 kB / 0.5281 GB, free: 32.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4747, allocations: 0 / 0.5281 GB, free: 32.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001305/0.476, allocations: 432.2 kB / 0.5286 GB, free: 32.39 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.001696/0.4777, allocations: 1.428 MB / 0.53 GB, free: 31.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003903/0.4781, allocations: 240.9 kB / 0.5302 GB, free: 31.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.4782, allocations: 1.812 kB / 0.5302 GB, free: 31.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.85e-05/0.4783, allocations: 85.47 kB / 0.5303 GB, free: 31.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000741/0.479, allocations: 107.8 kB / 0.5304 GB, free: 31.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.422/1.901, allocations: 0.582 GB / 1.112 GB, free: 173.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/1.901, allocations: 0.8121 MB / 1.113 GB, free: 172.9 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004535/1.901, allocations: 161.3 kB / 1.113 GB, free: 172.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/1.901, allocations: 148.6 kB / 1.113 GB, free: 172.7 MB / 0.5137 GB Notification: Performance of SimCode: time 1.272e-06/1.902, allocations: 0 / 1.113 GB, free: 172.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03546/1.937, allocations: 18.28 MB / 1.131 GB, free: 155.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.274/10.21, allocations: 7.609 kB / 1.131 GB, free: 155.4 MB / 0.5137 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.csv","/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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches