Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.Air.DryAirNasa,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.Air.DryAirNasa") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,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.Air.DryAirNasa") [: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.001284/0.001284, allocations: 178.9 kB / 8.477 MB, free: 1.883 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.556/1.556, allocations: 205.2 MB / 214.1 MB, free: 5.484 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 98.17 kB / 262.1 MB, free: 5.547 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.185e-06/8.225e-06, allocations: 4 kB / 315 MB, free: 41.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09767/0.0977, allocations: 47.58 MB / 362.6 MB, free: 9.988 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.017/1.115, allocations: 0.5385 GB / 0.8926 GB, free: 23.95 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/1.115, allocations: 102.5 kB / 0.8927 GB, free: 23.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.4582/1.573, allocations: 145.5 MB / 1.035 GB, free: 53.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.18e-05/1.573, allocations: 4 kB / 1.035 GB, free: 53.72 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009745/1.574, allocations: 0.5968 MB / 1.035 GB, free: 53.08 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/1.575, allocations: 12.03 kB / 1.035 GB, free: 53.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003647/1.575, allocations: 39.61 kB / 1.035 GB, free: 53.03 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003966/1.575, allocations: 282.5 kB / 1.036 GB, free: 52.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/1.575, allocations: 8 kB / 1.036 GB, free: 52.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/1.575, allocations: 16 kB / 1.036 GB, free: 52.69 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003222/1.576, allocations: 176.9 kB / 1.036 GB, free: 52.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003688/1.576, allocations: 277.9 kB / 1.036 GB, free: 52.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/1.576, allocations: 0 / 1.036 GB, free: 52.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.895e-05/1.576, allocations: 0 / 1.036 GB, free: 52.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/1.576, allocations: 8 kB / 1.036 GB, free: 52.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/1.578, allocations: 1.577 MB / 1.038 GB, free: 50.49 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/1.578, allocations: 105.8 kB / 1.038 GB, free: 50.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/1.578, allocations: 76.86 kB / 1.038 GB, free: 50.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/1.578, allocations: 7.984 kB / 1.038 GB, free: 50.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/1.578, allocations: 30.56 kB / 1.038 GB, free: 50.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/1.578, allocations: 3.938 kB / 1.038 GB, free: 50.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.003974/1.582, allocations: 0.9756 MB / 1.039 GB, free: 49.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.978e-05/1.582, allocations: 51.41 kB / 1.039 GB, free: 49.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/1.582, allocations: 203.9 kB / 1.039 GB, free: 48.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/1.582, allocations: 25.7 kB / 1.039 GB, free: 48.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/1.582, allocations: 171.8 kB / 1.039 GB, free: 48.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/1.582, allocations: 86.75 kB / 1.039 GB, free: 48.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/1.583, allocations: 0 / 1.039 GB, free: 48.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.463e-05/1.583, allocations: 334.7 kB / 1.04 GB, free: 48.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/1.583, allocations: 79.98 kB / 1.04 GB, free: 48.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/1.583, allocations: 187.7 kB / 1.04 GB, free: 48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/1.583, allocations: 103.9 kB / 1.04 GB, free: 47.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/1.583, allocations: 7.938 kB / 1.04 GB, free: 47.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005283/1.584, allocations: 351 kB / 1.04 GB, free: 47.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/1.584, allocations: 4 kB / 1.04 GB, free: 47.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/1.584, allocations: 4 kB / 1.04 GB, free: 47.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002023/1.584, allocations: 69.62 kB / 1.04 GB, free: 47.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/1.584, allocations: 75.91 kB / 1.041 GB, free: 47.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001017/1.585, allocations: 1.816 MB / 1.042 GB, free: 45.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/1.585, allocations: 19.84 kB / 1.042 GB, free: 45.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-05/1.586, allocations: 39.98 kB / 1.042 GB, free: 45.37 MB / 426.7 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 9.491e-05/1.586, allocations: 112.9 kB / 1.042 GB, free: 45.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.436e-05/1.586, allocations: 23.72 kB / 1.042 GB, free: 45.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008125/1.587, allocations: 408.5 kB / 1.043 GB, free: 44.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/1.587, allocations: 4 kB / 1.043 GB, free: 44.81 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/1.587, allocations: 0 / 1.043 GB, free: 44.81 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000364/1.587, allocations: 0.5318 MB / 1.043 GB, free: 44.19 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008121/1.588, allocations: 0.6614 MB / 1.044 GB, free: 43.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/1.588, allocations: 0 / 1.044 GB, free: 43.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003158/1.588, allocations: 75.89 kB / 1.044 GB, free: 43.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.526e-05/1.588, allocations: 16.84 kB / 1.044 GB, free: 43.38 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/1.588, allocations: 12 kB / 1.044 GB, free: 43.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005593/1.589, allocations: 1.232 MB / 1.045 GB, free: 42.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.589, allocations: 4.031 kB / 1.045 GB, free: 42.02 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000499/1.589, allocations: 465.6 kB / 1.046 GB, free: 41.53 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.509e-05/1.589, allocations: 96.95 kB / 1.046 GB, free: 41.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.781e-05/1.589, allocations: 11.89 kB / 1.046 GB, free: 41.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002682/1.59, allocations: 8 kB / 1.046 GB, free: 41.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/1.59, allocations: 23.97 kB / 1.046 GB, free: 41.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/1.59, allocations: 31.98 kB / 1.046 GB, free: 41.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001142/1.59, allocations: 156.5 kB / 1.046 GB, free: 41.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006905/1.591, allocations: 159.9 kB / 1.046 GB, free: 41.03 MB / 426.7 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.001256/1.592, allocations: 0.9218 MB / 1.047 GB, free: 40.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005471/1.592, allocations: 342.3 kB / 1.047 GB, free: 39.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/1.592, allocations: 0 / 1.047 GB, free: 39.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000215/1.593, allocations: 205.8 kB / 1.048 GB, free: 39.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000769/1.593, allocations: 124.6 kB / 1.048 GB, free: 39.42 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009545/1.594, allocations: 475.1 kB / 1.048 GB, free: 38.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005331/1.595, allocations: 0.869 MB / 1.049 GB, free: 38.03 MB / 426.7 MB Notification: Performance of SimCode: time 2.7e-07/1.595, allocations: 0 / 1.049 GB, free: 38.03 MB / 426.7 MB Notification: Performance of Templates: time 0.01804/1.613, allocations: 12.35 MB / 1.061 GB, free: 25.65 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches