Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_3_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.001228/0.001228, allocations: 108.9 kB / 16.41 MB, free: 6.5 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.001237/0.001237, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.382/1.382, 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.2111/0.2111, allocations: 43.52 MB / 314.1 MB, free: 460 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.001987/0.001987, allocations: 67.89 kB / 441.4 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1134, allocations: 57.78 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.0179/0.1314, allocations: 13.82 MB / 0.5009 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03149/0.1629, allocations: 26.58 MB / 0.5269 GB, free: 3.723 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001999/0.1631, allocations: 4 kB / 0.5269 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00037/0.1636, allocations: 107.3 kB / 0.527 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2408/0.4044, allocations: 8.491 MB / 0.5353 GB, free: 4.953 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008544/0.4053, allocations: 349.3 kB / 0.5356 GB, free: 4.941 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004464/0.4098, allocations: 2.004 MB / 0.5376 GB, free: 4.469 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.89e-05/0.4098, allocations: 24.45 kB / 0.5376 GB, free: 4.465 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000468/0.4103, allocations: 267.7 kB / 0.5379 GB, free: 4.461 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006697/0.417, allocations: 3.258 MB / 0.541 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.287e-05/0.4171, allocations: 14.66 kB / 0.5411 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02277/0.4399, allocations: 10.8 MB / 0.5516 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.44, allocations: 56.62 kB / 0.5517 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002807/0.4403, allocations: 135.4 kB / 0.5518 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01437/0.4547, allocations: 6.319 MB / 0.558 GB, free: 1.617 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4547, allocations: 0 / 0.558 GB, free: 1.617 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4547, allocations: 0 / 0.558 GB, free: 1.617 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.4547, allocations: 3.031 kB / 0.558 GB, free: 1.617 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.004374/0.4591, allocations: 1.598 MB / 0.5595 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.4592, allocations: 14.8 kB / 0.5595 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.953e-05/0.4592, allocations: 77.5 kB / 0.5596 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001628/0.4609, allocations: 224.2 kB / 0.5598 GB, free: 456 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.4611, allocations: 277 kB / 0.5601 GB, free: 208 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.4612, allocations: 21.81 kB / 0.5601 GB, free: 208 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.4612, allocations: 34.44 kB / 0.5601 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002239/0.4635, allocations: 0.8253 MB / 0.561 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.4635, allocations: 0 / 0.561 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.114e-05/0.4635, allocations: 12.38 kB / 0.561 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.4636, allocations: 13 kB / 0.561 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002406/0.466, allocations: 0.9362 MB / 0.5619 GB, free: 15.24 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.003303/0.4693, allocations: 2.574 MB / 0.5644 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/0.4706, allocations: 372.8 kB / 0.5648 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.4708, allocations: 81.97 kB / 0.5648 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9277/1.399, allocations: 227.4 MB / 0.7869 GB, free: 224.8 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001372/1.4, allocations: 477.6 kB / 0.7874 GB, free: 224.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=32): time 3.006e-06/1.4, allocations: 0 / 0.7874 GB, free: 224.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32): time 0.002777/1.403, allocations: 0.7762 MB / 0.7881 GB, free: 224.3 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.799e-05/1.403, allocations: 377.1 kB / 0.7885 GB, free: 223.8 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/1.403, allocations: 190.2 kB / 0.7887 GB, free: 223.7 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/1.403, allocations: 36.2 kB / 0.7887 GB, free: 223.7 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.943e-05/1.403, allocations: 191 kB / 0.7889 GB, free: 223.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.579e-05/1.403, allocations: 124.1 kB / 0.789 GB, free: 223.4 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/1.403, allocations: 127 kB / 0.7891 GB, free: 223.4 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 5.475e-05/1.403, allocations: 333.6 kB / 0.7894 GB, free: 223.1 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/1.404, allocations: 85.7 kB / 0.7895 GB, free: 223.1 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002908/1.404, allocations: 344.5 kB / 0.7898 GB, free: 222.7 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005352/1.404, allocations: 476.4 kB / 0.7903 GB, free: 222.3 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.361e-06/1.404, allocations: 3.719 kB / 0.7903 GB, free: 222.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007934/1.405, allocations: 463.2 kB / 0.7907 GB, free: 222.2 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/1.405, allocations: 14.34 kB / 0.7908 GB, free: 222.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.405, allocations: 7.312 kB / 0.7908 GB, free: 222.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/1.405, allocations: 14.31 kB / 0.7908 GB, free: 222.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/1.406, allocations: 148.5 kB / 0.7909 GB, free: 222 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/1.406, allocations: 19.92 kB / 0.7909 GB, free: 222 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002896/1.406, allocations: 50.91 kB / 0.791 GB, free: 222 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.768e-05/1.406, allocations: 46.47 kB / 0.791 GB, free: 221.9 MB / 0.6075 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.0001437/1.406, allocations: 160.9 kB / 0.7912 GB, free: 221.8 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.635e-05/1.406, allocations: 34.48 kB / 0.7912 GB, free: 221.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001995/1.408, allocations: 2.616 MB / 0.7938 GB, free: 219.7 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/1.408, allocations: 15.98 kB / 0.7938 GB, free: 219.7 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.408, allocations: 4 kB / 0.7938 GB, free: 219.7 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/1.408, allocations: 9.859 kB / 0.7938 GB, free: 219.6 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006877/1.409, allocations: 0.9369 MB / 0.7947 GB, free: 218.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/1.409, allocations: 4 kB / 0.7947 GB, free: 218.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002909/1.409, allocations: 71.88 kB / 0.7948 GB, free: 218.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/1.409, allocations: 11.94 kB / 0.7948 GB, free: 218.6 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/1.409, allocations: 16.17 kB / 0.7948 GB, free: 218.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/1.409, allocations: 7.938 kB / 0.7948 GB, free: 218.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.409, allocations: 4 kB / 0.7948 GB, free: 218.6 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007493/1.41, allocations: 0.6934 MB / 0.7955 GB, free: 217.9 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.879e-05/1.41, allocations: 139.5 kB / 0.7956 GB, free: 217.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/1.41, allocations: 104.3 kB / 0.7957 GB, free: 217.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/1.411, allocations: 15.98 kB / 0.7958 GB, free: 217.6 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/1.411, allocations: 31.91 kB / 0.7958 GB, free: 217.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/1.411, allocations: 23.92 kB / 0.7958 GB, free: 217.6 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004473/1.411, allocations: 0.4962 MB / 0.7963 GB, free: 217.1 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/1.411, allocations: 4 kB / 0.7963 GB, free: 217.1 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004899/1.416, allocations: 1.526 MB / 0.7978 GB, free: 215.6 MB / 0.6075 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.009347/1.426, allocations: 2.887 MB / 0.8006 GB, free: 212.8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008447/1.426, allocations: 424.3 kB / 0.801 GB, free: 212.4 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/1.426, allocations: 4 kB / 0.801 GB, free: 212.4 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002781/1.427, allocations: 277.5 kB / 0.8013 GB, free: 212.1 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008969/1.428, allocations: 133 kB / 0.8014 GB, free: 212 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.375/2.803, allocations: 0.605 GB / 1.406 GB, free: 234.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/2.803, allocations: 0.9855 MB / 1.407 GB, free: 233.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001105/2.804, allocations: 0.5192 MB / 1.408 GB, free: 233.6 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004082/2.805, allocations: 338.1 kB / 1.408 GB, free: 233.6 MB / 0.6075 GB Notification: Performance of SimCode: time 1.112e-06/2.805, allocations: 0 / 1.408 GB, free: 233.6 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09543/2.9, allocations: 63.33 MB / 1.47 GB, free: 183.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/15.94, allocations: 7.875 kB / 1.47 GB, free: 183.9 MB / 0.6075 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_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_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches