Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.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.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1") [: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.002481/0.00248, allocations: 175.9 kB / 8.152 MB, free: 2.195 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.908/1.908, allocations: 205.2 MB / 213.8 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.001251/0.001251, allocations: 86.53 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.077e-05/1.096e-05, allocations: 0 / 314.3 MB, free: 9.047 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2452, allocations: 47.55 MB / 361.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.5/1.745, allocations: 0.6378 GB / 0.9911 GB, free: 112.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003175/1.746, allocations: 73.5 kB / 0.9912 GB, free: 112.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.539/3.285, allocations: 459.7 MB / 1.44 GB, free: 54.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.794e-05/3.285, allocations: 12.38 kB / 1.44 GB, free: 54.25 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.002332/3.287, allocations: 0.7116 MB / 1.441 GB, free: 53.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001332/3.287, allocations: 12.03 kB / 1.441 GB, free: 53.49 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/3.289, allocations: 56.62 kB / 1.441 GB, free: 53.44 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007541/3.29, allocations: 290.4 kB / 1.441 GB, free: 53.12 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/3.29, allocations: 8 kB / 1.441 GB, free: 53.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.499e-05/3.29, allocations: 16 kB / 1.441 GB, free: 53.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007158/3.29, allocations: 173.3 kB / 1.441 GB, free: 52.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008237/3.291, allocations: 295.8 kB / 1.442 GB, free: 52.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/3.291, allocations: 3.938 kB / 1.442 GB, free: 52.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.444e-05/3.291, allocations: 4 kB / 1.442 GB, free: 52.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/3.291, allocations: 4 kB / 1.442 GB, free: 52.59 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02444/3.316, allocations: 5.489 MB / 1.447 GB, free: 46.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003813/3.316, allocations: 119.3 kB / 1.447 GB, free: 46.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002618/3.317, allocations: 81.31 kB / 1.447 GB, free: 46.44 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02085/3.337, allocations: 3.516 MB / 1.451 GB, free: 42.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.512e-05/3.338, allocations: 38.75 kB / 1.451 GB, free: 42.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 5.851e-06/3.338, allocations: 0 / 1.451 GB, free: 42.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.005915/3.344, allocations: 0.8798 MB / 1.452 GB, free: 41.65 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/3.344, allocations: 51.41 kB / 1.452 GB, free: 41.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/3.344, allocations: 203 kB / 1.452 GB, free: 41.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.233e-05/3.344, allocations: 29.69 kB / 1.452 GB, free: 41.35 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/3.344, allocations: 234.4 kB / 1.452 GB, free: 41.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/3.344, allocations: 90.66 kB / 1.452 GB, free: 41.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/3.344, allocations: 0 / 1.452 GB, free: 41.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.89e-05/3.345, allocations: 326.8 kB / 1.452 GB, free: 40.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003116/3.345, allocations: 83.77 kB / 1.452 GB, free: 40.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003743/3.345, allocations: 167.5 kB / 1.453 GB, free: 40.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/3.347, allocations: 160.6 kB / 1.453 GB, free: 40.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/3.347, allocations: 3.906 kB / 1.453 GB, free: 40.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002289/3.349, allocations: 387.2 kB / 1.453 GB, free: 39.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/3.349, allocations: 7.938 kB / 1.453 GB, free: 39.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/3.349, allocations: 4 kB / 1.453 GB, free: 39.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005588/3.35, allocations: 61.69 kB / 1.453 GB, free: 39.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006565/3.35, allocations: 71.89 kB / 1.453 GB, free: 39.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002539/3.353, allocations: 1.857 MB / 1.455 GB, free: 37.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005428/3.353, allocations: 19.94 kB / 1.455 GB, free: 37.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.483e-05/3.353, allocations: 13.8 kB / 1.455 GB, free: 37.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001626/3.354, allocations: 42.33 kB / 1.455 GB, free: 37.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/3.354, allocations: 27.72 kB / 1.455 GB, free: 37.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/3.356, allocations: 480.8 kB / 1.456 GB, free: 37.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/3.356, allocations: 7.984 kB / 1.456 GB, free: 37.13 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/3.356, allocations: 3.906 kB / 1.456 GB, free: 37.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001757/3.358, allocations: 0.7171 MB / 1.456 GB, free: 36.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003106/3.361, allocations: 0.8712 MB / 1.457 GB, free: 35.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/3.361, allocations: 0 / 1.457 GB, free: 35.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005192/3.362, allocations: 51.91 kB / 1.457 GB, free: 35.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006199/3.362, allocations: 92.72 kB / 1.457 GB, free: 35.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-05/3.362, allocations: 4 kB / 1.457 GB, free: 35.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/3.364, allocations: 0.6966 MB / 1.458 GB, free: 34.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/3.364, allocations: 0 / 1.458 GB, free: 34.54 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002462/3.366, allocations: 0.7137 MB / 1.459 GB, free: 33.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/3.366, allocations: 104.9 kB / 1.459 GB, free: 33.67 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/3.366, allocations: 4 kB / 1.459 GB, free: 33.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005214/3.367, allocations: 8.734 kB / 1.459 GB, free: 33.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.005e-05/3.367, allocations: 15.97 kB / 1.459 GB, free: 33.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.955e-05/3.367, allocations: 12 kB / 1.459 GB, free: 33.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.000257/3.367, allocations: 153.6 kB / 1.459 GB, free: 33.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00168/3.369, allocations: 203.8 kB / 1.459 GB, free: 33.29 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003122/3.372, allocations: 0.5632 MB / 1.46 GB, free: 32.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001581/3.374, allocations: 422.7 kB / 1.46 GB, free: 32.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/3.374, allocations: 0 / 1.46 GB, free: 32.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007338/3.375, allocations: 207.6 kB / 1.46 GB, free: 32.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/3.377, allocations: 129.4 kB / 1.461 GB, free: 32.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/3.379, allocations: 0.5778 MB / 1.461 GB, free: 31.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005313/3.379, allocations: 0.8199 MB / 1.462 GB, free: 30.57 MB / 426.7 MB Notification: Performance of SimCode: time 1.673e-06/3.379, allocations: 0 / 1.462 GB, free: 30.57 MB / 426.7 MB Notification: Performance of Templates: time 0.02277/3.402, allocations: 8.909 MB / 1.471 GB, free: 21.7 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches