Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 181.8 kB / 8.132 MB, free: 2.09 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 221.4 MB / 229.9 MB, free: 3.066 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 95.89 kB / 280.8 MB, free: 1.336 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.165e-06/8.216e-06, allocations: 0 / 336.5 MB, free: 9.602 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2905, allocations: 50.4 MB / 386.9 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.12/1.41, allocations: 0.5359 GB / 0.9137 GB, free: 87.28 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/1.41, allocations: 80.64 kB / 0.9138 GB, free: 87.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.5063/1.917, allocations: 146.6 MB / 1.057 GB, free: 114.6 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.967e-05/1.917, allocations: 11.53 kB / 1.057 GB, free: 114.6 MB / 442.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.00158/1.918, allocations: 0.6655 MB / 1.058 GB, free: 114.1 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/1.918, allocations: 8.562 kB / 1.058 GB, free: 114.1 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008179/1.919, allocations: 83.58 kB / 1.058 GB, free: 114 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006003/1.92, allocations: 330.1 kB / 1.058 GB, free: 113.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/1.92, allocations: 11.44 kB / 1.058 GB, free: 113.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.398e-05/1.92, allocations: 22.41 kB / 1.058 GB, free: 113.7 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005406/1.921, allocations: 262.4 kB / 1.058 GB, free: 113.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006224/1.921, allocations: 400.3 kB / 1.059 GB, free: 113.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/1.921, allocations: 9.328 kB / 1.059 GB, free: 113.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.758e-05/1.921, allocations: 1.5 kB / 1.059 GB, free: 113.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/1.921, allocations: 10.19 kB / 1.059 GB, free: 113.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01187/1.933, allocations: 6.281 MB / 1.065 GB, free: 106.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003259/1.934, allocations: 172.9 kB / 1.065 GB, free: 106.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/1.934, allocations: 137 kB / 1.065 GB, free: 106.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008409/1.942, allocations: 3.527 MB / 1.069 GB, free: 102.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/1.942, allocations: 34.5 kB / 1.069 GB, free: 102.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 2.564e-06/1.942, allocations: 0 / 1.069 GB, free: 102.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.004607/1.947, allocations: 1.414 MB / 1.07 GB, free: 101.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/1.947, allocations: 59.41 kB / 1.07 GB, free: 101.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/1.947, allocations: 228.9 kB / 1.07 GB, free: 100.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/1.947, allocations: 25.7 kB / 1.07 GB, free: 100.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.002e-05/1.947, allocations: 200 kB / 1.07 GB, free: 100.6 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.006e-05/1.947, allocations: 164.8 kB / 1.071 GB, free: 100.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/1.948, allocations: 4 kB / 1.071 GB, free: 100.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/1.948, allocations: 338.8 kB / 1.071 GB, free: 100.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/1.948, allocations: 141.3 kB / 1.071 GB, free: 100 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/1.948, allocations: 251.3 kB / 1.071 GB, free: 99.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008209/1.949, allocations: 256.6 kB / 1.072 GB, free: 99.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.949, allocations: 3.938 kB / 1.072 GB, free: 99.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001483/1.95, allocations: 0.6104 MB / 1.072 GB, free: 98.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/1.951, allocations: 4 kB / 1.072 GB, free: 98.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/1.951, allocations: 4 kB / 1.072 GB, free: 98.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004376/1.951, allocations: 110.5 kB / 1.072 GB, free: 98.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004157/1.951, allocations: 112.9 kB / 1.072 GB, free: 98.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/1.954, allocations: 2.479 MB / 1.075 GB, free: 95.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004794/1.954, allocations: 20 kB / 1.075 GB, free: 95.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.251e-05/1.954, allocations: 28 kB / 1.075 GB, free: 95.91 MB / 442.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.0001609/1.954, allocations: 120.8 kB / 1.075 GB, free: 95.79 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/1.954, allocations: 31.62 kB / 1.075 GB, free: 95.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/1.956, allocations: 0.841 MB / 1.076 GB, free: 94.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/1.956, allocations: 4 kB / 1.076 GB, free: 94.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.956, allocations: 3.906 kB / 1.076 GB, free: 94.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00115/1.957, allocations: 0.9308 MB / 1.077 GB, free: 93.9 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002083/1.959, allocations: 1.4 MB / 1.078 GB, free: 92.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/1.959, allocations: 0 / 1.078 GB, free: 92.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/1.96, allocations: 83.8 kB / 1.078 GB, free: 92.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004875/1.96, allocations: 185 kB / 1.078 GB, free: 92.19 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.123e-05/1.96, allocations: 8.203 kB / 1.078 GB, free: 92.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/1.961, allocations: 1.378 MB / 1.08 GB, free: 90.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/1.961, allocations: 8.062 kB / 1.08 GB, free: 90.75 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001585/1.963, allocations: 1.195 MB / 1.081 GB, free: 89.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/1.963, allocations: 120.5 kB / 1.081 GB, free: 89.38 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.909e-05/1.963, allocations: 0 / 1.081 GB, free: 89.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003388/1.963, allocations: 28.77 kB / 1.081 GB, free: 89.35 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/1.963, allocations: 19.97 kB / 1.081 GB, free: 89.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.974e-05/1.964, allocations: 23.92 kB / 1.081 GB, free: 89.31 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0001972/1.964, allocations: 177.2 kB / 1.081 GB, free: 89.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001204/1.965, allocations: 227.9 kB / 1.081 GB, free: 88.91 MB / 442.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.0018/1.967, allocations: 0.5208 MB / 1.082 GB, free: 88.42 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001178/1.968, allocations: 0.6351 MB / 1.083 GB, free: 87.78 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.968, allocations: 4.062 kB / 1.083 GB, free: 87.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006053/1.969, allocations: 388.2 kB / 1.083 GB, free: 87.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/1.97, allocations: 184.2 kB / 1.083 GB, free: 87.22 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/1.971, allocations: 0.9297 MB / 1.084 GB, free: 86.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004283/1.972, allocations: 0.8967 MB / 1.085 GB, free: 85.35 MB / 442.7 MB Notification: Performance of SimCode: time 2.71e-07/1.972, allocations: 0 / 1.085 GB, free: 85.35 MB / 442.7 MB Notification: Performance of Templates: time 0.01878/1.991, allocations: 11.72 MB / 1.096 GB, free: 73.72 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches