Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_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.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_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.00123/0.001231, allocations: 108.8 kB / 16.41 MB, free: 6.508 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.001764/0.001764, allocations: 191.4 kB / 17.34 MB, free: 5.738 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.403/1.403, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2128/0.2128, allocations: 43.53 MB / 314.1 MB, free: 456 kB / 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.002/0.002, allocations: 69.47 kB / 441.4 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1117, allocations: 57.79 MB / 499.1 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.0175/0.1293, allocations: 13.82 MB / 0.5009 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03387/0.1632, allocations: 26.59 MB / 0.5269 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002962/0.1636, allocations: 0 / 0.5269 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004639/0.1641, allocations: 95.39 kB / 0.527 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2581/0.4222, allocations: 8.505 MB / 0.5353 GB, free: 4.848 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009278/0.4231, allocations: 343.2 kB / 0.5356 GB, free: 4.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004443/0.4275, allocations: 2.003 MB / 0.5376 GB, free: 4.367 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.257e-05/0.4276, allocations: 20.28 kB / 0.5376 GB, free: 4.363 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004483/0.4281, allocations: 258.9 kB / 0.5379 GB, free: 4.359 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006948/0.435, allocations: 3.263 MB / 0.541 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.738e-05/0.4351, allocations: 9.188 kB / 0.5411 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02387/0.459, allocations: 11.6 MB / 0.5524 GB, free: 3.371 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.4592, allocations: 47.33 kB / 0.5524 GB, free: 3.371 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003151/0.4595, allocations: 143.7 kB / 0.5526 GB, free: 3.371 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01867/0.4782, allocations: 6.751 MB / 0.5592 GB, free: 1.035 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.4782, allocations: 0 / 0.5592 GB, free: 1.035 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4782, allocations: 0 / 0.5592 GB, free: 1.035 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.4782, allocations: 0 / 0.5592 GB, free: 1.035 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.005288/0.4835, allocations: 1.665 MB / 0.5608 GB, free: 15.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.4836, allocations: 14.48 kB / 0.5608 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/0.4837, allocations: 68.88 kB / 0.5609 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/0.4853, allocations: 190.4 kB / 0.561 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004255/0.4857, allocations: 270.4 kB / 0.5613 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.4858, allocations: 25.56 kB / 0.5613 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.843e-05/0.4859, allocations: 31.28 kB / 0.5614 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002189/0.4881, allocations: 0.7588 MB / 0.5621 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.4881, allocations: 4 kB / 0.5621 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.356e-05/0.4881, allocations: 13.97 kB / 0.5621 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.4882, allocations: 8.75 kB / 0.5621 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002103/0.4903, allocations: 0.8189 MB / 0.5629 GB, free: 14.55 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.003711/0.494, allocations: 2.705 MB / 0.5656 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.4952, allocations: 345.1 kB / 0.5659 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.4953, allocations: 70.3 kB / 0.566 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4339/0.9292, allocations: 142.9 MB / 0.7055 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001362/0.9306, allocations: 452.4 kB / 0.7059 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 3.617e-06/0.9306, allocations: 0 / 0.7059 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.003998/0.9346, allocations: 1.143 MB / 0.7071 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002068/0.9348, allocations: 378.5 kB / 0.7074 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.9351, allocations: 187.7 kB / 0.7076 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.419e-05/0.9351, allocations: 34.17 kB / 0.7076 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.9353, allocations: 194 kB / 0.7078 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.9354, allocations: 123.9 kB / 0.7079 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.9356, allocations: 122.2 kB / 0.7081 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.9358, allocations: 330.8 kB / 0.7084 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.9359, allocations: 81.06 kB / 0.7084 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/0.9364, allocations: 340.8 kB / 0.7088 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007072/0.9371, allocations: 486.3 kB / 0.7092 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.9371, allocations: 4 kB / 0.7092 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009109/0.938, allocations: 474.6 kB / 0.7097 GB, free: 136 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.938, allocations: 8 kB / 0.7097 GB, free: 128 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.9381, allocations: 12.84 kB / 0.7097 GB, free: 116 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.9381, allocations: 12 kB / 0.7097 GB, free: 104 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/0.9396, allocations: 216.7 kB / 0.7099 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007672/0.9404, allocations: 1.178 MB / 0.7111 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/0.9407, allocations: 27.89 kB / 0.7111 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.892e-05/0.9408, allocations: 39.98 kB / 0.7111 GB, free: 14.61 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.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 (59): * Single equations (assignments): 57 * 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.0002005/0.941, allocations: 180 kB / 0.7113 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.9411, allocations: 31.86 kB / 0.7113 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003391/0.9445, allocations: 2.829 MB / 0.7141 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-05/0.9446, allocations: 27.25 kB / 0.7141 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.9446, allocations: 0 / 0.7141 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/0.9446, allocations: 11.88 kB / 0.7141 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.9459, allocations: 0.977 MB / 0.7151 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.9459, allocations: 8 kB / 0.7151 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005448/0.9464, allocations: 97.39 kB / 0.7152 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002554/0.9467, allocations: 157.4 kB / 0.7154 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/0.9468, allocations: 15.98 kB / 0.7154 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005519/0.9473, allocations: 0.6411 MB / 0.716 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.9473, allocations: 6.156 kB / 0.716 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.9487, allocations: 0.9805 MB / 0.717 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.9489, allocations: 136.6 kB / 0.7171 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/0.949, allocations: 95.14 kB / 0.7172 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003041/0.9493, allocations: 15.98 kB / 0.7172 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.501e-05/0.9494, allocations: 37.22 kB / 0.7172 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.9494, allocations: 12 kB / 0.7172 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006427/0.9501, allocations: 475 kB / 0.7177 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9501, allocations: 0 / 0.7177 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005498/0.9556, allocations: 1.625 MB / 0.7193 GB, free: 6.18 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01164/0.9673, allocations: 3.141 MB / 0.7223 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002233/0.9695, allocations: 0.5398 MB / 0.7229 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/0.9696, allocations: 0.8125 kB / 0.7229 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006279/0.9702, allocations: 365.7 kB / 0.7232 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.9713, allocations: 135.9 kB / 0.7234 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9039/1.875, allocations: 352.4 MB / 1.068 GB, free: 173.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/1.875, allocations: 0.9897 MB / 1.068 GB, free: 172.5 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000597/1.876, allocations: 0.4959 MB / 1.069 GB, free: 172 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003066/1.876, allocations: 323.3 kB / 1.069 GB, free: 171.7 MB / 0.6075 GB Notification: Performance of SimCode: time 1.072e-06/1.876, allocations: 0 / 1.069 GB, free: 171.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09715/1.974, allocations: 66.25 MB / 1.134 GB, free: 105.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.63/18.61, allocations: 15.94 kB / 1.134 GB, free: 105.4 MB / 0.6075 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_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_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches