Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") [: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 trunk/package.mo): time 0.002064/0.002064, allocations: 200.4 kB / 8.537 MB, free: 1.773 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 225.5 MB / 234.4 MB, free: 3.402 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001027/0.001027, allocations: 93.09 kB / 286.3 MB, free: 5.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.028e-05/1.059e-05, allocations: 4 kB / 343.1 MB, free: 8.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1256, allocations: 51.47 MB / 394.6 MB, free: 5.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.326/1.451, allocations: 0.5367 GB / 0.922 GB, free: 4.996 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/1.452, allocations: 73.95 kB / 0.9221 GB, free: 4.961 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.5948/2.046, allocations: 146.6 MB / 1.065 GB, free: 52.44 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.724e-05/2.047, allocations: 11.91 kB / 1.065 GB, free: 52.43 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001705/2.048, allocations: 0.662 MB / 1.066 GB, free: 51.73 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/2.048, allocations: 8.031 kB / 1.066 GB, free: 51.72 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007807/2.049, allocations: 79.39 kB / 1.066 GB, free: 51.64 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005802/2.05, allocations: 338.2 kB / 1.066 GB, free: 51.28 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/2.05, allocations: 12 kB / 1.066 GB, free: 51.27 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.281e-05/2.05, allocations: 23.91 kB / 1.066 GB, free: 51.24 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004722/2.05, allocations: 257.5 kB / 1.067 GB, free: 50.99 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005684/2.051, allocations: 402.7 kB / 1.067 GB, free: 50.55 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/2.051, allocations: 4 kB / 1.067 GB, free: 50.55 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.553e-05/2.051, allocations: 224 / 1.067 GB, free: 50.55 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/2.051, allocations: 12 kB / 1.067 GB, free: 50.54 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01156/2.063, allocations: 6.277 MB / 1.073 GB, free: 43.71 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003203/2.063, allocations: 173.8 kB / 1.073 GB, free: 43.54 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/2.063, allocations: 136.9 kB / 1.073 GB, free: 43.41 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008156/2.071, allocations: 3.527 MB / 1.077 GB, free: 39.59 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/2.071, allocations: 38.56 kB / 1.077 GB, free: 39.55 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 3.917e-06/2.071, allocations: 0 / 1.077 GB, free: 39.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=45): time 0.004448/2.076, allocations: 1.407 MB / 1.078 GB, free: 38.08 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/2.076, allocations: 55.41 kB / 1.078 GB, free: 38.01 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/2.076, allocations: 232.9 kB / 1.079 GB, free: 37.77 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.92e-05/2.076, allocations: 25.7 kB / 1.079 GB, free: 37.74 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.637e-05/2.076, allocations: 207.8 kB / 1.079 GB, free: 37.54 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.443e-05/2.076, allocations: 153.8 kB / 1.079 GB, free: 37.38 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.794e-05/2.076, allocations: 0 / 1.079 GB, free: 37.38 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.42e-05/2.077, allocations: 339.9 kB / 1.079 GB, free: 37.04 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/2.077, allocations: 145.3 kB / 1.079 GB, free: 36.9 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/2.077, allocations: 251.3 kB / 1.08 GB, free: 36.61 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007489/2.078, allocations: 260.6 kB / 1.08 GB, free: 36.36 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/2.078, allocations: 0 / 1.08 GB, free: 36.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001388/2.079, allocations: 0.6066 MB / 1.081 GB, free: 35.73 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/2.079, allocations: 4 kB / 1.081 GB, free: 35.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/2.079, allocations: 9.234 kB / 1.081 GB, free: 35.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003882/2.08, allocations: 106.5 kB / 1.081 GB, free: 35.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003859/2.08, allocations: 107.8 kB / 1.081 GB, free: 35.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/2.082, allocations: 2.486 MB / 1.083 GB, free: 32.85 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003919/2.082, allocations: 27.88 kB / 1.083 GB, free: 32.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-05/2.082, allocations: 28.05 kB / 1.083 GB, free: 32.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001759/2.082, allocations: 116.8 kB / 1.083 GB, free: 32.68 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.484e-05/2.083, allocations: 39.53 kB / 1.083 GB, free: 32.64 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/2.084, allocations: 0.8361 MB / 1.084 GB, free: 31.81 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/2.084, allocations: 7.984 kB / 1.084 GB, free: 31.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/2.084, allocations: 4 kB / 1.084 GB, free: 31.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001141/2.085, allocations: 0.9347 MB / 1.085 GB, free: 30.79 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/2.087, allocations: 1.402 MB / 1.086 GB, free: 29.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/2.087, allocations: 0 / 1.086 GB, free: 29.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/2.088, allocations: 83.89 kB / 1.087 GB, free: 29.26 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004666/2.088, allocations: 185.4 kB / 1.087 GB, free: 29.07 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.052e-05/2.088, allocations: 4 kB / 1.087 GB, free: 29.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009832/2.089, allocations: 1.382 MB / 1.088 GB, free: 27.64 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/2.089, allocations: 0 / 1.088 GB, free: 27.64 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001604/2.091, allocations: 1.206 MB / 1.089 GB, free: 26.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/2.091, allocations: 108.9 kB / 1.089 GB, free: 26.27 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.931e-05/2.091, allocations: 4 kB / 1.089 GB, free: 26.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000301/2.091, allocations: 23.83 kB / 1.089 GB, free: 26.25 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/2.091, allocations: 31.94 kB / 1.089 GB, free: 26.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/2.091, allocations: 19.98 kB / 1.089 GB, free: 26.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0001623/2.092, allocations: 169.2 kB / 1.09 GB, free: 26.04 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001226/2.093, allocations: 235.8 kB / 1.09 GB, free: 25.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001846/2.095, allocations: 0.5016 MB / 1.09 GB, free: 25.32 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001095/2.096, allocations: 0.6494 MB / 1.091 GB, free: 24.66 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/2.096, allocations: 4.188 kB / 1.091 GB, free: 24.66 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005566/2.096, allocations: 384.4 kB / 1.091 GB, free: 24.29 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/2.097, allocations: 187 kB / 1.092 GB, free: 24.11 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/2.099, allocations: 0.9329 MB / 1.092 GB, free: 23.15 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004232/2.099, allocations: 0.8943 MB / 1.093 GB, free: 22.23 MB / 458.7 MB Notification: Performance of SimCode: time 6.61e-07/2.099, allocations: 0 / 1.093 GB, free: 22.23 MB / 458.7 MB Notification: Performance of Templates: time 0.01978/2.119, allocations: 11.69 MB / 1.105 GB, free: 10.64 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches