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.00186/0.00186, allocations: 109.6 kB / 16.4 MB, free: 6.332 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.001882/0.001882, allocations: 186.2 kB / 17.33 MB, free: 5.816 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.413/1.413, allocations: 205.1 MB / 223.2 MB, free: 12.29 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.2308/0.2308, allocations: 43.53 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.00217/0.00217, allocations: 67.89 kB / 441.4 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1222, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.0224/0.1446, allocations: 13.82 MB / 0.5009 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03616/0.1809, allocations: 26.58 MB / 0.5269 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003027/0.1812, allocations: 4 kB / 0.5269 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004233/0.1817, allocations: 99.38 kB / 0.527 GB, free: 3.609 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2858/0.4675, allocations: 8.497 MB / 0.5353 GB, free: 4.898 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.4686, allocations: 353.1 kB / 0.5356 GB, free: 4.887 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005274/0.4739, allocations: 2.001 MB / 0.5376 GB, free: 4.418 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.614e-05/0.474, allocations: 25.55 kB / 0.5376 GB, free: 4.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007207/0.4747, allocations: 266.4 kB / 0.5379 GB, free: 4.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008377/0.4831, allocations: 3.261 MB / 0.541 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.922e-05/0.4833, allocations: 10.91 kB / 0.5411 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02882/0.5121, allocations: 10.8 MB / 0.5516 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.5123, allocations: 55.14 kB / 0.5517 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003879/0.5127, allocations: 137.1 kB / 0.5518 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01952/0.5322, allocations: 6.32 MB / 0.558 GB, free: 1.574 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.5323, allocations: 0 / 0.558 GB, free: 1.574 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.5323, allocations: 3.469 kB / 0.558 GB, free: 1.574 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.5323, allocations: 4 kB / 0.558 GB, free: 1.57 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.008232/0.5406, allocations: 1.595 MB / 0.5595 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.5406, allocations: 25.41 kB / 0.5595 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001079/0.5408, allocations: 63.33 kB / 0.5596 GB, free: 496 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00285/0.5436, allocations: 225.3 kB / 0.5598 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003801/0.544, allocations: 276 kB / 0.5601 GB, free: 164 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.21e-05/0.5441, allocations: 24.22 kB / 0.5601 GB, free: 164 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.013e-05/0.5442, allocations: 33.25 kB / 0.5601 GB, free: 160 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00249/0.5467, allocations: 0.8236 MB / 0.5609 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.5467, allocations: 5.203 kB / 0.5609 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.78e-05/0.5467, allocations: 12.28 kB / 0.561 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.5468, allocations: 7.094 kB / 0.561 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002621/0.5494, allocations: 0.9343 MB / 0.5619 GB, free: 15.21 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.003923/0.5533, allocations: 2.575 MB / 0.5644 GB, free: 12.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.5548, allocations: 384.1 kB / 0.5648 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.555, allocations: 81.44 kB / 0.5648 GB, free: 12.63 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8779/1.433, allocations: 227.4 MB / 0.7869 GB, free: 224.9 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001371/1.434, allocations: 472.1 kB / 0.7874 GB, free: 224.6 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=32): time 3.206e-06/1.434, allocations: 6 kB / 0.7874 GB, free: 224.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32): time 0.002871/1.437, allocations: 0.7814 MB / 0.7881 GB, free: 224.3 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.716e-05/1.437, allocations: 367.6 kB / 0.7885 GB, free: 223.9 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/1.437, allocations: 195.3 kB / 0.7887 GB, free: 223.8 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/1.438, allocations: 32.58 kB / 0.7887 GB, free: 223.7 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.507e-05/1.438, allocations: 198.3 kB / 0.7889 GB, free: 223.6 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.37e-05/1.438, allocations: 123.8 kB / 0.789 GB, free: 223.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/1.438, allocations: 125.1 kB / 0.7891 GB, free: 223.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 5.974e-05/1.438, allocations: 334.7 kB / 0.7894 GB, free: 223.2 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/1.438, allocations: 78.28 kB / 0.7895 GB, free: 223.1 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002932/1.438, allocations: 345.9 kB / 0.7898 GB, free: 222.8 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005661/1.439, allocations: 485 kB / 0.7903 GB, free: 222.4 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/1.439, allocations: 0 / 0.7903 GB, free: 222.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008449/1.44, allocations: 466.3 kB / 0.7907 GB, free: 222.2 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/1.44, allocations: 8 kB / 0.7908 GB, free: 222.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/1.44, allocations: 11.94 kB / 0.7908 GB, free: 222.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/1.44, allocations: 12.75 kB / 0.7908 GB, free: 222.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004102/1.44, allocations: 145.5 kB / 0.7909 GB, free: 222 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.912e-05/1.44, allocations: 23.92 kB / 0.7909 GB, free: 222 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/1.441, allocations: 52.42 kB / 0.791 GB, free: 222 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.102e-05/1.441, allocations: 44.48 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.0001501/1.441, allocations: 161.8 kB / 0.7912 GB, free: 221.8 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.126e-05/1.441, allocations: 33.05 kB / 0.7912 GB, free: 221.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002142/1.443, allocations: 2.612 MB / 0.7938 GB, free: 219.6 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.027e-05/1.443, allocations: 15.98 kB / 0.7938 GB, free: 219.6 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/1.443, allocations: 5.375 kB / 0.7938 GB, free: 219.6 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.128e-06/1.443, allocations: 7.984 kB / 0.7938 GB, free: 219.6 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009249/1.444, allocations: 0.9393 MB / 0.7947 GB, free: 218.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.415e-06/1.444, allocations: 4 kB / 0.7947 GB, free: 218.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000322/1.444, allocations: 75.8 kB / 0.7948 GB, free: 218.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/1.444, allocations: 7.938 kB / 0.7948 GB, free: 218.6 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/1.445, allocations: 16 kB / 0.7948 GB, free: 218.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/1.445, allocations: 8.047 kB / 0.7948 GB, free: 218.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/1.445, allocations: 8 kB / 0.7948 GB, free: 218.6 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008901/1.445, allocations: 0.6877 MB / 0.7955 GB, free: 217.8 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/1.446, allocations: 142.7 kB / 0.7956 GB, free: 217.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/1.446, allocations: 109.1 kB / 0.7957 GB, free: 217.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003116/1.446, allocations: 19.17 kB / 0.7958 GB, free: 217.6 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.616e-05/1.446, allocations: 27.91 kB / 0.7958 GB, free: 217.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/1.446, allocations: 23.92 kB / 0.7958 GB, free: 217.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005028/1.447, allocations: 0.5021 MB / 0.7963 GB, free: 217 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/1.447, allocations: 0 / 0.7963 GB, free: 217 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005131/1.452, allocations: 1.521 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.01097/1.463, allocations: 2.878 MB / 0.8006 GB, free: 212.8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009615/1.464, allocations: 430.7 kB / 0.801 GB, free: 212.4 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/1.464, allocations: 1.75 kB / 0.801 GB, free: 212.4 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000372/1.464, allocations: 273.2 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.001001/1.465, allocations: 139.5 kB / 0.8014 GB, free: 212 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.491/2.956, allocations: 0.605 GB / 1.406 GB, free: 234.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006828/2.957, allocations: 0.9836 MB / 1.407 GB, free: 233.5 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00134/2.958, allocations: 0.5236 MB / 1.408 GB, free: 233.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005186/2.958, allocations: 336.5 kB / 1.408 GB, free: 233.5 MB / 0.6075 GB Notification: Performance of SimCode: time 2.364e-06/2.958, allocations: 0 / 1.408 GB, free: 233.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1065/3.065, allocations: 63.32 MB / 1.47 GB, free: 183.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/16.24, allocations: 7.922 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 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.mat","/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