Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_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.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_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.001021/0.001021, allocations: 94.28 kB / 17.35 MB, free: 6.031 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.001279/0.001279, allocations: 174 kB / 18.26 MB, free: 5.387 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.338/1.338, allocations: 223.3 MB / 242.3 MB, free: 76 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1981/0.1981, allocations: 44.25 MB / 337.7 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000277/0.000277, allocations: 10.31 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1037, allocations: 61.92 MB / 472.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.0149/0.1186, allocations: 14.12 MB / 486.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02927/0.1479, allocations: 27.84 MB / 0.5023 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/0.1482, allocations: 3.938 kB / 0.5023 GB, free: 3.125 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003508/0.1485, allocations: 79.58 kB / 0.5023 GB, free: 3.047 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.246/0.3945, allocations: 6.823 MB / 0.509 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000861/0.3954, allocations: 317.3 kB / 0.5093 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003764/0.3992, allocations: 2.041 MB / 0.5113 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.308e-05/0.3992, allocations: 18.5 kB / 0.5113 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005015/0.3997, allocations: 258.2 kB / 0.5116 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005808/0.4056, allocations: 3.269 MB / 0.5148 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.941e-05/0.4056, allocations: 8.875 kB / 0.5148 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03296/0.4386, allocations: 10.73 MB / 0.5252 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.4388, allocations: 53.92 kB / 0.5253 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004383/0.4393, allocations: 160.1 kB / 0.5255 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0232/0.4625, allocations: 6.31 MB / 0.5316 GB, free: 8.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4625, allocations: 0 / 0.5316 GB, free: 8.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4626, allocations: 6.25 kB / 0.5316 GB, free: 8.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.4626, allocations: 0 / 0.5316 GB, free: 8.848 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.006358/0.4689, allocations: 1.493 MB / 0.5331 GB, free: 7.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.469, allocations: 10.12 kB / 0.5331 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.047e-05/0.4691, allocations: 67.59 kB / 0.5332 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/0.4707, allocations: 224.9 kB / 0.5334 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.4709, allocations: 275.9 kB / 0.5336 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.451e-05/0.471, allocations: 24.66 kB / 0.5337 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.55e-05/0.471, allocations: 32.16 kB / 0.5337 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002401/0.4734, allocations: 0.8306 MB / 0.5345 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.4735, allocations: 0 / 0.5345 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.43e-05/0.4736, allocations: 19.03 kB / 0.5345 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.4736, allocations: 9.844 kB / 0.5345 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003155/0.4767, allocations: 0.951 MB / 0.5355 GB, free: 6.93 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.002618/0.4794, allocations: 2.575 MB / 0.538 GB, free: 4.809 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.4807, allocations: 382.8 kB / 0.5383 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.4808, allocations: 78.5 kB / 0.5384 GB, free: 4.664 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.814/1.295, allocations: 227.1 MB / 0.7602 GB, free: 172.9 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00132/1.296, allocations: 473.9 kB / 0.7607 GB, free: 172.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 2.685e-06/1.296, allocations: 0 / 0.7607 GB, free: 172.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.002781/1.299, allocations: 0.784 MB / 0.7614 GB, free: 171.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/1.299, allocations: 376.1 kB / 0.7618 GB, free: 171.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/1.299, allocations: 192.3 kB / 0.762 GB, free: 171 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/1.299, allocations: 29.7 kB / 0.762 GB, free: 171 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/1.299, allocations: 188.5 kB / 0.7622 GB, free: 170.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.683e-05/1.299, allocations: 105.3 kB / 0.7623 GB, free: 170.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.523e-05/1.3, allocations: 45.7 kB / 0.7623 GB, free: 170.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.543e-05/1.3, allocations: 338.1 kB / 0.7627 GB, free: 170.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/1.3, allocations: 77.06 kB / 0.7627 GB, free: 170.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/1.3, allocations: 344.7 kB / 0.7631 GB, free: 169.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004921/1.301, allocations: 485.9 kB / 0.7635 GB, free: 169.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/1.301, allocations: 4 kB / 0.7635 GB, free: 169.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007355/1.301, allocations: 469.8 kB / 0.764 GB, free: 168.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/1.301, allocations: 8 kB / 0.764 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/1.301, allocations: 12.12 kB / 0.764 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/1.301, allocations: 12 kB / 0.764 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/1.302, allocations: 143.8 kB / 0.7641 GB, free: 168.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/1.302, allocations: 15.94 kB / 0.7642 GB, free: 168.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003139/1.302, allocations: 54.25 kB / 0.7642 GB, free: 168.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.585e-05/1.302, allocations: 43.98 kB / 0.7643 GB, free: 168.4 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state.phase,state_h_is.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.000135/1.302, allocations: 167 kB / 0.7644 GB, free: 168.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-05/1.302, allocations: 31.72 kB / 0.7644 GB, free: 168.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/1.305, allocations: 2.612 MB / 0.767 GB, free: 165.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/1.305, allocations: 19.97 kB / 0.767 GB, free: 165.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/1.305, allocations: 4 kB / 0.767 GB, free: 165.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/1.305, allocations: 9.016 kB / 0.767 GB, free: 165.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008881/1.306, allocations: 0.9259 MB / 0.7679 GB, free: 164.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/1.306, allocations: 4 kB / 0.7679 GB, free: 164.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002895/1.306, allocations: 78.67 kB / 0.768 GB, free: 164.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/1.306, allocations: 8 kB / 0.768 GB, free: 164.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/1.306, allocations: 8.156 kB / 0.768 GB, free: 164.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.728e-06/1.306, allocations: 8 kB / 0.768 GB, free: 164.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.306, allocations: 7.984 kB / 0.768 GB, free: 164.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007336/1.307, allocations: 0.7063 MB / 0.7687 GB, free: 163.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002336/1.307, allocations: 378.8 kB / 0.7691 GB, free: 163.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-05/1.307, allocations: 12 kB / 0.7691 GB, free: 163.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003207/1.307, allocations: 20.92 kB / 0.7691 GB, free: 163.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.308e-05/1.307, allocations: 27.91 kB / 0.7691 GB, free: 163.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/1.307, allocations: 19.98 kB / 0.7692 GB, free: 163.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005179/1.308, allocations: 0.5079 MB / 0.7697 GB, free: 162.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/1.308, allocations: 0 / 0.7697 GB, free: 162.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004432/1.312, allocations: 1.51 MB / 0.7711 GB, free: 161.4 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.008403/1.321, allocations: 2.865 MB / 0.7739 GB, free: 158.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006772/1.322, allocations: 413.1 kB / 0.7743 GB, free: 158.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.322, allocations: 4 kB / 0.7743 GB, free: 158.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002898/1.322, allocations: 281.5 kB / 0.7746 GB, free: 158 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/1.323, allocations: 133.6 kB / 0.7747 GB, free: 157.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.377/2.7, allocations: 0.6049 GB / 1.38 GB, free: 122 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/2.701, allocations: 0.9856 MB / 1.381 GB, free: 121 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008041/2.701, allocations: 0.5272 MB / 1.381 GB, free: 120.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003645/2.702, allocations: 339.3 kB / 1.381 GB, free: 120.1 MB / 0.545 GB Notification: Performance of SimCode: time 3.457e-06/2.702, allocations: 0 / 1.381 GB, free: 120.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08868/2.791, allocations: 62.97 MB / 1.443 GB, free: 57.37 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/2.791, allocations: 218.1 kB / 1.443 GB, free: 57.12 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.582/8.372, allocations: 0 / 1.443 GB, free: 57.12 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches