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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,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_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,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_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") [: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 3.2.3+maint.om/package.mo): time 0.0009311/0.0009312, allocations: 180 kB / 7.799 MB, free: 2.125 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.027/1.027, allocations: 205.2 MB / 213.4 MB, free: 13.88 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007854/0.0007854, allocations: 89.47 kB / 261.4 MB, free: 13.49 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1564/0.1564, allocations: 43.49 MB / 352.8 MB, free: 1.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.031e-06/6.051e-06, allocations: 0 / 417.7 MB, free: 40.53 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2258, allocations: 58.83 MB / 476.6 MB, free: 5.305 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.036/4.262, allocations: 2.749 GB / 3.215 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001959/4.262, allocations: 83.66 kB / 3.215 GB, free: 115 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.6217/4.884, allocations: 207.2 MB / 3.417 GB, free: 89.33 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.426e-05/4.884, allocations: 3.438 kB / 3.417 GB, free: 89.33 MB / 0.4948 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.006724/4.891, allocations: 1.772 MB / 3.419 GB, free: 88.32 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/4.891, allocations: 8.25 kB / 3.419 GB, free: 88.32 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/4.892, allocations: 196.9 kB / 3.419 GB, free: 88.31 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/4.893, allocations: 268.2 kB / 3.419 GB, free: 88.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/4.893, allocations: 14.44 kB / 3.419 GB, free: 88.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/4.893, allocations: 17.25 kB / 3.419 GB, free: 88.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005938/4.893, allocations: 476.3 kB / 3.42 GB, free: 88.09 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004013/4.894, allocations: 381.9 kB / 3.42 GB, free: 87.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/4.894, allocations: 0 / 3.42 GB, free: 87.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.516e-05/4.894, allocations: 3.719 kB / 3.42 GB, free: 87.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/4.894, allocations: 7.469 kB / 3.42 GB, free: 87.93 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7572/5.651, allocations: 262.5 MB / 3.676 GB, free: 92.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/5.651, allocations: 80.61 kB / 3.677 GB, free: 92.02 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.637e-05/5.651, allocations: 24.92 kB / 3.677 GB, free: 91.99 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09733/5.749, allocations: 46.29 MB / 3.722 GB, free: 49.26 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/5.749, allocations: 117.3 kB / 3.722 GB, free: 49.14 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/5.749, allocations: 0 / 3.722 GB, free: 49.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.00186/5.751, allocations: 472.7 kB / 3.722 GB, free: 48.81 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/5.751, allocations: 82.92 kB / 3.722 GB, free: 48.71 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/5.751, allocations: 217.5 kB / 3.723 GB, free: 48.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/5.751, allocations: 25.7 kB / 3.723 GB, free: 48.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.871e-05/5.751, allocations: 248 kB / 3.723 GB, free: 48.28 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/5.751, allocations: 51.91 kB / 3.723 GB, free: 48.24 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.729e-05/5.751, allocations: 0 / 3.723 GB, free: 48.24 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.434e-05/5.751, allocations: 328.7 kB / 3.723 GB, free: 47.91 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.919e-05/5.751, allocations: 62.86 kB / 3.723 GB, free: 47.86 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/5.751, allocations: 326.3 kB / 3.724 GB, free: 47.43 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005088/5.752, allocations: 119.8 kB / 3.724 GB, free: 47.34 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/5.752, allocations: 4.891 kB / 3.724 GB, free: 47.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002349/5.754, allocations: 0.7855 MB / 3.725 GB, free: 46.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/5.754, allocations: 8 kB / 3.725 GB, free: 46.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/5.754, allocations: 11.61 kB / 3.725 GB, free: 46.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/5.754, allocations: 12 kB / 3.725 GB, free: 46.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005207/5.755, allocations: 143.8 kB / 3.725 GB, free: 46.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004603/5.755, allocations: 1.197 MB / 3.726 GB, free: 45.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000349/5.756, allocations: 17.69 kB / 3.726 GB, free: 45.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-05/5.756, allocations: 38.91 kB / 3.726 GB, free: 45.36 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: $DER.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real 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 () * 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001559/5.756, allocations: 136.8 kB / 3.726 GB, free: 45.25 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007732/5.757, allocations: 259.5 kB / 3.726 GB, free: 45.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008862/5.758, allocations: 0.8225 MB / 3.727 GB, free: 44.36 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/5.758, allocations: 3.891 kB / 3.727 GB, free: 44.36 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/5.758, allocations: 4 kB / 3.727 GB, free: 44.36 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/5.758, allocations: 3.906 kB / 3.727 GB, free: 44.36 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003157/5.758, allocations: 404.3 kB / 3.727 GB, free: 43.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/5.758, allocations: 4 kB / 3.728 GB, free: 43.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/5.758, allocations: 28.77 kB / 3.728 GB, free: 43.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001992/5.758, allocations: 163.1 kB / 3.728 GB, free: 43.82 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/5.758, allocations: 4 kB / 3.728 GB, free: 43.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004971/5.759, allocations: 1.368 MB / 3.729 GB, free: 42.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/5.759, allocations: 0 / 3.729 GB, free: 42.44 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001059/5.76, allocations: 0.7337 MB / 3.73 GB, free: 41.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/5.76, allocations: 162.4 kB / 3.73 GB, free: 41.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.385e-05/5.76, allocations: 4.188 kB / 3.73 GB, free: 41.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/5.76, allocations: 15.11 kB / 3.73 GB, free: 41.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.734e-05/5.76, allocations: 5.031 kB / 3.73 GB, free: 41.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/5.76, allocations: 11.94 kB / 3.73 GB, free: 41.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001508/5.761, allocations: 216.1 kB / 3.73 GB, free: 41.43 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005957/5.766, allocations: 1.684 MB / 3.732 GB, free: 40.09 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01062/5.777, allocations: 2.308 MB / 3.734 GB, free: 38.17 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006945/5.778, allocations: 380.1 kB / 3.734 GB, free: 37.83 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/5.778, allocations: 3.844 kB / 3.734 GB, free: 37.83 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002639/5.778, allocations: 265.9 kB / 3.735 GB, free: 37.59 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/5.778, allocations: 33.05 kB / 3.735 GB, free: 37.56 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4049/6.183, allocations: 81.66 MB / 3.814 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/6.184, allocations: 0.8566 MB / 3.815 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of SimCode: time 9.42e-07/6.184, allocations: 0 / 3.815 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.04455/6.228, allocations: 42.76 MB / 3.857 GB, free: 130.5 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches