Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 174.6 kB / 8.517 MB, free: 1.84 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 221.4 MB / 230.3 MB, free: 7.664 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009868/0.0009867, allocations: 89.92 kB / 281.2 MB, free: 5.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1878/0.1878, allocations: 44.15 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.257e-06/9.388e-06, allocations: 4.219 kB / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1238, allocations: 61.91 MB / 0.4941 GB, free: 1.637 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.767/5.89, allocations: 2.756 GB / 3.25 GB, free: 6.344 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002003/5.891, allocations: 79.95 kB / 3.251 GB, free: 6.266 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.6696/6.56, allocations: 209.8 MB / 3.455 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.697e-05/6.56, allocations: 4 kB / 3.455 GB, free: 4.773 MB / 0.5105 GB 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.008721/6.569, allocations: 1.788 MB / 3.457 GB, free: 2.941 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/6.569, allocations: 15.97 kB / 3.457 GB, free: 2.926 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001939/6.571, allocations: 235.4 kB / 3.457 GB, free: 2.695 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004531/6.572, allocations: 278.5 kB / 3.458 GB, free: 2.383 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.079e-05/6.572, allocations: 12 kB / 3.458 GB, free: 2.371 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.168e-05/6.572, allocations: 20 kB / 3.458 GB, free: 2.352 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007036/6.572, allocations: 0.5127 MB / 3.458 GB, free: 1.84 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004738/6.573, allocations: 384.2 kB / 3.459 GB, free: 1.418 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/6.573, allocations: 0 / 3.459 GB, free: 1.418 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/6.573, allocations: 4 kB / 3.459 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/6.573, allocations: 8 kB / 3.459 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.377/7.95, allocations: 373.2 MB / 3.823 GB, free: 108 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.837e-05/7.95, allocations: 34.45 kB / 3.823 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.591e-05/7.95, allocations: 27.7 kB / 3.823 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1017/8.052, allocations: 46.04 MB / 3.868 GB, free: 65.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/8.052, allocations: 120.7 kB / 3.868 GB, free: 65.66 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 2.374e-06/8.052, allocations: 0 / 3.868 GB, free: 65.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.001398/8.053, allocations: 364.3 kB / 3.869 GB, free: 65.47 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/8.053, allocations: 128.5 kB / 3.869 GB, free: 65.32 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/8.054, allocations: 227.5 kB / 3.869 GB, free: 65.16 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/8.054, allocations: 29.42 kB / 3.869 GB, free: 65.12 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.54e-05/8.054, allocations: 255.2 kB / 3.869 GB, free: 64.93 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/8.054, allocations: 40.45 kB / 3.869 GB, free: 64.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.577e-05/8.054, allocations: 0 / 3.869 GB, free: 64.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.143e-05/8.054, allocations: 331 kB / 3.87 GB, free: 64.59 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.683e-05/8.054, allocations: 56.31 kB / 3.87 GB, free: 64.55 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/8.054, allocations: 316 kB / 3.87 GB, free: 64.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004527/8.055, allocations: 115.2 kB / 3.87 GB, free: 64.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/8.055, allocations: 0 / 3.87 GB, free: 64.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002199/8.057, allocations: 0.8312 MB / 3.871 GB, free: 63.63 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/8.057, allocations: 4 kB / 3.871 GB, free: 63.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/8.057, allocations: 8 kB / 3.871 GB, free: 63.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.829e-05/8.057, allocations: 12 kB / 3.871 GB, free: 63.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/8.057, allocations: 121.7 kB / 3.871 GB, free: 63.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/8.057, allocations: 16.59 kB / 3.871 GB, free: 63.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004031/8.058, allocations: 62.88 kB / 3.871 GB, free: 63.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/8.058, allocations: 35.09 kB / 3.871 GB, free: 63.44 MB / 0.5261 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,state_h_is.phase,state.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.427e-05/8.058, allocations: 133.9 kB / 3.871 GB, free: 63.32 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000749/8.059, allocations: 271.8 kB / 3.871 GB, free: 63.19 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003395/8.059, allocations: 249.7 kB / 3.872 GB, free: 63.02 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/8.059, allocations: 0 / 3.872 GB, free: 63.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/8.059, allocations: 3.906 kB / 3.872 GB, free: 63.01 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/8.059, allocations: 4 kB / 3.872 GB, free: 63.01 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005009/8.059, allocations: 0.5928 MB / 3.872 GB, free: 62.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/8.059, allocations: 4 kB / 3.872 GB, free: 62.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.739e-05/8.06, allocations: 11.61 kB / 3.872 GB, free: 62.51 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/8.06, allocations: 4 kB / 3.872 GB, free: 62.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/8.06, allocations: 3.906 kB / 3.872 GB, free: 62.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/8.06, allocations: 7.562 kB / 3.872 GB, free: 62.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/8.06, allocations: 4 kB / 3.872 GB, free: 62.49 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008903/8.06, allocations: 0.535 MB / 3.873 GB, free: 62.05 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/8.061, allocations: 180.2 kB / 3.873 GB, free: 61.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.584e-05/8.061, allocations: 3.688 kB / 3.873 GB, free: 61.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/8.061, allocations: 11.8 kB / 3.873 GB, free: 61.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/8.061, allocations: 15.09 kB / 3.873 GB, free: 61.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/8.061, allocations: 4 kB / 3.873 GB, free: 61.89 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0002151/8.061, allocations: 254.7 kB / 3.873 GB, free: 61.71 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007019/8.068, allocations: 1.57 MB / 3.875 GB, free: 60.54 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01055/8.079, allocations: 2.146 MB / 3.877 GB, free: 58.98 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003985/8.079, allocations: 174.8 kB / 3.877 GB, free: 58.87 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/8.079, allocations: 0 / 3.877 GB, free: 58.87 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.906e-05/8.079, allocations: 20.44 kB / 3.877 GB, free: 58.86 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/8.08, allocations: 31.08 kB / 3.877 GB, free: 58.85 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4103/8.49, allocations: 98.15 MB / 3.973 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004005/8.49, allocations: 0.8343 MB / 3.974 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.333e-06/8.49, allocations: 0 / 3.974 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.05168/8.542, allocations: 39.21 MB / 4.012 GB, free: 130.5 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches