Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001915/0.001916, allocations: 206.7 kB / 8.544 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, 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.001147/0.001147, allocations: 99.83 kB / 286.3 MB, free: 5.219 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 9.167e-06/9.197e-06, allocations: 4 kB / 343.1 MB, free: 8.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1239, allocations: 51.48 MB / 394.6 MB, free: 5.211 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.628/1.752, allocations: 0.5367 GB / 0.9221 GB, free: 134.4 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004127/1.753, allocations: 77.53 kB / 0.9222 GB, free: 134.4 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.414/3.167, allocations: 460 MB / 1.371 GB, free: 53.83 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.853e-05/3.167, allocations: 12 kB / 1.371 GB, free: 53.82 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.002086/3.169, allocations: 0.7144 MB / 1.372 GB, free: 53.07 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/3.169, allocations: 8.031 kB / 1.372 GB, free: 53.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006978/3.17, allocations: 55.59 kB / 1.372 GB, free: 53.01 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005963/3.171, allocations: 289 kB / 1.372 GB, free: 52.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/3.171, allocations: 8 kB / 1.372 GB, free: 52.69 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.972e-05/3.171, allocations: 16 kB / 1.373 GB, free: 52.67 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004177/3.171, allocations: 177.3 kB / 1.373 GB, free: 52.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004604/3.172, allocations: 294.8 kB / 1.373 GB, free: 52.17 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/3.172, allocations: 4.938 kB / 1.373 GB, free: 52.17 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.037e-05/3.172, allocations: 0 / 1.373 GB, free: 52.17 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/3.172, allocations: 12 kB / 1.373 GB, free: 52.16 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01108/3.183, allocations: 5.48 MB / 1.378 GB, free: 46.22 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/3.183, allocations: 116.8 kB / 1.378 GB, free: 46.1 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/3.183, allocations: 81.31 kB / 1.379 GB, free: 46.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008531/3.192, allocations: 3.518 MB / 1.382 GB, free: 42.21 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/3.192, allocations: 39.88 kB / 1.382 GB, free: 42.17 MB / 442.7 MB Notification: Performance of pre-optimization done (n=21): time 3.667e-06/3.192, allocations: 0 / 1.382 GB, free: 42.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=26): time 0.003151/3.195, allocations: 0.8761 MB / 1.383 GB, free: 41.24 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/3.195, allocations: 55.41 kB / 1.383 GB, free: 41.17 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/3.195, allocations: 206.9 kB / 1.383 GB, free: 40.96 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/3.195, allocations: 26.36 kB / 1.383 GB, free: 40.93 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.405e-05/3.195, allocations: 176 kB / 1.383 GB, free: 40.75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.739e-05/3.195, allocations: 90.66 kB / 1.383 GB, free: 40.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.245e-05/3.195, allocations: 0 / 1.383 GB, free: 40.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.776e-05/3.196, allocations: 330.8 kB / 1.384 GB, free: 40.33 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/3.196, allocations: 80 kB / 1.384 GB, free: 40.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/3.196, allocations: 167.2 kB / 1.384 GB, free: 40.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00053/3.196, allocations: 166.8 kB / 1.384 GB, free: 39.89 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/3.196, allocations: 3.906 kB / 1.384 GB, free: 39.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009567/3.197, allocations: 401.6 kB / 1.384 GB, free: 39.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/3.197, allocations: 4 kB / 1.384 GB, free: 39.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/3.197, allocations: 11.92 kB / 1.384 GB, free: 39.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002829/3.198, allocations: 62.06 kB / 1.385 GB, free: 39.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/3.198, allocations: 75.84 kB / 1.385 GB, free: 39.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/3.2, allocations: 1.848 MB / 1.386 GB, free: 37.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002908/3.2, allocations: 12.06 kB / 1.386 GB, free: 37.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/3.2, allocations: 16.75 kB / 1.386 GB, free: 37.32 MB / 442.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.0001022/3.2, allocations: 116.8 kB / 1.387 GB, free: 37.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.367e-05/3.2, allocations: 27.62 kB / 1.387 GB, free: 37.17 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009071/3.201, allocations: 485.6 kB / 1.387 GB, free: 36.69 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/3.201, allocations: 4 kB / 1.387 GB, free: 36.69 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/3.201, allocations: 0 / 1.387 GB, free: 36.69 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000733/3.202, allocations: 0.7097 MB / 1.388 GB, free: 35.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/3.203, allocations: 0.8857 MB / 1.389 GB, free: 34.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/3.203, allocations: 5.281 kB / 1.389 GB, free: 34.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/3.203, allocations: 39.98 kB / 1.389 GB, free: 34.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002565/3.204, allocations: 100.1 kB / 1.389 GB, free: 34.82 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/3.204, allocations: 7.984 kB / 1.389 GB, free: 34.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000524/3.204, allocations: 0.6849 MB / 1.389 GB, free: 34.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/3.204, allocations: 4 kB / 1.389 GB, free: 34.1 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009743/3.205, allocations: 0.7102 MB / 1.39 GB, free: 33.36 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.023e-05/3.205, allocations: 96.81 kB / 1.39 GB, free: 33.24 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.62e-05/3.205, allocations: 8.438 kB / 1.39 GB, free: 33.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/3.206, allocations: 7.906 kB / 1.39 GB, free: 33.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/3.206, allocations: 24.03 kB / 1.39 GB, free: 33.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/3.206, allocations: 14.05 kB / 1.39 GB, free: 33.19 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0001303/3.206, allocations: 149.9 kB / 1.39 GB, free: 33.05 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001319/3.207, allocations: 191.9 kB / 1.391 GB, free: 32.86 MB / 442.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.002253/3.209, allocations: 0.5617 MB / 1.391 GB, free: 32.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007559/3.21, allocations: 412.5 kB / 1.392 GB, free: 31.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/3.21, allocations: 0.75 kB / 1.392 GB, free: 31.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003362/3.21, allocations: 209 kB / 1.392 GB, free: 31.72 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007911/3.211, allocations: 125.3 kB / 1.392 GB, free: 31.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/3.212, allocations: 0.5493 MB / 1.392 GB, free: 31.04 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003195/3.213, allocations: 0.8277 MB / 1.393 GB, free: 30.19 MB / 442.7 MB Notification: Performance of SimCode: time 3.91e-07/3.213, allocations: 4 kB / 1.393 GB, free: 30.19 MB / 442.7 MB Notification: Performance of Templates: time 0.01791/3.231, allocations: 9.37 MB / 1.402 GB, free: 20.96 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches