Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002313/0.002312, allocations: 175.8 kB / 8.148 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.2 MB / 213.8 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001233/0.001233, allocations: 93.52 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2904/0.2904, allocations: 43.49 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.107e-06/9.347e-06, allocations: 4 kB / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.299, allocations: 58.84 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.967/6.266, allocations: 2.751 GB / 3.216 GB, free: 35.92 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/6.266, allocations: 82.52 kB / 3.216 GB, free: 35.88 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.115/7.381, allocations: 207.7 MB / 3.419 GB, free: 36.64 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.627e-05/7.381, allocations: 4 kB / 3.419 GB, free: 36.63 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.008774/7.39, allocations: 1.784 MB / 3.421 GB, free: 34.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/7.39, allocations: 8.031 kB / 3.421 GB, free: 34.79 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002687/7.393, allocations: 243.4 kB / 3.421 GB, free: 34.55 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004241/7.393, allocations: 274.5 kB / 3.422 GB, free: 34.25 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.766e-05/7.394, allocations: 16 kB / 3.422 GB, free: 34.23 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.768e-05/7.394, allocations: 16 kB / 3.422 GB, free: 34.21 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001042/7.395, allocations: 0.5127 MB / 3.422 GB, free: 33.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006718/7.395, allocations: 380.3 kB / 3.422 GB, free: 33.29 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/7.395, allocations: 8 kB / 3.422 GB, free: 33.28 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.261e-05/7.395, allocations: 0 / 3.422 GB, free: 33.28 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/7.395, allocations: 11.94 kB / 3.422 GB, free: 33.27 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 2.436/9.831, allocations: 373.2 MB / 3.787 GB, free: 113.6 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/9.831, allocations: 39.77 kB / 3.787 GB, free: 113.6 MB / 0.5107 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.267e-05/9.831, allocations: 19.3 kB / 3.787 GB, free: 113.6 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1966/10.03, allocations: 46.04 MB / 3.832 GB, free: 71.73 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002622/10.03, allocations: 126.6 kB / 3.832 GB, free: 71.62 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=10): time 2.755e-06/10.03, allocations: 0 / 3.832 GB, free: 71.62 MB / 0.5107 GB Notification: Performance of matching and sorting (n=10): time 0.001835/10.03, allocations: 357.2 kB / 3.832 GB, free: 71.43 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/10.03, allocations: 132.5 kB / 3.833 GB, free: 71.27 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/10.03, allocations: 227.6 kB / 3.833 GB, free: 71.1 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/10.03, allocations: 25.7 kB / 3.833 GB, free: 71.07 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/10.03, allocations: 325.2 kB / 3.833 GB, free: 70.82 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/10.03, allocations: 45.94 kB / 3.833 GB, free: 70.79 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/10.03, allocations: 0 / 3.833 GB, free: 70.79 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 6.903e-05/10.03, allocations: 329.2 kB / 3.833 GB, free: 70.47 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/10.03, allocations: 58.06 kB / 3.833 GB, free: 70.43 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/10.03, allocations: 315.7 kB / 3.834 GB, free: 70.05 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007/10.03, allocations: 114.8 kB / 3.834 GB, free: 69.98 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/10.03, allocations: 4 kB / 3.834 GB, free: 69.97 MB / 0.5107 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003445/10.04, allocations: 0.8243 MB / 3.835 GB, free: 69.52 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/10.04, allocations: 4 kB / 3.835 GB, free: 69.52 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/10.04, allocations: 11.91 kB / 3.835 GB, free: 69.5 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.314e-05/10.04, allocations: 16 kB / 3.835 GB, free: 69.49 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006835/10.04, allocations: 117.8 kB / 3.835 GB, free: 69.4 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.811e-05/10.04, allocations: 15.66 kB / 3.835 GB, free: 69.39 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005194/10.04, allocations: 34.73 kB / 3.835 GB, free: 69.37 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.444e-05/10.04, allocations: 35.28 kB / 3.835 GB, free: 69.34 MB / 0.5107 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.0001188/10.04, allocations: 65.23 kB / 3.835 GB, free: 69.3 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001177/10.04, allocations: 271.7 kB / 3.835 GB, free: 69.16 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005595/10.04, allocations: 243.6 kB / 3.835 GB, free: 68.99 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/10.04, allocations: 4 kB / 3.835 GB, free: 68.99 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/10.04, allocations: 0 / 3.835 GB, free: 68.99 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/10.04, allocations: 0 / 3.835 GB, free: 68.99 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007543/10.04, allocations: 0.6208 MB / 3.836 GB, free: 68.48 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/10.04, allocations: 0 / 3.836 GB, free: 68.48 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/10.04, allocations: 15.89 kB / 3.836 GB, free: 68.47 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/10.04, allocations: 0 / 3.836 GB, free: 68.47 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/10.04, allocations: 4 kB / 3.836 GB, free: 68.46 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/10.04, allocations: 5.031 kB / 3.836 GB, free: 68.46 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/10.04, allocations: 0 / 3.836 GB, free: 68.46 MB / 0.5107 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001385/10.04, allocations: 0.5371 MB / 3.837 GB, free: 68.02 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/10.04, allocations: 191.8 kB / 3.837 GB, free: 67.88 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/10.04, allocations: 0 / 3.837 GB, free: 67.88 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000437/10.04, allocations: 17.5 kB / 3.837 GB, free: 67.86 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.393e-05/10.04, allocations: 18.47 kB / 3.837 GB, free: 67.85 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/10.04, allocations: 5.312 kB / 3.837 GB, free: 67.85 MB / 0.5107 GB Notification: Performance of sort global known variables: time 0.0003646/10.04, allocations: 257.3 kB / 3.837 GB, free: 67.66 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.007439/10.05, allocations: 1.556 MB / 3.839 GB, free: 66.5 MB / 0.5107 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.01546/10.07, allocations: 2.141 MB / 3.841 GB, free: 64.93 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 0.0005408/10.07, allocations: 179 kB / 3.841 GB, free: 64.82 MB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/10.07, allocations: 0 / 3.841 GB, free: 64.82 MB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 4.903e-05/10.07, allocations: 26.91 kB / 3.841 GB, free: 64.8 MB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004536/10.07, allocations: 26.56 kB / 3.841 GB, free: 64.79 MB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5179/10.58, allocations: 97.79 MB / 3.936 GB, free: 131.8 MB / 0.5107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004314/10.58, allocations: 0.8334 MB / 3.937 GB, free: 131.1 MB / 0.5107 GB Notification: Performance of SimCode: time 1.172e-06/10.58, allocations: 0 / 3.937 GB, free: 131.1 MB / 0.5107 GB Notification: Performance of Templates: time 0.07067/10.66, allocations: 32.07 MB / 3.969 GB, free: 129.4 MB / 0.5107 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches