Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") [: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.0008637/0.0008638, allocations: 187.5 kB / 7.804 MB, free: 2.492 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.047/1.047, 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.0007883/0.0007883, allocations: 80.27 kB / 261.4 MB, free: 13.56 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.1554/0.1554, allocations: 43.49 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.242e-06/6.282e-06, allocations: 0 / 417.7 MB, free: 40.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2244, allocations: 58.84 MB / 476.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4042/0.6286, allocations: 299 MB / 0.7574 GB, free: 36.69 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.6289, allocations: 68.27 kB / 0.7575 GB, free: 36.66 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.03758/0.6665, allocations: 19.85 MB / 0.7769 GB, free: 20.66 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.6665, allocations: 4 kB / 0.7769 GB, free: 20.66 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006167/0.6672, allocations: 0.5587 MB / 0.7774 GB, free: 20.07 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.6672, allocations: 12.03 kB / 0.7774 GB, free: 20.06 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.6673, allocations: 35.7 kB / 0.7774 GB, free: 20.03 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.6675, allocations: 226.3 kB / 0.7777 GB, free: 19.78 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.311e-05/0.6676, allocations: 115.3 kB / 0.7778 GB, free: 19.64 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.6677, allocations: 16 kB / 0.7778 GB, free: 19.63 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005561/0.6682, allocations: 0.7066 MB / 0.7785 GB, free: 19.03 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.6685, allocations: 290.5 kB / 0.7788 GB, free: 18.78 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.6685, allocations: 3.906 kB / 0.7788 GB, free: 18.78 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.6685, allocations: 0 / 0.7788 GB, free: 18.78 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.6686, allocations: 8 kB / 0.7788 GB, free: 18.77 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.6703, allocations: 3.188 MB / 0.7819 GB, free: 15.21 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.898e-05/0.6703, allocations: 49.05 kB / 0.7819 GB, free: 15.17 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.164e-05/0.6704, allocations: 24.05 kB / 0.782 GB, free: 15.15 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.6705, allocations: 166.4 kB / 0.7821 GB, free: 14.95 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.6705, allocations: 30.56 kB / 0.7821 GB, free: 14.91 MB / 474.7 MB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.6705, allocations: 0 / 0.7821 GB, free: 14.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004456/0.671, allocations: 155.7 kB / 0.7823 GB, free: 14.76 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.514e-05/0.671, allocations: 55.41 kB / 0.7823 GB, free: 14.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.6711, allocations: 201.1 kB / 0.7825 GB, free: 14.52 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.6711, allocations: 25.7 kB / 0.7826 GB, free: 14.49 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.396e-05/0.6712, allocations: 229 kB / 0.7828 GB, free: 14.28 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.6712, allocations: 31.48 kB / 0.7828 GB, free: 14.25 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-06/0.6713, allocations: 0 / 0.7828 GB, free: 14.25 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 4.529e-05/0.6713, allocations: 325.9 kB / 0.7831 GB, free: 13.93 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.314e-05/0.6714, allocations: 43.61 kB / 0.7832 GB, free: 13.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.6715, allocations: 306.6 kB / 0.7834 GB, free: 13.49 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002577/0.6718, allocations: 106 kB / 0.7836 GB, free: 13.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6718, allocations: 4 kB / 0.7836 GB, free: 13.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005151/0.6723, allocations: 322.7 kB / 0.7839 GB, free: 13.11 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.6723, allocations: 8.031 kB / 0.7839 GB, free: 13.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.6723, allocations: 12.23 kB / 0.7839 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.6723, allocations: 12.06 kB / 0.7839 GB, free: 13.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/0.6727, allocations: 115.2 kB / 0.784 GB, free: 12.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.6727, allocations: 19.92 kB / 0.784 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.6729, allocations: 11.94 kB / 0.784 GB, free: 12.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.673, allocations: 31.86 kB / 0.7841 GB, free: 12.91 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * 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 6.185e-05/0.673, allocations: 125.3 kB / 0.7842 GB, free: 12.78 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.6731, allocations: 27.72 kB / 0.7842 GB, free: 12.75 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001989/0.6733, allocations: 99.17 kB / 0.7843 GB, free: 12.66 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.6733, allocations: 0 / 0.7843 GB, free: 12.66 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6733, allocations: 0 / 0.7843 GB, free: 12.66 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.6733, allocations: 4 kB / 0.7843 GB, free: 12.65 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.6736, allocations: 384.7 kB / 0.7847 GB, free: 12.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6737, allocations: 4.094 kB / 0.7847 GB, free: 12.26 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.6738, allocations: 23.92 kB / 0.7847 GB, free: 12.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.6738, allocations: 0 / 0.7847 GB, free: 12.23 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.6738, allocations: 0 / 0.7847 GB, free: 12.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.6738, allocations: 7.938 kB / 0.7847 GB, free: 12.23 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6738, allocations: 0 / 0.7847 GB, free: 12.23 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001479/0.674, allocations: 218.7 kB / 0.7849 GB, free: 11.99 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.584e-05/0.674, allocations: 116.1 kB / 0.785 GB, free: 11.87 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.6741, allocations: 4 kB / 0.785 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.6743, allocations: 7.984 kB / 0.785 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/0.6743, allocations: 8 kB / 0.785 GB, free: 11.85 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.6743, allocations: 7.984 kB / 0.7851 GB, free: 11.84 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.26e-05/0.6744, allocations: 138.6 kB / 0.7852 GB, free: 11.72 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004219/0.6748, allocations: 83.38 kB / 0.7853 GB, free: 11.64 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 1 * 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.0001903/0.675, allocations: 183 kB / 0.7854 GB, free: 11.46 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001926/0.6752, allocations: 135.7 kB / 0.7856 GB, free: 11.35 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6752, allocations: 0 / 0.7856 GB, free: 11.35 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.295e-05/0.6753, allocations: 27.48 kB / 0.7856 GB, free: 11.32 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.6755, allocations: 23.66 kB / 0.7856 GB, free: 11.31 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003189/0.6758, allocations: 200.2 kB / 0.7858 GB, free: 11.09 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.676, allocations: 0.759 MB / 0.7866 GB, free: 10.3 MB / 474.7 MB Notification: Performance of SimCode: time 7.31e-07/0.676, allocations: 0 / 0.7866 GB, free: 10.3 MB / 474.7 MB Notification: Performance of Templates: time 0.005142/0.6812, allocations: 3.195 MB / 0.7897 GB, free: 7.129 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches