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/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_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_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.000914/0.000914, allocations: 192.4 kB / 7.802 MB, free: 2.496 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.054/1.054, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008298/0.0008298, allocations: 91.56 kB / 261.4 MB, free: 13.54 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.1559/0.1559, allocations: 43.48 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.929e-06/4.949e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2248, allocations: 58.84 MB / 476.6 MB, free: 5.227 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.032/4.257, allocations: 2.751 GB / 3.216 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002007/4.257, allocations: 75.3 kB / 3.216 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.6091/4.866, allocations: 207.7 MB / 3.419 GB, free: 90.27 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.308e-05/4.866, allocations: 7.844 kB / 3.419 GB, free: 90.26 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.006531/4.873, allocations: 1.774 MB / 3.421 GB, free: 89.25 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/4.873, allocations: 13.44 kB / 3.421 GB, free: 89.25 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001759/4.875, allocations: 241.6 kB / 3.421 GB, free: 89.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/4.875, allocations: 289.6 kB / 3.422 GB, free: 89.01 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.847e-05/4.875, allocations: 14.72 kB / 3.422 GB, free: 89.01 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.503e-05/4.875, allocations: 18.78 kB / 3.422 GB, free: 89.01 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007199/4.876, allocations: 0.5146 MB / 3.422 GB, free: 89.01 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004899/4.876, allocations: 379.5 kB / 3.422 GB, free: 88.87 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/4.876, allocations: 3.938 kB / 3.422 GB, free: 88.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.913e-05/4.876, allocations: 2.875 kB / 3.422 GB, free: 88.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/4.876, allocations: 11.94 kB / 3.422 GB, free: 88.86 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.408/6.285, allocations: 373.2 MB / 3.787 GB, free: 151.1 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.96e-05/6.285, allocations: 38.11 kB / 3.787 GB, free: 151.1 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.813e-05/6.285, allocations: 21.67 kB / 3.787 GB, free: 151.1 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09417/6.379, allocations: 46.05 MB / 3.832 GB, free: 128.7 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002859/6.379, allocations: 116 kB / 3.832 GB, free: 128.7 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=10): time 2.224e-06/6.379, allocations: 0 / 3.832 GB, free: 128.7 MB / 0.5106 GB Notification: Performance of matching and sorting (n=10): time 0.001675/6.381, allocations: 363 kB / 3.832 GB, free: 128.6 MB / 0.5106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/6.381, allocations: 128.5 kB / 3.833 GB, free: 128.5 MB / 0.5106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/6.381, allocations: 226.4 kB / 3.833 GB, free: 128.4 MB / 0.5106 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/6.381, allocations: 25.7 kB / 3.833 GB, free: 128.3 MB / 0.5106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/6.382, allocations: 260.2 kB / 3.833 GB, free: 128.2 MB / 0.5106 GB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/6.382, allocations: 39.48 kB / 3.833 GB, free: 128.1 MB / 0.5106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.551e-05/6.382, allocations: 0 / 3.833 GB, free: 128.1 MB / 0.5106 GB Notification: Performance of setup shared object (initialization): time 0.0001147/6.382, allocations: 331.2 kB / 3.833 GB, free: 127.8 MB / 0.5106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.684e-05/6.382, allocations: 59.14 kB / 3.833 GB, free: 127.8 MB / 0.5106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/6.382, allocations: 313.7 kB / 3.834 GB, free: 127.5 MB / 0.5106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004747/6.383, allocations: 118.6 kB / 3.834 GB, free: 127.5 MB / 0.5106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/6.383, allocations: 3.25 kB / 3.834 GB, free: 127.5 MB / 0.5106 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002159/6.385, allocations: 0.8239 MB / 3.835 GB, free: 127.4 MB / 0.5106 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/6.385, allocations: 3.219 kB / 3.835 GB, free: 127.4 MB / 0.5106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/6.385, allocations: 11.56 kB / 3.835 GB, free: 127.4 MB / 0.5106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/6.385, allocations: 14.95 kB / 3.835 GB, free: 127.4 MB / 0.5106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003403/6.385, allocations: 117.6 kB / 3.835 GB, free: 127.4 MB / 0.5106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/6.385, allocations: 22.83 kB / 3.835 GB, free: 127.4 MB / 0.5106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000382/6.386, allocations: 57.55 kB / 3.835 GB, free: 127.4 MB / 0.5106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/6.386, allocations: 41.52 kB / 3.835 GB, free: 127.4 MB / 0.5106 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 0.0001097/6.386, allocations: 131.7 kB / 3.835 GB, free: 127.3 MB / 0.5106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007114/6.386, allocations: 268.2 kB / 3.835 GB, free: 127.3 MB / 0.5106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003318/6.387, allocations: 252 kB / 3.836 GB, free: 127.2 MB / 0.5106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/6.387, allocations: 3.906 kB / 3.836 GB, free: 127.2 MB / 0.5106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/6.387, allocations: 3.234 kB / 3.836 GB, free: 127.2 MB / 0.5106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/6.387, allocations: 3.312 kB / 3.836 GB, free: 127.2 MB / 0.5106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004803/6.387, allocations: 0.5925 MB / 3.836 GB, free: 126.8 MB / 0.5106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/6.387, allocations: 0 / 3.836 GB, free: 126.8 MB / 0.5106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.641e-05/6.387, allocations: 18.55 kB / 3.836 GB, free: 126.8 MB / 0.5106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/6.387, allocations: 7.406 kB / 3.836 GB, free: 126.8 MB / 0.5106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/6.387, allocations: 0 / 3.836 GB, free: 126.8 MB / 0.5106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/6.387, allocations: 3.469 kB / 3.836 GB, free: 126.8 MB / 0.5106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/6.387, allocations: 7.719 kB / 3.836 GB, free: 126.8 MB / 0.5106 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008621/6.388, allocations: 0.5266 MB / 3.837 GB, free: 126.5 MB / 0.5106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/6.388, allocations: 180.9 kB / 3.837 GB, free: 126.4 MB / 0.5106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.994e-05/6.389, allocations: 0 / 3.837 GB, free: 126.4 MB / 0.5106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/6.389, allocations: 21.08 kB / 3.837 GB, free: 126.4 MB / 0.5106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.765e-05/6.389, allocations: 11.23 kB / 3.837 GB, free: 126.4 MB / 0.5106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.395e-06/6.389, allocations: 3.75 kB / 3.837 GB, free: 126.4 MB / 0.5106 GB Notification: Performance of sort global known variables: time 0.0001934/6.389, allocations: 257.6 kB / 3.837 GB, free: 126.3 MB / 0.5106 GB Notification: Performance of remove unused functions: time 0.00594/6.395, allocations: 1.565 MB / 3.839 GB, free: 126.3 MB / 0.5106 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.006275/6.401, allocations: 2.134 MB / 3.841 GB, free: 125.9 MB / 0.5106 GB Notification: Performance of simCode: created initialization part: time 0.0002493/6.401, allocations: 183 kB / 3.841 GB, free: 125.9 MB / 0.5106 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/6.402, allocations: 0 / 3.841 GB, free: 125.9 MB / 0.5106 GB Notification: Performance of simCode: created simulation system equations: time 2.465e-05/6.402, allocations: 22.47 kB / 3.841 GB, free: 125.9 MB / 0.5106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/6.402, allocations: 27.95 kB / 3.841 GB, free: 125.9 MB / 0.5106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1809/6.583, allocations: 97.76 MB / 3.936 GB, free: 77.35 MB / 0.5106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/6.583, allocations: 0.8318 MB / 3.937 GB, free: 76.54 MB / 0.5106 GB Notification: Performance of SimCode: time 7.41e-07/6.583, allocations: 6.188 kB / 3.937 GB, free: 76.54 MB / 0.5106 GB Notification: Performance of Templates: time 0.04246/6.626, allocations: 39.16 MB / 3.975 GB, free: 39.79 MB / 0.5106 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches