Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.00247/0.002469, allocations: 176.2 kB / 8.151 MB, free: 2.207 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.869/1.869, allocations: 205.2 MB / 213.7 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001298/0.001297, allocations: 89.86 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.231e-05/1.286e-05, allocations: 4 kB / 314.3 MB, free: 9.027 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2585, allocations: 47.54 MB / 361.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9156/1.174, allocations: 437.2 MB / 0.7803 GB, free: 42.65 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003544/1.175, allocations: 95.61 kB / 0.7804 GB, free: 42.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.6267/1.801, allocations: 141 MB / 0.9181 GB, free: 81.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.454e-05/1.801, allocations: 12 kB / 0.9181 GB, free: 81.37 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.001145/1.802, allocations: 0.5918 MB / 0.9187 GB, free: 80.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/1.803, allocations: 8.031 kB / 0.9187 GB, free: 80.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004016/1.803, allocations: 47.61 kB / 0.9187 GB, free: 80.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004627/1.803, allocations: 286.4 kB / 0.919 GB, free: 80.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/1.803, allocations: 8 kB / 0.919 GB, free: 80.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.622e-05/1.804, allocations: 12 kB / 0.919 GB, free: 80.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004719/1.804, allocations: 177 kB / 0.9192 GB, free: 80.17 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005732/1.805, allocations: 269.9 kB / 0.9194 GB, free: 79.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/1.805, allocations: 8 kB / 0.9194 GB, free: 79.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.142e-05/1.805, allocations: 0 / 0.9194 GB, free: 79.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/1.805, allocations: 4 kB / 0.9194 GB, free: 79.87 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002243/1.807, allocations: 1.576 MB / 0.921 GB, free: 78.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/1.807, allocations: 101.7 kB / 0.9211 GB, free: 78.06 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/1.807, allocations: 72.92 kB / 0.9212 GB, free: 77.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.864e-05/1.807, allocations: 10.44 kB / 0.9212 GB, free: 77.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/1.807, allocations: 42.56 kB / 0.9212 GB, free: 77.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 2.244e-06/1.808, allocations: 3.938 kB / 0.9212 GB, free: 77.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.007262/1.815, allocations: 0.9618 MB / 0.9221 GB, free: 76.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/1.815, allocations: 55.41 kB / 0.9222 GB, free: 76.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002726/1.815, allocations: 203.8 kB / 0.9224 GB, free: 76.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/1.815, allocations: 29.7 kB / 0.9224 GB, free: 76.58 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.482e-05/1.815, allocations: 226.2 kB / 0.9226 GB, free: 76.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.677e-05/1.815, allocations: 86.75 kB / 0.9227 GB, free: 76.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/1.815, allocations: 0 / 0.9227 GB, free: 76.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.996e-05/1.815, allocations: 326.8 kB / 0.923 GB, free: 75.94 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/1.816, allocations: 79.98 kB / 0.9231 GB, free: 75.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/1.816, allocations: 175.8 kB / 0.9233 GB, free: 75.65 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/1.816, allocations: 120.3 kB / 0.9234 GB, free: 75.53 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.816, allocations: 0 / 0.9234 GB, free: 75.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008457/1.817, allocations: 344.9 kB / 0.9237 GB, free: 75.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/1.817, allocations: 4 kB / 0.9237 GB, free: 75.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/1.817, allocations: 4.406 kB / 0.9237 GB, free: 75.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002731/1.817, allocations: 65.69 kB / 0.9238 GB, free: 75.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006169/1.818, allocations: 87.83 kB / 0.9239 GB, free: 75.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/1.82, allocations: 1.801 MB / 0.9256 GB, free: 73.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003532/1.82, allocations: 24.14 kB / 0.9257 GB, free: 73.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.456e-05/1.82, allocations: 32 kB / 0.9257 GB, free: 73.02 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.0001332/1.82, allocations: 43.09 kB / 0.9257 GB, free: 72.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/1.82, allocations: 23.72 kB / 0.9258 GB, free: 72.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/1.822, allocations: 392.5 kB / 0.9261 GB, free: 72.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/1.822, allocations: 7.906 kB / 0.9261 GB, free: 72.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.822, allocations: 4 kB / 0.9261 GB, free: 72.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005999/1.822, allocations: 0.5358 MB / 0.9267 GB, free: 71.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/1.824, allocations: 0.6483 MB / 0.9273 GB, free: 71.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/1.824, allocations: 7.938 kB / 0.9273 GB, free: 71.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005779/1.824, allocations: 67.95 kB / 0.9274 GB, free: 71.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001061/1.824, allocations: 28.89 kB / 0.9274 GB, free: 71.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.734e-05/1.824, allocations: 8 kB / 0.9274 GB, free: 71.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008337/1.825, allocations: 1.232 MB / 0.9286 GB, free: 69.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.825, allocations: 4.031 kB / 0.9286 GB, free: 69.77 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008541/1.826, allocations: 469.5 kB / 0.9291 GB, free: 69.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/1.826, allocations: 104.8 kB / 0.9292 GB, free: 69.15 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.143e-05/1.826, allocations: 0 / 0.9292 GB, free: 69.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004766/1.827, allocations: 8 kB / 0.9292 GB, free: 69.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.891e-05/1.827, allocations: 27.81 kB / 0.9292 GB, free: 69.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.698e-05/1.827, allocations: 31.98 kB / 0.9292 GB, free: 69.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001889/1.827, allocations: 160.6 kB / 0.9294 GB, free: 68.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009023/1.828, allocations: 163.9 kB / 0.9295 GB, free: 68.77 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.001481/1.83, allocations: 0.9085 MB / 0.9304 GB, free: 67.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008584/1.831, allocations: 334.2 kB / 0.9307 GB, free: 67.61 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/1.831, allocations: 4 kB / 0.9307 GB, free: 67.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003461/1.831, allocations: 213.6 kB / 0.9309 GB, free: 67.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/1.832, allocations: 116.8 kB / 0.9311 GB, free: 67.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/1.834, allocations: 0.5007 MB / 0.9315 GB, free: 66.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008753/1.835, allocations: 0.8689 MB / 0.9324 GB, free: 65.83 MB / 426.7 MB Notification: Performance of SimCode: time 1.262e-06/1.835, allocations: 0 / 0.9324 GB, free: 65.83 MB / 426.7 MB Notification: Performance of Templates: time 0.02081/1.855, allocations: 11.1 MB / 0.9432 GB, free: 54.73 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches