Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.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) 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(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O") [: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.001785/0.001785, allocations: 183.2 kB / 8.153 MB, free: 2.086 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.812/1.812, allocations: 205.2 MB / 213.8 MB, free: 13.92 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.001255/0.001255, allocations: 95.06 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.304e-06/7.534e-06, allocations: 0 / 314.3 MB, free: 9.055 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2367, allocations: 47.55 MB / 361.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8825/1.119, allocations: 441.5 MB / 0.7845 GB, free: 38.46 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/1.12, allocations: 64.22 kB / 0.7845 GB, free: 38.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.08825/1.208, allocations: 24.3 MB / 0.8082 GB, free: 18.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.243e-06/1.208, allocations: 0.9375 kB / 0.8082 GB, free: 18.7 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001146/1.209, allocations: 443.7 kB / 0.8087 GB, free: 18.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/1.209, allocations: 12.03 kB / 0.8087 GB, free: 18.22 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01141/1.221, allocations: 0.5376 MB / 0.8092 GB, free: 17.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/1.221, allocations: 163 kB / 0.8094 GB, free: 17.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/1.221, allocations: 4 kB / 0.8094 GB, free: 17.51 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/1.221, allocations: 8 kB / 0.8094 GB, free: 17.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008303/1.222, allocations: 228.4 kB / 0.8096 GB, free: 17.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002921/1.222, allocations: 117.5 kB / 0.8097 GB, free: 17.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/1.222, allocations: 0 / 0.8097 GB, free: 17.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/1.222, allocations: 1.219 kB / 0.8097 GB, free: 17.26 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/1.222, allocations: 4 kB / 0.8097 GB, free: 17.26 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00165/1.224, allocations: 400.5 kB / 0.8101 GB, free: 16.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/1.225, allocations: 152.1 kB / 0.8102 GB, free: 16.76 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/1.225, allocations: 56.08 kB / 0.8103 GB, free: 16.72 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/1.225, allocations: 7.984 kB / 0.8103 GB, free: 16.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/1.225, allocations: 34.5 kB / 0.8103 GB, free: 16.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 2.966e-06/1.225, allocations: 0 / 0.8103 GB, free: 16.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.00199/1.227, allocations: 284.8 kB / 0.8106 GB, free: 16.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/1.228, allocations: 58.97 kB / 0.8107 GB, free: 16.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.786e-05/1.228, allocations: 93 kB / 0.8107 GB, free: 16.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/1.228, allocations: 25.7 kB / 0.8108 GB, free: 16.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/1.228, allocations: 165.8 kB / 0.8109 GB, free: 16.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.451e-05/1.228, allocations: 63.44 kB / 0.811 GB, free: 16.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/1.228, allocations: 0 / 0.811 GB, free: 16.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.917e-05/1.228, allocations: 318.2 kB / 0.8113 GB, free: 15.72 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/1.228, allocations: 62.23 kB / 0.8114 GB, free: 15.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/1.228, allocations: 93.59 kB / 0.8114 GB, free: 15.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/1.228, allocations: 57.16 kB / 0.8115 GB, free: 15.56 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/1.229, allocations: 0 / 0.8115 GB, free: 15.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000559/1.229, allocations: 188.4 kB / 0.8117 GB, free: 15.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/1.229, allocations: 7.984 kB / 0.8117 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/1.229, allocations: 8.125 kB / 0.8117 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/1.229, allocations: 0 / 0.8117 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007399/1.23, allocations: 55.52 kB / 0.8117 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/1.23, allocations: 4 kB / 0.8117 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004688/1.23, allocations: 11.98 kB / 0.8118 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.497e-05/1.23, allocations: 8 kB / 0.8118 GB, free: 15.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 9.742e-05/1.231, allocations: 29.64 kB / 0.8118 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.15e-05/1.231, allocations: 11.91 kB / 0.8118 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009905/1.232, allocations: 239.2 kB / 0.812 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/1.232, allocations: 4 kB / 0.812 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/1.232, allocations: 0 / 0.812 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/1.232, allocations: 7.922 kB / 0.812 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/1.233, allocations: 0.5038 MB / 0.8125 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/1.233, allocations: 0 / 0.8125 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006426/1.234, allocations: 51.27 kB / 0.8126 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/1.234, allocations: 0 / 0.8126 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.922e-05/1.234, allocations: 7.984 kB / 0.8126 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/1.234, allocations: 0 / 0.8126 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.234, allocations: 4.844 kB / 0.8126 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005394/1.234, allocations: 310.5 kB / 0.8129 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.083e-05/1.235, allocations: 85.02 kB / 0.813 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.908e-05/1.235, allocations: 0 / 0.813 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005351/1.235, allocations: 15.98 kB / 0.813 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/1.235, allocations: 7.984 kB / 0.813 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.417e-05/1.235, allocations: 11.98 kB / 0.813 GB, free: 14.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.159e-05/1.235, allocations: 86.78 kB / 0.8131 GB, free: 14.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005484/1.236, allocations: 70.61 kB / 0.8132 GB, free: 13.97 MB / 426.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 (18): * Single equations (assignments): 18 * 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.000891/1.237, allocations: 0.6051 MB / 0.8138 GB, free: 13.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005164/1.237, allocations: 155.1 kB / 0.8139 GB, free: 13.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.237, allocations: 0 / 0.8139 GB, free: 13.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002043/1.238, allocations: 76.92 kB / 0.814 GB, free: 13.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005343/1.238, allocations: 32.47 kB / 0.814 GB, free: 13.19 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/1.239, allocations: 209.1 kB / 0.8142 GB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005208/1.24, allocations: 0.7434 MB / 0.8149 GB, free: 12.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.562e-06/1.24, allocations: 0 / 0.8149 GB, free: 12.2 MB / 426.7 MB Notification: Performance of Templates: time 0.01023/1.25, allocations: 4.767 MB / 0.8196 GB, free: 7.434 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches