Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.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.0009392/0.0009393, allocations: 191 kB / 7.804 MB, free: 2.488 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.013/1.013, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.0008206/0.0008206, allocations: 91.39 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1535/0.1535, allocations: 43.49 MB / 352.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.471e-06/5.481e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2202, allocations: 58.85 MB / 476.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6967/0.9169, allocations: 0.5076 GB / 0.973 GB, free: 40.12 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.9172, allocations: 94.8 kB / 0.9731 GB, free: 40.06 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.5567/1.474, allocations: 217.2 MB / 1.185 GB, free: 21.19 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.094e-05/1.474, allocations: 19.94 kB / 1.185 GB, free: 21.17 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00201/1.476, allocations: 1.101 MB / 1.186 GB, free: 20.03 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/1.476, allocations: 11.97 kB / 1.186 GB, free: 20.02 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007414/1.477, allocations: 143 kB / 1.186 GB, free: 19.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008013/1.478, allocations: 0.5501 MB / 1.187 GB, free: 19.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.615e-05/1.478, allocations: 80.41 kB / 1.187 GB, free: 19.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.276e-05/1.478, allocations: 32 kB / 1.187 GB, free: 19.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007375/1.479, allocations: 0.5333 MB / 1.188 GB, free: 18.64 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008833/1.479, allocations: 0.7546 MB / 1.188 GB, free: 17.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/1.479, allocations: 0 / 1.188 GB, free: 17.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.869e-05/1.48, allocations: 4 kB / 1.188 GB, free: 17.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-05/1.48, allocations: 44.92 kB / 1.188 GB, free: 17.76 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003403/1.483, allocations: 4.024 MB / 1.192 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/1.483, allocations: 202.3 kB / 1.193 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/1.483, allocations: 145.2 kB / 1.193 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.425e-05/1.483, allocations: 24.02 kB / 1.193 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/1.483, allocations: 34.8 kB / 1.193 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 1.423e-06/1.483, allocations: 0 / 1.193 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.004451/1.488, allocations: 1.44 MB / 1.194 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/1.488, allocations: 132.5 kB / 1.194 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003814/1.488, allocations: 470 kB / 1.195 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/1.488, allocations: 25.7 kB / 1.195 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/1.489, allocations: 334.9 kB / 1.195 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.174e-05/1.489, allocations: 118.3 kB / 1.195 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/1.489, allocations: 4 kB / 1.195 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.741e-05/1.489, allocations: 370.8 kB / 1.196 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/1.489, allocations: 181.5 kB / 1.196 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/1.489, allocations: 0.4932 MB / 1.196 GB, free: 9.305 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005188/1.49, allocations: 327.6 kB / 1.197 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.49, allocations: 8 kB / 1.197 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001154/1.491, allocations: 0.8293 MB / 1.197 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/1.491, allocations: 12.25 kB / 1.197 GB, free: 8.125 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/1.491, allocations: 8 kB / 1.197 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/1.492, allocations: 283.6 kB / 1.198 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003399/1.492, allocations: 115.8 kB / 1.198 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008416/1.493, allocations: 0.9702 MB / 1.199 GB, free: 6.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004854/1.494, allocations: 31.88 kB / 1.199 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.941e-05/1.494, allocations: 71.94 kB / 1.199 GB, free: 6.629 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.000113/1.494, allocations: 138.4 kB / 1.199 GB, free: 6.488 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.545e-05/1.494, allocations: 59.25 kB / 1.199 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/1.495, allocations: 0.5548 MB / 1.2 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/1.495, allocations: 4 kB / 1.2 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.495, allocations: 3.906 kB / 1.2 GB, free: 5.852 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/1.495, allocations: 0 / 1.2 GB, free: 5.852 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/1.496, allocations: 0.9938 MB / 1.2 GB, free: 4.816 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/1.496, allocations: 0 / 1.2 GB, free: 4.816 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009365/1.497, allocations: 191.8 kB / 1.201 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.196e-05/1.497, allocations: 24.88 kB / 1.201 GB, free: 4.602 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/1.497, allocations: 11.98 kB / 1.201 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/1.499, allocations: 2.58 MB / 1.203 GB, free: 1.777 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.499, allocations: 4.031 kB / 1.203 GB, free: 1.773 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007276/1.499, allocations: 0.7021 MB / 1.204 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/1.499, allocations: 172.6 kB / 1.204 GB, free: 0.8555 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/1.5, allocations: 11.83 kB / 1.204 GB, free: 0.8438 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003976/1.5, allocations: 15.98 kB / 1.204 GB, free: 0.8281 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.098e-05/1.5, allocations: 27.97 kB / 1.204 GB, free: 0.8008 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.817e-05/1.5, allocations: 35.98 kB / 1.204 GB, free: 0.7656 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002714/1.5, allocations: 346.9 kB / 1.205 GB, free: 440 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009698/1.501, allocations: 345 kB / 1.205 GB, free: 96 kB / 0.4948 GB 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.1321/1.633, allocations: 1.172 MB / 1.206 GB, free: 143.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001051/1.634, allocations: 493.4 kB / 1.206 GB, free: 143.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.634, allocations: 0 / 1.206 GB, free: 143.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009783/1.635, allocations: 397 kB / 1.207 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/1.637, allocations: 239.2 kB / 1.207 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/1.638, allocations: 0.8833 MB / 1.208 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006834/1.639, allocations: 1.068 MB / 1.209 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/1.639, allocations: 1.938 kB / 1.209 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.02415/1.663, allocations: 19.55 MB / 1.228 GB, free: 142.4 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches