Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.Air,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.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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000938/0.0009379, allocations: 187.8 kB / 7.804 MB, free: 2.492 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.091/1.091, 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.0008161/0.000816, allocations: 98.89 kB / 261.4 MB, free: 13.54 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.1515/0.1515, allocations: 43.49 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.372e-06/6.402e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2204, allocations: 58.84 MB / 476.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9033/1.124, allocations: 0.6182 GB / 1.084 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/1.124, allocations: 97.48 kB / 1.084 GB, free: 140.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.5729/1.697, allocations: 227.3 MB / 1.306 GB, free: 96.72 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.964e-05/1.697, allocations: 18.38 kB / 1.306 GB, free: 96.72 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.002518/1.699, allocations: 1.162 MB / 1.307 GB, free: 95.96 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/1.699, allocations: 8.719 kB / 1.307 GB, free: 95.96 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008526/1.7, allocations: 133.1 kB / 1.307 GB, free: 95.91 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009688/1.701, allocations: 0.5342 MB / 1.307 GB, free: 95.57 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.61e-05/1.701, allocations: 95.75 kB / 1.308 GB, free: 95.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.272e-05/1.702, allocations: 30.19 kB / 1.308 GB, free: 95.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008795/1.702, allocations: 0.5364 MB / 1.308 GB, free: 95.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/1.703, allocations: 0.7369 MB / 1.309 GB, free: 94.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/1.704, allocations: 6.125 kB / 1.309 GB, free: 94.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.477e-05/1.704, allocations: 4.406 kB / 1.309 GB, free: 94.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.115e-05/1.704, allocations: 47.08 kB / 1.309 GB, free: 94.89 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003768/1.707, allocations: 4.049 MB / 1.313 GB, free: 91.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/1.708, allocations: 205.9 kB / 1.313 GB, free: 91.31 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/1.708, allocations: 133.1 kB / 1.313 GB, free: 91.25 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.514e-05/1.708, allocations: 28.56 kB / 1.313 GB, free: 91.24 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/1.708, allocations: 37.17 kB / 1.313 GB, free: 91.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 2.114e-06/1.708, allocations: 0 / 1.313 GB, free: 91.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.004855/1.713, allocations: 1.433 MB / 1.315 GB, free: 90.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/1.713, allocations: 139 kB / 1.315 GB, free: 90.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004944/1.713, allocations: 468.8 kB / 1.315 GB, free: 89.87 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/1.713, allocations: 26.77 kB / 1.315 GB, free: 89.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/1.714, allocations: 332.6 kB / 1.316 GB, free: 89.55 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.192e-05/1.714, allocations: 119 kB / 1.316 GB, free: 89.45 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/1.714, allocations: 0 / 1.316 GB, free: 89.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.855e-05/1.714, allocations: 369.4 kB / 1.316 GB, free: 89.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/1.714, allocations: 196.4 kB / 1.316 GB, free: 89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003619/1.714, allocations: 497.3 kB / 1.317 GB, free: 88.51 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005867/1.715, allocations: 336.4 kB / 1.317 GB, free: 88.36 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/1.715, allocations: 2.781 kB / 1.317 GB, free: 88.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001298/1.716, allocations: 0.83 MB / 1.318 GB, free: 87.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/1.716, allocations: 7.531 kB / 1.318 GB, free: 87.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/1.716, allocations: 7.375 kB / 1.318 GB, free: 87.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/1.717, allocations: 284.1 kB / 1.318 GB, free: 87.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/1.718, allocations: 119.6 kB / 1.318 GB, free: 87.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009435/1.719, allocations: 0.966 MB / 1.319 GB, free: 87.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005626/1.719, allocations: 28.44 kB / 1.319 GB, free: 87.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.773e-05/1.719, allocations: 72.64 kB / 1.319 GB, free: 87.09 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.0001282/1.72, allocations: 141 kB / 1.319 GB, free: 86.96 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.18e-05/1.72, allocations: 57.12 kB / 1.319 GB, free: 86.93 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/1.721, allocations: 0.5556 MB / 1.32 GB, free: 86.66 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/1.721, allocations: 2.75 kB / 1.32 GB, free: 86.66 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/1.721, allocations: 1.375 kB / 1.32 GB, free: 86.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/1.721, allocations: 3.984 kB / 1.32 GB, free: 86.66 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/1.722, allocations: 0.9993 MB / 1.321 GB, free: 85.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/1.722, allocations: 0 / 1.321 GB, free: 85.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/1.723, allocations: 189 kB / 1.321 GB, free: 85.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.242e-05/1.723, allocations: 22.5 kB / 1.321 GB, free: 85.91 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/1.724, allocations: 15.52 kB / 1.321 GB, free: 85.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001395/1.725, allocations: 2.579 MB / 1.324 GB, free: 83.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.725, allocations: 3.984 kB / 1.324 GB, free: 83.28 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009398/1.726, allocations: 0.704 MB / 1.324 GB, free: 82.85 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002112/1.726, allocations: 177.6 kB / 1.325 GB, free: 82.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/1.726, allocations: 2.094 kB / 1.325 GB, free: 82.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000413/1.727, allocations: 19.23 kB / 1.325 GB, free: 82.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.457e-05/1.727, allocations: 29.41 kB / 1.325 GB, free: 82.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.228e-05/1.727, allocations: 40.88 kB / 1.325 GB, free: 82.66 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0003843/1.727, allocations: 340.1 kB / 1.325 GB, free: 82.46 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001379/1.729, allocations: 353.8 kB / 1.325 GB, free: 82.38 MB / 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.00173/1.73, allocations: 1.202 MB / 1.326 GB, free: 81.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001071/1.731, allocations: 492.5 kB / 1.327 GB, free: 81.78 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.731, allocations: 0 / 1.327 GB, free: 81.78 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001207/1.733, allocations: 404.3 kB / 1.327 GB, free: 81.57 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/1.734, allocations: 222.8 kB / 1.328 GB, free: 81.47 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/1.736, allocations: 0.8888 MB / 1.328 GB, free: 80.96 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008888/1.737, allocations: 1.067 MB / 1.329 GB, free: 80.09 MB / 0.4948 GB Notification: Performance of SimCode: time 9.91e-07/1.737, allocations: 1.375 kB / 1.329 GB, free: 80.09 MB / 0.4948 GB Notification: Performance of Templates: time 0.02501/1.762, allocations: 19.67 MB / 1.349 GB, free: 61.36 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches