Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",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.001194/0.001194, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 185.3 kB / 16.92 MB, free: 6.914 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.528/1.528, allocations: 205.4 MB / 223.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3292/0.3292, allocations: 43.57 MB / 315 MB, free: 9.027 MB / 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.0005609/0.0005611, allocations: 12 kB / 384.7 MB, free: 7.777 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1246, allocations: 58.87 MB / 443.6 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01195/0.1366, allocations: 10.98 MB / 454.5 MB, free: 1.777 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2198/0.3565, allocations: 14.35 MB / 468.9 MB, free: 35.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.3568, allocations: 2.938 kB / 468.9 MB, free: 35.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003091/0.3571, allocations: 57.92 kB / 468.9 MB, free: 35.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007865/0.365, allocations: 2.636 MB / 471.6 MB, free: 34.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.3653, allocations: 148.9 kB / 471.7 MB, free: 34.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0053/0.3706, allocations: 4.142 MB / 475.9 MB, free: 33.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.145e-05/0.3707, allocations: 20.12 kB / 475.9 MB, free: 33.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.3709, allocations: 138.3 kB / 476 MB, free: 33.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008764/0.3796, allocations: 7.561 MB / 483.6 MB, free: 32.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.121e-05/0.3797, allocations: 9.25 kB / 483.6 MB, free: 32.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004853/0.3846, allocations: 2.36 MB / 485.9 MB, free: 32.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.818e-05/0.3847, allocations: 42.12 kB / 486 MB, free: 32.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.3849, allocations: 150.4 kB / 486.1 MB, free: 32.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002937/0.3878, allocations: 1.703 MB / 487.8 MB, free: 31.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3878, allocations: 0 / 487.8 MB, free: 31.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3878, allocations: 4 kB / 487.8 MB, free: 31.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.3878, allocations: 1.094 kB / 487.8 MB, free: 31.54 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.001821/0.3897, allocations: 0.9085 MB / 488.8 MB, free: 30.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3897, allocations: 13.62 kB / 488.8 MB, free: 30.91 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.844e-05/0.3898, allocations: 63.23 kB / 488.8 MB, free: 30.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005142/0.3903, allocations: 77.69 kB / 488.9 MB, free: 30.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.3905, allocations: 241 kB / 489.1 MB, free: 30.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.3905, allocations: 23.59 kB / 489.2 MB, free: 30.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.3906, allocations: 26.66 kB / 489.2 MB, free: 30.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008921/0.3915, allocations: 487 kB / 489.7 MB, free: 30.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3915, allocations: 1.031 kB / 489.7 MB, free: 30.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.3916, allocations: 16.12 kB / 489.7 MB, free: 30.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.3916, allocations: 10.72 kB / 489.7 MB, free: 30.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.3926, allocations: 0.6807 MB / 490.4 MB, free: 30.2 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.005773/0.3984, allocations: 3.119 MB / 493.5 MB, free: 28.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005682/0.399, allocations: 219 kB / 493.7 MB, free: 28.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.3991, allocations: 74.77 kB / 493.8 MB, free: 28.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07808/0.4772, allocations: 33.49 MB / 0.5149 GB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009966/0.4783, allocations: 345.4 kB / 0.5152 GB, free: 4.223 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.785e-06/0.4783, allocations: 0 / 0.5152 GB, free: 4.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.003781/0.4821, allocations: 0.8605 MB / 0.5161 GB, free: 3.352 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.4822, allocations: 479 kB / 0.5165 GB, free: 2.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.4824, allocations: 150.2 kB / 0.5167 GB, free: 2.617 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.4824, allocations: 37.7 kB / 0.5167 GB, free: 2.574 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.552e-05/0.4825, allocations: 163.9 kB / 0.5169 GB, free: 2.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.453e-05/0.4826, allocations: 130.2 kB / 0.517 GB, free: 2.281 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.154e-05/0.4827, allocations: 37.7 kB / 0.517 GB, free: 2.238 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.316e-05/0.4828, allocations: 330.8 kB / 0.5173 GB, free: 1.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.4829, allocations: 73.08 kB / 0.5174 GB, free: 1.836 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002842/0.4832, allocations: 305.3 kB / 0.5177 GB, free: 1.422 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005805/0.4838, allocations: 438 kB / 0.5181 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.4838, allocations: 7.938 kB / 0.5181 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008335/0.4847, allocations: 407 kB / 0.5185 GB, free: 480 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.4847, allocations: 8 kB / 0.5185 GB, free: 472 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.4848, allocations: 8 kB / 0.5185 GB, free: 464 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.737e-05/0.4848, allocations: 12 kB / 0.5185 GB, free: 452 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002552/0.4873, allocations: 261 kB / 0.5188 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008995/0.4883, allocations: 1.199 MB / 0.52 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.4886, allocations: 19.84 kB / 0.52 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.878e-05/0.4887, allocations: 32 kB / 0.52 GB, free: 14.89 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002456/0.4889, allocations: 158.5 kB / 0.5202 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.4891, allocations: 31.81 kB / 0.5202 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/0.4912, allocations: 0.956 MB / 0.5211 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/0.4912, allocations: 4 kB / 0.5211 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.4913, allocations: 4 kB / 0.5211 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.4913, allocations: 8.188 kB / 0.5211 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00243/0.4937, allocations: 1.426 MB / 0.5225 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.4937, allocations: 4 kB / 0.5225 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001699/0.4955, allocations: 152 kB / 0.5227 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-05/0.4955, allocations: 7.938 kB / 0.5227 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.4955, allocations: 8 kB / 0.5227 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003329/0.4959, allocations: 0.5899 MB / 0.5233 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/0.4959, allocations: 7.938 kB / 0.5233 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005877/0.4965, allocations: 0.5072 MB / 0.5238 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002038/0.4967, allocations: 216 kB / 0.524 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.35e-05/0.4967, allocations: 14.44 kB / 0.524 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/0.497, allocations: 27.92 kB / 0.524 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.4971, allocations: 15.98 kB / 0.524 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/0.4971, allocations: 15.98 kB / 0.5241 GB, free: 10.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003028/0.4974, allocations: 275.1 kB / 0.5243 GB, free: 10.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4974, allocations: 0 / 0.5243 GB, free: 10.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001773/0.4992, allocations: 459.6 kB / 0.5248 GB, free: 9.777 MB / 398.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 (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002478/0.5017, allocations: 1.647 MB / 0.5264 GB, free: 8.074 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002081/0.5038, allocations: 393.8 kB / 0.5267 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.5038, allocations: 5.062 kB / 0.5268 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001125/0.5049, allocations: 220.1 kB / 0.527 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.5062, allocations: 122.3 kB / 0.5271 GB, free: 7.352 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.425/1.931, allocations: 0.5382 GB / 1.065 GB, free: 109.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/1.931, allocations: 0.8302 MB / 1.066 GB, free: 108.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005073/1.932, allocations: 160.9 kB / 1.066 GB, free: 108.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/1.932, allocations: 158.1 kB / 1.066 GB, free: 108.7 MB / 494.1 MB Notification: Performance of SimCode: time 1.553e-06/1.932, allocations: 0 / 1.066 GB, free: 108.7 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03331/1.965, allocations: 19.67 MB / 1.086 GB, free: 89.68 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/1.965, allocations: 255.8 kB / 1.086 GB, free: 89.43 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.629/4.594, allocations: 0 / 1.086 GB, free: 89.43 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches