Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00368/0.00368, allocations: 176.3 kB / 8.154 MB, free: 2.191 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.652/1.652, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.001251/0.001251, allocations: 76.22 kB / 261.8 MB, free: 13.63 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.2553/0.2553, allocations: 43.5 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.923e-06/7.163e-06, allocations: 0 / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2788, allocations: 58.83 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6154/0.8942, allocations: 299 MB / 0.7574 GB, free: 34.37 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.8946, allocations: 72.33 kB / 0.7574 GB, free: 34.33 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.06972/0.9643, allocations: 19.87 MB / 0.7768 GB, free: 18.32 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.57e-05/0.9644, allocations: 0 / 0.7768 GB, free: 18.32 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.001088/0.9655, allocations: 0.5561 MB / 0.7774 GB, free: 17.73 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.9655, allocations: 11.97 kB / 0.7774 GB, free: 17.72 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.9657, allocations: 31.22 kB / 0.7774 GB, free: 17.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.966, allocations: 220.4 kB / 0.7776 GB, free: 17.45 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.9662, allocations: 119.3 kB / 0.7778 GB, free: 17.31 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/0.9662, allocations: 12 kB / 0.7778 GB, free: 17.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001005/0.9672, allocations: 0.708 MB / 0.7785 GB, free: 16.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004923/0.9677, allocations: 282.7 kB / 0.7787 GB, free: 16.46 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.9678, allocations: 3.906 kB / 0.7787 GB, free: 16.45 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/0.9678, allocations: 0 / 0.7787 GB, free: 16.45 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.111e-05/0.9679, allocations: 11.25 kB / 0.7787 GB, free: 16.45 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003094/0.971, allocations: 3.19 MB / 0.7819 GB, free: 12.89 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.9711, allocations: 43.7 kB / 0.7819 GB, free: 12.85 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.607e-05/0.9712, allocations: 24.69 kB / 0.7819 GB, free: 12.82 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001695/0.9714, allocations: 170.3 kB / 0.7821 GB, free: 12.62 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.9714, allocations: 38.19 kB / 0.7821 GB, free: 12.58 MB / 474.7 MB Notification: Performance of pre-optimization done (n=8): time 2.956e-06/0.9714, allocations: 0 / 0.7821 GB, free: 12.58 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007441/0.9722, allocations: 146.9 kB / 0.7823 GB, free: 12.44 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.9722, allocations: 51.41 kB / 0.7823 GB, free: 12.38 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.9724, allocations: 201.8 kB / 0.7825 GB, free: 12.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.9724, allocations: 25.7 kB / 0.7825 GB, free: 12.17 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.9726, allocations: 293.9 kB / 0.7828 GB, free: 11.89 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.9726, allocations: 43.41 kB / 0.7828 GB, free: 11.86 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.433e-05/0.9726, allocations: 4 kB / 0.7829 GB, free: 11.86 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.079e-05/0.9727, allocations: 322 kB / 0.7832 GB, free: 11.54 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.601e-05/0.9728, allocations: 36.19 kB / 0.7832 GB, free: 11.51 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.973, allocations: 308.6 kB / 0.7835 GB, free: 11.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004608/0.9735, allocations: 109.4 kB / 0.7836 GB, free: 11.01 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.9735, allocations: 3.938 kB / 0.7836 GB, free: 11 MB / 474.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00089/0.9744, allocations: 322.9 kB / 0.7839 GB, free: 10.71 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.9745, allocations: 14.44 kB / 0.7839 GB, free: 10.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.9745, allocations: 8 kB / 0.7839 GB, free: 10.69 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.063e-05/0.9745, allocations: 19.91 kB / 0.7839 GB, free: 10.67 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006422/0.9752, allocations: 108 kB / 0.784 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.804e-05/0.9752, allocations: 19.92 kB / 0.7841 GB, free: 10.55 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003516/0.9756, allocations: 12 kB / 0.7841 GB, free: 10.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.42e-05/0.9756, allocations: 35.19 kB / 0.7841 GB, free: 10.51 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 0.0001178/0.9757, allocations: 46.23 kB / 0.7842 GB, free: 10.46 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.162e-05/0.9758, allocations: 23.72 kB / 0.7842 GB, free: 10.44 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003461/0.9762, allocations: 105 kB / 0.7843 GB, free: 10.34 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.9762, allocations: 0 / 0.7843 GB, free: 10.34 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.9762, allocations: 0 / 0.7843 GB, free: 10.34 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.9762, allocations: 4 kB / 0.7843 GB, free: 10.33 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005905/0.9768, allocations: 374.5 kB / 0.7846 GB, free: 9.949 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.9769, allocations: 4 kB / 0.7846 GB, free: 9.945 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/0.9771, allocations: 23.92 kB / 0.7847 GB, free: 9.922 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.9771, allocations: 8.047 kB / 0.7847 GB, free: 9.914 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.9771, allocations: 0.5 kB / 0.7847 GB, free: 9.914 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.9771, allocations: 4 kB / 0.7847 GB, free: 9.91 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.9772, allocations: 0 / 0.7847 GB, free: 9.91 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002519/0.9774, allocations: 223.1 kB / 0.7849 GB, free: 9.672 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.9775, allocations: 112.3 kB / 0.785 GB, free: 9.551 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.203e-05/0.9776, allocations: 7.984 kB / 0.785 GB, free: 9.543 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/0.978, allocations: 7.938 kB / 0.785 GB, free: 9.535 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.978, allocations: 7.984 kB / 0.785 GB, free: 9.527 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.978, allocations: 4 kB / 0.785 GB, free: 9.523 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0001269/0.9782, allocations: 138 kB / 0.7852 GB, free: 9.406 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006707/0.9788, allocations: 90.86 kB / 0.7852 GB, free: 9.32 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.0003114/0.9792, allocations: 182.2 kB / 0.7854 GB, free: 9.137 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003561/0.9795, allocations: 146.1 kB / 0.7856 GB, free: 9.016 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.9796, allocations: 4 kB / 0.7856 GB, free: 9.012 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 6.232e-05/0.9796, allocations: 19.61 kB / 0.7856 GB, free: 8.996 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.98, allocations: 23.98 kB / 0.7856 GB, free: 8.98 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005438/0.9806, allocations: 221.8 kB / 0.7858 GB, free: 8.73 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002595/0.9809, allocations: 0.7588 MB / 0.7866 GB, free: 7.945 MB / 474.7 MB Notification: Performance of SimCode: time 7.12e-07/0.9809, allocations: 4 kB / 0.7866 GB, free: 7.941 MB / 474.7 MB Notification: Performance of Templates: time 0.00755/0.9884, allocations: 3.501 MB / 0.79 GB, free: 4.453 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches