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.001367/0.001367, allocations: 105.4 kB / 16.41 MB, free: 6.469 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.001386/0.001386, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.305/1.305, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.1965/0.1965, allocations: 43.52 MB / 314.1 MB, free: 448 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.00156/0.00156, allocations: 73.45 kB / 441.4 MB, free: 6.094 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1048, allocations: 57.79 MB / 499.1 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01627/0.1211, allocations: 13.83 MB / 0.501 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02853/0.1497, allocations: 26.58 MB / 0.5269 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001722/0.1499, allocations: 0 / 0.5269 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.1503, allocations: 99.38 kB / 0.527 GB, free: 3.574 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2603/0.4106, allocations: 8.499 MB / 0.5353 GB, free: 4.809 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.412, allocations: 353.4 kB / 0.5356 GB, free: 4.793 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00646/0.4184, allocations: 2.001 MB / 0.5376 GB, free: 4.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.4186, allocations: 23.88 kB / 0.5376 GB, free: 4.316 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009341/0.4195, allocations: 261 kB / 0.5379 GB, free: 4.316 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009832/0.4294, allocations: 3.257 MB / 0.541 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.4296, allocations: 9.469 kB / 0.5411 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02618/0.4557, allocations: 11.6 MB / 0.5524 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.4559, allocations: 55.59 kB / 0.5524 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004444/0.4564, allocations: 138.9 kB / 0.5526 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02165/0.4781, allocations: 6.746 MB / 0.5592 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.4781, allocations: 0 / 0.5592 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4781, allocations: 0 / 0.5592 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.838e-05/0.4782, allocations: 0 / 0.5592 GB, free: 0.9883 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.0065/0.4847, allocations: 1.669 MB / 0.5608 GB, free: 15.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.4847, allocations: 13.92 kB / 0.5608 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001022/0.4849, allocations: 69.62 kB / 0.5609 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001647/0.4865, allocations: 194.5 kB / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005737/0.4871, allocations: 260.1 kB / 0.5613 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.686e-05/0.4872, allocations: 25.56 kB / 0.5613 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/0.4872, allocations: 34.33 kB / 0.5614 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002365/0.4896, allocations: 0.7615 MB / 0.5621 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.4896, allocations: 1.469 kB / 0.5621 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.288e-05/0.4897, allocations: 15.75 kB / 0.5621 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.4897, allocations: 8.156 kB / 0.5621 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002112/0.4918, allocations: 0.8231 MB / 0.5629 GB, free: 14.5 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.003432/0.4953, allocations: 2.709 MB / 0.5656 GB, free: 12.01 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.4965, allocations: 344.7 kB / 0.5659 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.4966, allocations: 71.33 kB / 0.566 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.385/0.8817, allocations: 142.9 MB / 0.7055 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001302/0.883, allocations: 451.3 kB / 0.706 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.294e-06/0.883, allocations: 0 / 0.706 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.003845/0.8869, allocations: 1.136 MB / 0.7071 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001555/0.887, allocations: 376.1 kB / 0.7074 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.8872, allocations: 191.8 kB / 0.7076 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.356e-05/0.8873, allocations: 29.7 kB / 0.7076 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.8874, allocations: 196.1 kB / 0.7078 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.8875, allocations: 116.4 kB / 0.7079 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.8877, allocations: 126.2 kB / 0.7081 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.8878, allocations: 334.8 kB / 0.7084 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.8879, allocations: 77.06 kB / 0.7084 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003335/0.8883, allocations: 348.2 kB / 0.7088 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005926/0.8889, allocations: 480.3 kB / 0.7092 GB, free: 488 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.8889, allocations: 0 / 0.7092 GB, free: 488 kB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008688/0.8898, allocations: 484.2 kB / 0.7097 GB, free: 60 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.8898, allocations: 8 kB / 0.7097 GB, free: 52 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.8898, allocations: 8 kB / 0.7097 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.8898, allocations: 12 kB / 0.7097 GB, free: 32 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/0.8914, allocations: 217.4 kB / 0.7099 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006023/0.892, allocations: 1.187 MB / 0.7111 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003144/0.8924, allocations: 23.89 kB / 0.7111 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.602e-05/0.8924, allocations: 43.98 kB / 0.7112 GB, free: 14.54 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.0001942/0.8926, allocations: 168.9 kB / 0.7113 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.8927, allocations: 27.86 kB / 0.7113 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002769/0.8955, allocations: 2.839 MB / 0.7141 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.321e-05/0.8955, allocations: 19.97 kB / 0.7141 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.8956, allocations: 4 kB / 0.7141 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.8956, allocations: 11.31 kB / 0.7142 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009678/0.8965, allocations: 0.979 MB / 0.7151 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.8966, allocations: 0 / 0.7151 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005327/0.8971, allocations: 101.1 kB / 0.7152 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001863/0.8973, allocations: 157.4 kB / 0.7154 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.8973, allocations: 21.8 kB / 0.7154 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000399/0.8977, allocations: 0.6407 MB / 0.716 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.8978, allocations: 4 kB / 0.716 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.8989, allocations: 0.9856 MB / 0.717 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.8991, allocations: 136.6 kB / 0.7171 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.8992, allocations: 91.14 kB / 0.7172 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003128/0.8995, allocations: 19.98 kB / 0.7172 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.8996, allocations: 27.91 kB / 0.7172 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.8996, allocations: 16 kB / 0.7172 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005272/0.9001, allocations: 477.7 kB / 0.7177 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9001, allocations: 0 / 0.7177 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004678/0.9048, allocations: 1.625 MB / 0.7193 GB, free: 6.109 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.01028/0.9151, allocations: 3.136 MB / 0.7224 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001767/0.9169, allocations: 0.5437 MB / 0.7229 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.917, allocations: 7.984 kB / 0.7229 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005351/0.9175, allocations: 355.6 kB / 0.7232 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009607/0.9185, allocations: 143.8 kB / 0.7234 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8434/1.762, allocations: 352.4 MB / 1.068 GB, free: 167.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/1.762, allocations: 0.982 MB / 1.068 GB, free: 166.3 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005851/1.763, allocations: 0.5041 MB / 1.069 GB, free: 165.8 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002862/1.763, allocations: 327.3 kB / 1.069 GB, free: 165.5 MB / 0.6075 GB Notification: Performance of SimCode: time 1.062e-06/1.763, allocations: 0 / 1.069 GB, free: 165.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09162/1.855, allocations: 66.25 MB / 1.134 GB, free: 99.23 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.99/17.85, allocations: 3.938 kB / 1.134 GB, free: 99.23 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