Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002394/0.002394, allocations: 171.2 kB / 8.144 MB, free: 2.688 MB / 6.207 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.822/1.822, allocations: 205.2 MB / 213.8 MB, free: 2.145 MB / 174.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001235/0.001235, allocations: 92.41 kB / 261.8 MB, free: 1.484 MB / 206.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2674/0.2674, allocations: 43.5 MB / 353.2 MB, free: 5.883 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 8.536e-06/8.866e-06, allocations: 224 / 417.7 MB, free: 63.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1018, allocations: 58.85 MB / 476.6 MB, free: 4.273 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.573/1.674, allocations: 0.6186 GB / 1.084 GB, free: 141.7 MB / 0.4981 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/1.675, allocations: 92.11 kB / 1.084 GB, free: 141.7 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.034/2.708, allocations: 227.3 MB / 1.306 GB, free: 100.8 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.421e-05/2.708, allocations: 18.38 kB / 1.306 GB, free: 100.8 MB / 0.4981 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.003869/2.712, allocations: 1.166 MB / 1.307 GB, free: 100.3 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/2.712, allocations: 10.81 kB / 1.307 GB, free: 100.3 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/2.714, allocations: 143.1 kB / 1.307 GB, free: 100.2 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/2.715, allocations: 0.5276 MB / 1.308 GB, free: 100 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/2.716, allocations: 91.86 kB / 1.308 GB, free: 99.94 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/2.716, allocations: 29.53 kB / 1.308 GB, free: 99.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001429/2.717, allocations: 0.5413 MB / 1.309 GB, free: 99.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/2.719, allocations: 0.7357 MB / 1.309 GB, free: 99.7 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/2.719, allocations: 10.47 kB / 1.309 GB, free: 99.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/2.719, allocations: 3.609 kB / 1.309 GB, free: 99.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-05/2.719, allocations: 41.2 kB / 1.309 GB, free: 99.7 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006661/2.726, allocations: 4.035 MB / 1.313 GB, free: 97.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000506/2.726, allocations: 207 kB / 1.313 GB, free: 97.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000328/2.726, allocations: 132.9 kB / 1.314 GB, free: 97.06 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.581e-05/2.727, allocations: 25.73 kB / 1.314 GB, free: 97.06 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/2.727, allocations: 47.23 kB / 1.314 GB, free: 97.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=28): time 2.725e-06/2.727, allocations: 0 / 1.314 GB, free: 97.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.009836/2.737, allocations: 1.439 MB / 1.315 GB, free: 96.55 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/2.737, allocations: 132.3 kB / 1.315 GB, free: 96.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008337/2.737, allocations: 466.1 kB / 1.316 GB, free: 96.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.098e-05/2.738, allocations: 25.7 kB / 1.316 GB, free: 96.24 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/2.738, allocations: 373.6 kB / 1.316 GB, free: 95.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/2.738, allocations: 119.7 kB / 1.316 GB, free: 95.92 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-05/2.738, allocations: 3.094 kB / 1.316 GB, free: 95.92 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.812e-05/2.738, allocations: 341.6 kB / 1.316 GB, free: 95.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005044/2.739, allocations: 184.5 kB / 1.317 GB, free: 95.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006621/2.739, allocations: 496.4 kB / 1.317 GB, free: 95.22 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/2.74, allocations: 337.5 kB / 1.317 GB, free: 95.22 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/2.74, allocations: 3.875 kB / 1.317 GB, free: 95.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002275/2.743, allocations: 0.8025 MB / 1.318 GB, free: 95.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/2.743, allocations: 3.938 kB / 1.318 GB, free: 95.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/2.743, allocations: 14.56 kB / 1.318 GB, free: 95.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001987/2.745, allocations: 272 kB / 1.318 GB, free: 95.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007558/2.746, allocations: 124.3 kB / 1.319 GB, free: 95.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/2.747, allocations: 0.9612 MB / 1.32 GB, free: 94.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008138/2.748, allocations: 40.61 kB / 1.32 GB, free: 94.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/2.748, allocations: 68.31 kB / 1.32 GB, free: 94.62 MB / 0.4981 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.0002126/2.748, allocations: 56.66 kB / 1.32 GB, free: 94.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00022/2.749, allocations: 63.62 kB / 1.32 GB, free: 94.56 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/2.751, allocations: 0.5503 MB / 1.32 GB, free: 94.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.799e-06/2.751, allocations: 1.906 kB / 1.32 GB, free: 94.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/2.751, allocations: 4.312 kB / 1.32 GB, free: 94.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/2.751, allocations: 6.984 kB / 1.32 GB, free: 94.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002384/2.753, allocations: 0.9919 MB / 1.321 GB, free: 94.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/2.753, allocations: 0 / 1.321 GB, free: 94.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002004/2.755, allocations: 197.9 kB / 1.321 GB, free: 94.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001339/2.756, allocations: 24.28 kB / 1.321 GB, free: 94.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.726e-05/2.756, allocations: 13.44 kB / 1.322 GB, free: 94.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/2.758, allocations: 2.573 MB / 1.324 GB, free: 91.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/2.758, allocations: 3.094 kB / 1.324 GB, free: 91.76 MB / 0.4981 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001658/2.76, allocations: 0.7061 MB / 1.325 GB, free: 91.55 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003896/2.76, allocations: 175.6 kB / 1.325 GB, free: 91.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/2.76, allocations: 0 / 1.325 GB, free: 91.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007767/2.761, allocations: 25.91 kB / 1.325 GB, free: 91.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/2.761, allocations: 28.44 kB / 1.325 GB, free: 91.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-05/2.761, allocations: 35.98 kB / 1.325 GB, free: 91.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 0.0006059/2.762, allocations: 346.3 kB / 1.325 GB, free: 91.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001833/2.764, allocations: 349.1 kB / 1.326 GB, free: 91.31 MB / 0.4981 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.002507/2.766, allocations: 1.198 MB / 1.327 GB, free: 91.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001677/2.768, allocations: 497.9 kB / 1.327 GB, free: 91.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/2.768, allocations: 2.406 kB / 1.327 GB, free: 91.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00192/2.77, allocations: 391.5 kB / 1.328 GB, free: 91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/2.772, allocations: 242.6 kB / 1.328 GB, free: 90.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002723/2.775, allocations: 0.9265 MB / 1.329 GB, free: 90.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001278/2.776, allocations: 1.071 MB / 1.33 GB, free: 90 MB / 0.4981 GB Notification: Performance of SimCode: time 1.072e-06/2.776, allocations: 0 / 1.33 GB, free: 90 MB / 0.4981 GB Notification: Performance of Templates: time 0.0372/2.814, allocations: 19.97 MB / 1.349 GB, free: 89.54 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches