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.001339/0.001339, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.001485/0.001485, allocations: 194 kB / 18.12 MB, free: 5.363 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.381/1.381, allocations: 222.9 MB / 241.8 MB, free: 15.55 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.2204/0.2204, allocations: 44.16 MB / 336.1 MB, free: 3.043 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 68.22 kB / 407.8 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1213, allocations: 60.83 MB / 468.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01555/0.1369, allocations: 11.46 MB / 480.1 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0128/0.1497, allocations: 12.05 MB / 492.1 MB, free: 7.164 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002441/0.15, allocations: 0 / 492.1 MB, free: 7.164 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003762/0.1505, allocations: 63.61 kB / 492.2 MB, free: 7.102 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01145/0.1619, allocations: 2.632 MB / 494.8 MB, free: 4.461 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005052/0.1624, allocations: 142.8 kB / 495 MB, free: 4.324 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007709/0.1702, allocations: 4.156 MB / 499.1 MB, free: 164 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1703, allocations: 16.41 kB / 499.1 MB, free: 148 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003843/0.1707, allocations: 139.4 kB / 499.3 MB, free: 8 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0129/0.1836, allocations: 7.555 MB / 0.495 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.569e-05/0.1837, allocations: 12 kB / 0.495 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006258/0.19, allocations: 2.111 MB / 0.497 GB, free: 6.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.1901, allocations: 43.77 kB / 0.4971 GB, free: 6.273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002763/0.1904, allocations: 127.5 kB / 0.4972 GB, free: 6.148 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005792/0.1962, allocations: 1.544 MB / 0.4987 GB, free: 4.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1963, allocations: 0 / 0.4987 GB, free: 4.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1963, allocations: 0 / 0.4987 GB, free: 4.602 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.1963, allocations: 0 / 0.4987 GB, free: 4.602 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.002961/0.1993, allocations: 0.9244 MB / 0.4996 GB, free: 3.629 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.1993, allocations: 8.031 kB / 0.4996 GB, free: 3.621 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.552e-05/0.1994, allocations: 62.72 kB / 0.4997 GB, free: 3.551 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006483/0.2001, allocations: 76.59 kB / 0.4997 GB, free: 3.477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.2004, allocations: 255.9 kB / 0.5 GB, free: 3.188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.2005, allocations: 20.94 kB / 0.5 GB, free: 3.168 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.643e-05/0.2005, allocations: 24.38 kB / 0.5 GB, free: 3.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.2016, allocations: 489.4 kB / 0.5005 GB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.2016, allocations: 0 / 0.5005 GB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/0.2017, allocations: 15.94 kB / 0.5005 GB, free: 2.613 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.2017, allocations: 4 kB / 0.5005 GB, free: 2.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.2028, allocations: 0.689 MB / 0.5012 GB, free: 1.922 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.2306/0.4334, allocations: 4.294 MB / 0.5054 GB, free: 49.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006434/0.4341, allocations: 173.3 kB / 0.5055 GB, free: 49.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.4342, allocations: 60.53 kB / 0.5056 GB, free: 49.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02848/0.4627, allocations: 16.4 MB / 0.5216 GB, free: 37.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007621/0.4635, allocations: 319.2 kB / 0.5219 GB, free: 37.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.315e-06/0.4635, allocations: 0.5625 kB / 0.5219 GB, free: 37.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001413/0.4649, allocations: 441.7 kB / 0.5223 GB, free: 37.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/0.4651, allocations: 486.8 kB / 0.5228 GB, free: 36.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.4653, allocations: 184.7 kB / 0.523 GB, free: 36.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.4653, allocations: 30.86 kB / 0.523 GB, free: 36.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.36e-05/0.4654, allocations: 187.2 kB / 0.5232 GB, free: 36.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.686e-05/0.4655, allocations: 98.22 kB / 0.5233 GB, free: 36.08 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.4657, allocations: 94.89 kB / 0.5234 GB, free: 36.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.8e-05/0.4658, allocations: 331.4 kB / 0.5237 GB, free: 35.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.4659, allocations: 64.8 kB / 0.5237 GB, free: 35.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/0.4662, allocations: 311.6 kB / 0.524 GB, free: 35.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004936/0.4667, allocations: 425.4 kB / 0.5245 GB, free: 34.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.4667, allocations: 2.844 kB / 0.5245 GB, free: 34.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006856/0.4674, allocations: 395.8 kB / 0.5248 GB, free: 34.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.4674, allocations: 11.69 kB / 0.5248 GB, free: 34.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.885e-05/0.4675, allocations: 11.91 kB / 0.5249 GB, free: 34.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.922e-05/0.4675, allocations: 11.22 kB / 0.5249 GB, free: 34.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003387/0.4678, allocations: 112 kB / 0.525 GB, free: 34.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.653e-05/0.4679, allocations: 23.48 kB / 0.525 GB, free: 34.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.4681, allocations: 51.34 kB / 0.525 GB, free: 34.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.425e-05/0.4682, allocations: 28.28 kB / 0.5251 GB, free: 34.59 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.0001631/0.4684, allocations: 158.1 kB / 0.5252 GB, free: 34.44 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.689e-05/0.4685, allocations: 30.66 kB / 0.5252 GB, free: 34.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.4696, allocations: 0.7861 MB / 0.526 GB, free: 33.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.4696, allocations: 3.969 kB / 0.526 GB, free: 33.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.4696, allocations: 3.031 kB / 0.526 GB, free: 33.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.403e-06/0.4696, allocations: 5.453 kB / 0.526 GB, free: 33.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009946/0.4706, allocations: 1.23 MB / 0.5272 GB, free: 32.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.4707, allocations: 2.688 kB / 0.5272 GB, free: 32.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.4708, allocations: 31.33 kB / 0.5273 GB, free: 32.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.4708, allocations: 3.625 kB / 0.5273 GB, free: 32.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.4708, allocations: 8.469 kB / 0.5273 GB, free: 32.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.4708, allocations: 3.406 kB / 0.5273 GB, free: 32.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.4708, allocations: 11.34 kB / 0.5273 GB, free: 32.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.4712, allocations: 374.8 kB / 0.5276 GB, free: 32.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-05/0.4713, allocations: 100.8 kB / 0.5277 GB, free: 32.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.056e-05/0.4714, allocations: 44.31 kB / 0.5278 GB, free: 32.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.4716, allocations: 16.42 kB / 0.5278 GB, free: 32.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.4716, allocations: 23.95 kB / 0.5278 GB, free: 32.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.4717, allocations: 11.84 kB / 0.5278 GB, free: 32.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003094/0.472, allocations: 291.9 kB / 0.5281 GB, free: 32.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.472, allocations: 0 / 0.5281 GB, free: 32.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001385/0.4734, allocations: 429.2 kB / 0.5285 GB, free: 32.05 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.001709/0.4751, allocations: 1.436 MB / 0.5299 GB, free: 31.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000394/0.4755, allocations: 231.2 kB / 0.5301 GB, free: 30.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4755, allocations: 0 / 0.5301 GB, free: 30.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.4756, allocations: 88.42 kB / 0.5302 GB, free: 30.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007385/0.4764, allocations: 107 kB / 0.5303 GB, free: 30.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.482/1.959, allocations: 0.5822 GB / 1.112 GB, free: 173.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/1.959, allocations: 0.8136 MB / 1.113 GB, free: 172.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004866/1.96, allocations: 168.8 kB / 1.113 GB, free: 172.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/1.96, allocations: 151.1 kB / 1.114 GB, free: 172.5 MB / 0.5137 GB Notification: Performance of SimCode: time 1.002e-06/1.96, allocations: 0 / 1.114 GB, free: 172.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02993/1.99, allocations: 17.96 MB / 1.131 GB, free: 155.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/1.99, allocations: 239.5 kB / 1.131 GB, free: 155.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.459/4.449, allocations: 4 kB / 1.131 GB, free: 155.1 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 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.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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches