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.001227/0.001227, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001258/0.001258, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.384/1.384, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2116/0.2116, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 67.89 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3482, allocations: 60.82 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01346/0.3617, allocations: 11.26 MB / 0.5295 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01424/0.3759, allocations: 11.81 MB / 0.541 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001808/0.3761, allocations: 0 / 0.541 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003469/0.3765, allocations: 68.66 kB / 0.5411 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01028/0.3867, allocations: 3.119 MB / 0.5441 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.3871, allocations: 146.9 kB / 0.5442 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005772/0.3929, allocations: 3.923 MB / 0.5481 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.812e-05/0.393, allocations: 11.03 kB / 0.5481 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002155/0.3932, allocations: 141.6 kB / 0.5482 GB, free: 13.26 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009724/0.4029, allocations: 7.155 MB / 0.5552 GB, free: 6.367 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.348e-05/0.403, allocations: 12 kB / 0.5552 GB, free: 6.355 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006237/0.4092, allocations: 2.139 MB / 0.5573 GB, free: 4.215 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.4094, allocations: 39.83 kB / 0.5573 GB, free: 4.176 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002729/0.4096, allocations: 123.4 kB / 0.5575 GB, free: 4.055 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005572/0.4152, allocations: 1.555 MB / 0.559 GB, free: 2.496 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4152, allocations: 0 / 0.559 GB, free: 2.496 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4152, allocations: 0 / 0.559 GB, free: 2.496 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.4152, allocations: 0 / 0.559 GB, free: 2.496 MB / 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.002461/0.4177, allocations: 0.9401 MB / 0.5599 GB, free: 1.508 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.4177, allocations: 12.03 kB / 0.5599 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.852e-05/0.4178, allocations: 62.72 kB / 0.56 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005887/0.4184, allocations: 76.73 kB / 0.56 GB, free: 1.352 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004179/0.4188, allocations: 252 kB / 0.5603 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.4188, allocations: 24.88 kB / 0.5603 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.4189, allocations: 28.38 kB / 0.5603 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.4199, allocations: 489.3 kB / 0.5608 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.4199, allocations: 3.938 kB / 0.5608 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/0.4199, allocations: 20 kB / 0.5608 GB, free: 488 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.42, allocations: 8 kB / 0.5608 GB, free: 480 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.4211, allocations: 0.6812 MB / 0.5615 GB, free: 15.79 MB / 430.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.007631/0.4287, allocations: 4.292 MB / 0.5657 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005874/0.4293, allocations: 163.1 kB / 0.5658 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.441e-05/0.4294, allocations: 53.53 kB / 0.5659 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02912/0.4586, allocations: 16.41 MB / 0.5819 GB, free: 8.262 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008144/0.4594, allocations: 317.9 kB / 0.5822 GB, free: 7.887 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.024e-06/0.4594, allocations: 0 / 0.5822 GB, free: 7.887 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.001416/0.4608, allocations: 443 kB / 0.5827 GB, free: 7.449 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002665/0.461, allocations: 478.6 kB / 0.5831 GB, free: 6.871 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.4613, allocations: 183.4 kB / 0.5833 GB, free: 6.684 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.4613, allocations: 33.7 kB / 0.5833 GB, free: 6.645 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.4614, allocations: 196.3 kB / 0.5835 GB, free: 6.449 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.974e-05/0.4615, allocations: 103.2 kB / 0.5836 GB, free: 6.348 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.4616, allocations: 98.06 kB / 0.5837 GB, free: 6.246 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4618, allocations: 326.8 kB / 0.584 GB, free: 5.918 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.4619, allocations: 64.83 kB / 0.5841 GB, free: 5.855 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/0.4622, allocations: 310.7 kB / 0.5844 GB, free: 5.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005156/0.4627, allocations: 433 kB / 0.5848 GB, free: 4.887 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.4627, allocations: 7.984 kB / 0.5848 GB, free: 4.879 MB / 446.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007309/0.4634, allocations: 389.7 kB / 0.5852 GB, free: 4.492 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.4635, allocations: 8 kB / 0.5852 GB, free: 4.484 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.4635, allocations: 8 kB / 0.5852 GB, free: 4.477 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.4635, allocations: 16.03 kB / 0.5852 GB, free: 4.461 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.4638, allocations: 111.8 kB / 0.5853 GB, free: 4.352 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.059e-05/0.4638, allocations: 15.94 kB / 0.5853 GB, free: 4.336 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/0.4641, allocations: 55.56 kB / 0.5854 GB, free: 4.281 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/0.4641, allocations: 31.98 kB / 0.5854 GB, free: 4.25 MB / 446.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.0001462/0.4643, allocations: 153.6 kB / 0.5855 GB, free: 4.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.162e-05/0.4644, allocations: 31.89 kB / 0.5856 GB, free: 4.059 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.4654, allocations: 0.7823 MB / 0.5863 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.4654, allocations: 7.984 kB / 0.5863 GB, free: 3.227 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.4654, allocations: 4 kB / 0.5863 GB, free: 3.223 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.4654, allocations: 11.92 kB / 0.5864 GB, free: 3.211 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.4667, allocations: 1.215 MB / 0.5875 GB, free: 1.855 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.4667, allocations: 4 kB / 0.5875 GB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.4668, allocations: 35.92 kB / 0.5876 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.4668, allocations: 7.938 kB / 0.5876 GB, free: 1.809 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.4668, allocations: 7.938 kB / 0.5876 GB, free: 1.801 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.79e-06/0.4668, allocations: 7.984 kB / 0.5876 GB, free: 1.793 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.4668, allocations: 0 / 0.5876 GB, free: 1.793 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004299/0.4672, allocations: 380.8 kB / 0.588 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.4673, allocations: 108.8 kB / 0.5881 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.939e-05/0.4674, allocations: 43.56 kB / 0.5881 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.4676, allocations: 15.98 kB / 0.5881 GB, free: 1.191 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/0.4677, allocations: 15.98 kB / 0.5881 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.4677, allocations: 8 kB / 0.5882 GB, free: 1.168 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003339/0.468, allocations: 298.9 kB / 0.5884 GB, free: 0.875 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.468, allocations: 0 / 0.5884 GB, free: 0.875 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001215/0.4692, allocations: 426.5 kB / 0.5888 GB, free: 468 kB / 446.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.001954/0.4712, allocations: 1.449 MB / 0.5903 GB, free: 14.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004156/0.4716, allocations: 221.7 kB / 0.5905 GB, free: 14.73 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4716, allocations: 4.062 kB / 0.5905 GB, free: 14.73 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.4717, allocations: 71.84 kB / 0.5905 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007252/0.4724, allocations: 110.9 kB / 0.5906 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.447/1.92, allocations: 0.5821 GB / 1.173 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/1.92, allocations: 0.8091 MB / 1.174 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003737/1.92, allocations: 157.8 kB / 1.174 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/1.921, allocations: 145.2 kB / 1.174 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of SimCode: time 1.182e-06/1.921, allocations: 3.969 kB / 1.174 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04618/1.967, allocations: 18.4 MB / 1.192 GB, free: 194.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.973/10.94, allocations: 7.859 kB / 1.192 GB, free: 194.1 MB / 0.5919 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