Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") [: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.001138/0.001138, allocations: 190.3 kB / 8.483 MB, free: 2.66 MB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 205.2 MB / 214.1 MB, free: 2.148 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008733/0.0008733, allocations: 91.8 kB / 262.1 MB, free: 1.406 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 7.665e-06/7.785e-06, allocations: 0 / 315 MB, free: 12.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09943/0.09946, allocations: 47.57 MB / 362.6 MB, free: 12.77 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.111/1.211, allocations: 0.5385 GB / 0.8926 GB, free: 81.75 MB / 414.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/1.211, allocations: 101.2 kB / 0.8927 GB, free: 81.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.4862/1.697, allocations: 145.5 MB / 1.035 GB, free: 90.15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.948e-05/1.697, allocations: 5.781 kB / 1.035 GB, free: 90.15 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001347/1.699, allocations: 0.5978 MB / 1.035 GB, free: 89.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/1.699, allocations: 8.844 kB / 1.035 GB, free: 89.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000477/1.699, allocations: 43.52 kB / 1.035 GB, free: 89.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005315/1.7, allocations: 280.3 kB / 1.036 GB, free: 89.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/1.7, allocations: 15.62 kB / 1.036 GB, free: 89.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.05e-05/1.7, allocations: 18.84 kB / 1.036 GB, free: 89.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004531/1.7, allocations: 173.4 kB / 1.036 GB, free: 89.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004953/1.701, allocations: 272.5 kB / 1.036 GB, free: 89.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/1.701, allocations: 1.219 kB / 1.036 GB, free: 89.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.563e-05/1.701, allocations: 8.562 kB / 1.036 GB, free: 89.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/1.701, allocations: 6.594 kB / 1.036 GB, free: 89.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/1.703, allocations: 1.558 MB / 1.038 GB, free: 87.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/1.703, allocations: 100.5 kB / 1.038 GB, free: 87.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/1.703, allocations: 80.81 kB / 1.038 GB, free: 87.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.496e-05/1.703, allocations: 6.5 kB / 1.038 GB, free: 87.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/1.703, allocations: 41.91 kB / 1.038 GB, free: 87.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=20): time 1.973e-06/1.703, allocations: 0 / 1.038 GB, free: 87.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.004386/1.708, allocations: 0.9722 MB / 1.039 GB, free: 86.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/1.708, allocations: 58.58 kB / 1.039 GB, free: 86.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/1.708, allocations: 196.9 kB / 1.039 GB, free: 86.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/1.708, allocations: 34.33 kB / 1.039 GB, free: 86.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.889e-05/1.708, allocations: 173.2 kB / 1.039 GB, free: 86.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.817e-05/1.708, allocations: 85.94 kB / 1.039 GB, free: 86.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/1.708, allocations: 0 / 1.039 GB, free: 86.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.38e-05/1.708, allocations: 339.8 kB / 1.04 GB, free: 85.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/1.709, allocations: 73.59 kB / 1.04 GB, free: 85.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/1.709, allocations: 179.1 kB / 1.04 GB, free: 85.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/1.709, allocations: 115.9 kB / 1.04 GB, free: 85.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.709, allocations: 1.344 kB / 1.04 GB, free: 85.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006829/1.71, allocations: 356.2 kB / 1.04 GB, free: 85.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/1.71, allocations: 5.031 kB / 1.04 GB, free: 85.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/1.71, allocations: 2.625 kB / 1.04 GB, free: 85.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002393/1.71, allocations: 61.16 kB / 1.04 GB, free: 85.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003904/1.71, allocations: 85.42 kB / 1.041 GB, free: 85.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/1.712, allocations: 1.807 MB / 1.042 GB, free: 83.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004218/1.712, allocations: 20.83 kB / 1.042 GB, free: 83.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/1.712, allocations: 34.16 kB / 1.042 GB, free: 83.71 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001785/1.713, allocations: 127.1 kB / 1.042 GB, free: 83.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/1.713, allocations: 25.56 kB / 1.042 GB, free: 83.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/1.714, allocations: 385.9 kB / 1.043 GB, free: 83.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/1.714, allocations: 1.875 kB / 1.043 GB, free: 83.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/1.714, allocations: 1.781 kB / 1.043 GB, free: 83.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000477/1.714, allocations: 0.5371 MB / 1.043 GB, free: 82.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/1.715, allocations: 0.6581 MB / 1.044 GB, free: 82.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.715, allocations: 3.984 kB / 1.044 GB, free: 82.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003661/1.716, allocations: 65.94 kB / 1.044 GB, free: 82.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.224e-05/1.716, allocations: 29.66 kB / 1.044 GB, free: 82.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.726e-05/1.716, allocations: 10.55 kB / 1.044 GB, free: 82.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008066/1.717, allocations: 1.221 MB / 1.045 GB, free: 81.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.483e-06/1.717, allocations: 5.172 kB / 1.045 GB, free: 81.05 MB / 414.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007164/1.718, allocations: 465.6 kB / 1.046 GB, free: 80.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/1.718, allocations: 107.2 kB / 1.046 GB, free: 80.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.328e-05/1.718, allocations: 7.359 kB / 1.046 GB, free: 80.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/1.718, allocations: 11.39 kB / 1.046 GB, free: 80.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/1.718, allocations: 20.91 kB / 1.046 GB, free: 80.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.93e-05/1.718, allocations: 31.36 kB / 1.046 GB, free: 80.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 0.0001576/1.718, allocations: 157 kB / 1.046 GB, free: 80.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001093/1.719, allocations: 159.9 kB / 1.046 GB, free: 80.45 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001805/1.721, allocations: 0.9283 MB / 1.047 GB, free: 80.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006795/1.722, allocations: 337.9 kB / 1.047 GB, free: 79.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.722, allocations: 0 / 1.047 GB, free: 79.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002822/1.722, allocations: 215.8 kB / 1.048 GB, free: 79.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000763/1.723, allocations: 125.8 kB / 1.048 GB, free: 79.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/1.724, allocations: 484 kB / 1.048 GB, free: 79.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006574/1.725, allocations: 0.8631 MB / 1.049 GB, free: 78.57 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/1.725, allocations: 0 / 1.049 GB, free: 78.57 MB / 414.1 MB Notification: Performance of Templates: time 0.01983/1.745, allocations: 12.35 MB / 1.061 GB, free: 69.25 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Air/Air.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches