Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.Nitrogen,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.Nitrogen") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,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.Nitrogen") [: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.001338/0.001338, allocations: 175.6 kB / 8.479 MB, free: 1.887 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.407/1.407, allocations: 205.2 MB / 214.1 MB, free: 5.086 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.0008386/0.0008386, allocations: 75.36 kB / 262.1 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.302e-06/6.312e-06, allocations: 0 / 315 MB, free: 41.47 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07644/0.07647, allocations: 47.57 MB / 362.6 MB, free: 9.945 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8544/0.9309, allocations: 437.2 MB / 0.781 GB, free: 135.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.9313, allocations: 95.92 kB / 0.7811 GB, free: 135.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.4648/1.396, allocations: 141 MB / 0.9188 GB, free: 99.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.859e-05/1.396, allocations: 6.047 kB / 0.9188 GB, free: 99.5 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.00139/1.398, allocations: 0.5936 MB / 0.9193 GB, free: 99.15 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/1.398, allocations: 13.84 kB / 0.9193 GB, free: 99.15 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004177/1.398, allocations: 41.12 kB / 0.9194 GB, free: 99.13 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004565/1.398, allocations: 277.9 kB / 0.9197 GB, free: 98.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/1.399, allocations: 7.844 kB / 0.9197 GB, free: 98.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.8e-05/1.399, allocations: 15.66 kB / 0.9197 GB, free: 98.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003767/1.399, allocations: 179.5 kB / 0.9198 GB, free: 98.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004193/1.399, allocations: 281.9 kB / 0.9201 GB, free: 98.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/1.399, allocations: 0 / 0.9201 GB, free: 98.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.794e-05/1.399, allocations: 3.812 kB / 0.9201 GB, free: 98.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/1.399, allocations: 3.938 kB / 0.9201 GB, free: 98.84 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001808/1.401, allocations: 1.558 MB / 0.9216 GB, free: 97.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/1.401, allocations: 106.5 kB / 0.9217 GB, free: 97.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/1.402, allocations: 88.44 kB / 0.9218 GB, free: 97.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-05/1.402, allocations: 7.609 kB / 0.9218 GB, free: 97.65 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/1.402, allocations: 41.22 kB / 0.9219 GB, free: 97.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 1.903e-06/1.402, allocations: 0 / 0.9219 GB, free: 97.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.004312/1.406, allocations: 0.9621 MB / 0.9228 GB, free: 97.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/1.406, allocations: 60.22 kB / 0.9229 GB, free: 97.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/1.406, allocations: 200.5 kB / 0.9231 GB, free: 97.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/1.406, allocations: 25.7 kB / 0.9231 GB, free: 97.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.33e-05/1.406, allocations: 173.7 kB / 0.9233 GB, free: 96.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.434e-05/1.407, allocations: 86.12 kB / 0.9233 GB, free: 96.85 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.831e-05/1.407, allocations: 0 / 0.9233 GB, free: 96.85 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/1.407, allocations: 334.8 kB / 0.9237 GB, free: 96.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/1.407, allocations: 80.5 kB / 0.9237 GB, free: 96.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/1.407, allocations: 176.6 kB / 0.9239 GB, free: 96.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/1.407, allocations: 114.4 kB / 0.924 GB, free: 96.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.407, allocations: 6.438 kB / 0.924 GB, free: 96.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005852/1.408, allocations: 355.8 kB / 0.9244 GB, free: 96.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/1.408, allocations: 7.75 kB / 0.9244 GB, free: 96.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/1.408, allocations: 3.438 kB / 0.9244 GB, free: 96.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002228/1.408, allocations: 64.78 kB / 0.9244 GB, free: 96.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003509/1.408, allocations: 83.16 kB / 0.9245 GB, free: 96.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/1.41, allocations: 1.806 MB / 0.9263 GB, free: 94.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/1.41, allocations: 20.69 kB / 0.9263 GB, free: 94.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.599e-05/1.41, allocations: 41.66 kB / 0.9263 GB, free: 94.62 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 0.0001138/1.41, allocations: 115.5 kB / 0.9264 GB, free: 94.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.332e-05/1.41, allocations: 24.72 kB / 0.9265 GB, free: 94.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008731/1.411, allocations: 401.2 kB / 0.9268 GB, free: 94.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/1.411, allocations: 0 / 0.9268 GB, free: 94.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.411, allocations: 3.938 kB / 0.9269 GB, free: 94.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004016/1.412, allocations: 0.5343 MB / 0.9274 GB, free: 94 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008828/1.412, allocations: 0.6566 MB / 0.928 GB, free: 93.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/1.412, allocations: 3.594 kB / 0.928 GB, free: 93.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003218/1.413, allocations: 68.67 kB / 0.9281 GB, free: 93.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.83e-05/1.413, allocations: 22.69 kB / 0.9281 GB, free: 93.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/1.413, allocations: 11.67 kB / 0.9281 GB, free: 93.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006758/1.414, allocations: 1.22 MB / 0.9293 GB, free: 92.49 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.414, allocations: 8.094 kB / 0.9293 GB, free: 92.49 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005812/1.414, allocations: 471.4 kB / 0.9298 GB, free: 92.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.964e-05/1.414, allocations: 104.9 kB / 0.9299 GB, free: 92.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.547e-05/1.414, allocations: 3.812 kB / 0.9299 GB, free: 92.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/1.415, allocations: 13.05 kB / 0.9299 GB, free: 92.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/1.415, allocations: 21.72 kB / 0.9299 GB, free: 92.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-05/1.415, allocations: 32.53 kB / 0.9299 GB, free: 92.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.000139/1.415, allocations: 157.2 kB / 0.9301 GB, free: 92.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000739/1.416, allocations: 166.5 kB / 0.9302 GB, free: 92.1 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.001484/1.417, allocations: 0.8993 MB / 0.9311 GB, free: 91.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006166/1.418, allocations: 337.7 kB / 0.9314 GB, free: 91.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.418, allocations: 0 / 0.9314 GB, free: 91.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002385/1.418, allocations: 221.3 kB / 0.9317 GB, free: 91.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007548/1.419, allocations: 110.5 kB / 0.9318 GB, free: 91.74 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/1.42, allocations: 486 kB / 0.9322 GB, free: 91.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006392/1.42, allocations: 0.8687 MB / 0.9331 GB, free: 90.88 MB / 426.7 MB Notification: Performance of SimCode: time 2.8e-07/1.42, allocations: 0 / 0.9331 GB, free: 90.88 MB / 426.7 MB Notification: Performance of Templates: time 0.02068/1.441, allocations: 12.3 MB / 0.9451 GB, free: 90.56 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_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/Nitrogen/Nitrogen.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches