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.001119/0.001119, allocations: 104.8 kB / 16.4 MB, free: 6.406 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.001133/0.001133, allocations: 190.9 kB / 17.34 MB, free: 5.691 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.288/1.288, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.1994/0.1994, allocations: 43.53 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.001369/0.001369, allocations: 69.47 kB / 441.3 MB, free: 6.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.109, allocations: 57.79 MB / 499.1 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01646/0.1255, allocations: 13.84 MB / 0.501 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02811/0.1537, allocations: 26.57 MB / 0.5269 GB, free: 3.676 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001908/0.1539, allocations: 0 / 0.5269 GB, free: 3.676 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003785/0.1543, allocations: 103.3 kB / 0.527 GB, free: 3.574 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2879/0.4422, allocations: 8.499 MB / 0.5353 GB, free: 4.883 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009777/0.4432, allocations: 349.2 kB / 0.5356 GB, free: 4.871 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004449/0.4477, allocations: 2.005 MB / 0.5376 GB, free: 4.398 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.022e-05/0.4478, allocations: 23.59 kB / 0.5376 GB, free: 4.395 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005624/0.4483, allocations: 263.2 kB / 0.5379 GB, free: 4.395 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006783/0.4551, allocations: 3.261 MB / 0.5411 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.653e-05/0.4552, allocations: 11.28 kB / 0.5411 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02492/0.4801, allocations: 10.81 MB / 0.5516 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.4803, allocations: 49.06 kB / 0.5517 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004434/0.4808, allocations: 143.5 kB / 0.5518 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01984/0.5006, allocations: 6.32 MB / 0.558 GB, free: 1.535 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.5007, allocations: 0 / 0.558 GB, free: 1.535 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.5007, allocations: 0 / 0.558 GB, free: 1.535 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.5007, allocations: 0 / 0.558 GB, free: 1.535 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.004861/0.5056, allocations: 1.6 MB / 0.5595 GB, free: 0.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.5056, allocations: 12.92 kB / 0.5595 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.467e-05/0.5057, allocations: 70.47 kB / 0.5596 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/0.5074, allocations: 230.4 kB / 0.5598 GB, free: 376 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.5077, allocations: 275.8 kB / 0.5601 GB, free: 128 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.888e-05/0.5078, allocations: 28.66 kB / 0.5601 GB, free: 128 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.576e-05/0.5078, allocations: 33.34 kB / 0.5602 GB, free: 124 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002287/0.5101, allocations: 0.8118 MB / 0.561 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.5102, allocations: 4.656 kB / 0.561 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.491e-05/0.5102, allocations: 16.03 kB / 0.561 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.5102, allocations: 16.56 kB / 0.561 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003178/0.5134, allocations: 0.9398 MB / 0.5619 GB, free: 15.18 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.004721/0.5182, allocations: 2.571 MB / 0.5644 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/0.5201, allocations: 376.9 kB / 0.5648 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.5203, allocations: 73.31 kB / 0.5648 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8592/1.38, allocations: 227.4 MB / 0.7869 GB, free: 224.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001382/1.381, allocations: 476.8 kB / 0.7874 GB, free: 224.3 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=32): time 2.435e-06/1.381, allocations: 0 / 0.7874 GB, free: 224.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32): time 0.002831/1.384, allocations: 0.7783 MB / 0.7881 GB, free: 224 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.029e-05/1.384, allocations: 380.4 kB / 0.7885 GB, free: 223.6 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/1.384, allocations: 189.4 kB / 0.7887 GB, free: 223.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/1.384, allocations: 33.45 kB / 0.7887 GB, free: 223.4 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.798e-05/1.384, allocations: 192.5 kB / 0.7889 GB, free: 223.3 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.643e-05/1.384, allocations: 114.1 kB / 0.789 GB, free: 223.2 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/1.384, allocations: 131.2 kB / 0.7891 GB, free: 223.2 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 6.011e-05/1.384, allocations: 337 kB / 0.7894 GB, free: 222.8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/1.385, allocations: 79.78 kB / 0.7895 GB, free: 222.8 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/1.385, allocations: 344.9 kB / 0.7899 GB, free: 222.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005394/1.385, allocations: 480.6 kB / 0.7903 GB, free: 222.1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/1.385, allocations: 7.875 kB / 0.7903 GB, free: 222.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000796/1.386, allocations: 461.8 kB / 0.7908 GB, free: 221.9 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/1.386, allocations: 15.64 kB / 0.7908 GB, free: 221.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/1.386, allocations: 12.19 kB / 0.7908 GB, free: 221.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/1.386, allocations: 10.97 kB / 0.7908 GB, free: 221.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004005/1.387, allocations: 139.5 kB / 0.7909 GB, free: 221.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/1.387, allocations: 19.92 kB / 0.7909 GB, free: 221.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/1.387, allocations: 54.27 kB / 0.791 GB, free: 221.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.515e-05/1.387, allocations: 45.09 kB / 0.791 GB, free: 221.7 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.000132/1.387, allocations: 162.8 kB / 0.7912 GB, free: 221.6 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.413e-05/1.387, allocations: 34.98 kB / 0.7912 GB, free: 221.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001895/1.389, allocations: 2.613 MB / 0.7938 GB, free: 219.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/1.389, allocations: 19.97 kB / 0.7938 GB, free: 219.4 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.389, allocations: 5.594 kB / 0.7938 GB, free: 219.4 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/1.389, allocations: 4 kB / 0.7938 GB, free: 219.4 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006054/1.39, allocations: 0.9324 MB / 0.7947 GB, free: 218.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.39, allocations: 4.375 kB / 0.7947 GB, free: 218.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002918/1.39, allocations: 82.17 kB / 0.7948 GB, free: 218.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/1.39, allocations: 7.938 kB / 0.7948 GB, free: 218.4 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/1.39, allocations: 11.98 kB / 0.7948 GB, free: 218.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/1.39, allocations: 11.94 kB / 0.7948 GB, free: 218.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.39, allocations: 0 / 0.7948 GB, free: 218.4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008004/1.391, allocations: 0.7056 MB / 0.7955 GB, free: 217.6 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-05/1.391, allocations: 134.7 kB / 0.7957 GB, free: 217.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/1.391, allocations: 105.1 kB / 0.7958 GB, free: 217.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002863/1.392, allocations: 15.98 kB / 0.7958 GB, free: 217.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/1.392, allocations: 31.89 kB / 0.7958 GB, free: 217.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/1.392, allocations: 27.56 kB / 0.7958 GB, free: 217.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004496/1.392, allocations: 0.504 MB / 0.7963 GB, free: 216.8 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/1.392, allocations: 1.125 kB / 0.7963 GB, free: 216.8 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00458/1.397, allocations: 1.522 MB / 0.7978 GB, free: 215.4 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.006674/1.403, allocations: 2.875 MB / 0.8006 GB, free: 212.6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006594/1.404, allocations: 424.1 kB / 0.801 GB, free: 212.2 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.404, allocations: 4.312 kB / 0.801 GB, free: 212.2 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002677/1.404, allocations: 276.7 kB / 0.8013 GB, free: 211.9 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007669/1.405, allocations: 130.6 kB / 0.8014 GB, free: 211.8 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.446/2.851, allocations: 0.605 GB / 1.406 GB, free: 234.1 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000686/2.851, allocations: 0.989 MB / 1.407 GB, free: 233.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001221/2.853, allocations: 0.5229 MB / 1.408 GB, free: 233.4 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004252/2.853, allocations: 338 kB / 1.408 GB, free: 233.4 MB / 0.6075 GB Notification: Performance of SimCode: time 1.022e-06/2.853, allocations: 0 / 1.408 GB, free: 233.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1018/2.955, allocations: 63.34 MB / 1.47 GB, free: 183.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/15.29, allocations: 3.938 kB / 1.47 GB, free: 183.8 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