Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") [: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.0009041/0.0009041, allocations: 180.8 kB / 7.8 MB, free: 2.277 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.037/1.037, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008237/0.0008237, allocations: 85.28 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.1575/0.1575, allocations: 43.49 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.889e-06/4.909e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2502, allocations: 58.84 MB / 476.6 MB, free: 5.223 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.919/1.169, allocations: 0.6182 GB / 1.084 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/1.17, allocations: 92.69 kB / 1.084 GB, free: 142 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.57/1.74, allocations: 227.3 MB / 1.306 GB, free: 96.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.612e-05/1.74, allocations: 25.38 kB / 1.306 GB, free: 96.41 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.002846/1.742, allocations: 1.159 MB / 1.307 GB, free: 95.65 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/1.743, allocations: 8.25 kB / 1.307 GB, free: 95.65 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008097/1.743, allocations: 135.7 kB / 1.307 GB, free: 95.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008531/1.744, allocations: 0.5433 MB / 1.308 GB, free: 95.25 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-05/1.744, allocations: 89.41 kB / 1.308 GB, free: 95.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.117e-05/1.744, allocations: 27.16 kB / 1.308 GB, free: 95.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008113/1.745, allocations: 0.5365 MB / 1.308 GB, free: 95.01 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009467/1.746, allocations: 0.7431 MB / 1.309 GB, free: 94.59 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/1.746, allocations: 5.938 kB / 1.309 GB, free: 94.59 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.658e-05/1.746, allocations: 2.438 kB / 1.309 GB, free: 94.59 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-05/1.746, allocations: 47.52 kB / 1.309 GB, free: 94.58 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004138/1.75, allocations: 4.041 MB / 1.313 GB, free: 91.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003596/1.751, allocations: 205.7 kB / 1.313 GB, free: 91.36 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/1.751, allocations: 138.9 kB / 1.313 GB, free: 91.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.089e-05/1.751, allocations: 22.67 kB / 1.313 GB, free: 91.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/1.751, allocations: 39.98 kB / 1.313 GB, free: 91.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 1.943e-06/1.751, allocations: 0 / 1.313 GB, free: 91.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.005048/1.756, allocations: 1.435 MB / 1.315 GB, free: 90.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/1.756, allocations: 137.5 kB / 1.315 GB, free: 90.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005592/1.757, allocations: 462.3 kB / 1.315 GB, free: 90.17 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/1.757, allocations: 26.73 kB / 1.315 GB, free: 90.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/1.757, allocations: 337.1 kB / 1.316 GB, free: 89.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.185e-05/1.757, allocations: 119 kB / 1.316 GB, free: 89.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/1.757, allocations: 1.281 kB / 1.316 GB, free: 89.79 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001081/1.757, allocations: 370.6 kB / 1.316 GB, free: 89.45 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003031/1.758, allocations: 187 kB / 1.316 GB, free: 89.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000424/1.758, allocations: 498.6 kB / 1.317 GB, free: 88.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006787/1.759, allocations: 335.9 kB / 1.317 GB, free: 88.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/1.759, allocations: 2.594 kB / 1.317 GB, free: 88.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001419/1.76, allocations: 0.8335 MB / 1.318 GB, free: 88.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/1.76, allocations: 4.469 kB / 1.318 GB, free: 88.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/1.76, allocations: 10.25 kB / 1.318 GB, free: 88.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/1.761, allocations: 278.9 kB / 1.318 GB, free: 88.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003761/1.762, allocations: 120.7 kB / 1.318 GB, free: 88.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009943/1.763, allocations: 0.9667 MB / 1.319 GB, free: 87.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000601/1.763, allocations: 37.41 kB / 1.319 GB, free: 87.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.36e-05/1.764, allocations: 65.09 kB / 1.319 GB, free: 87.65 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.0001529/1.764, allocations: 134 kB / 1.319 GB, free: 87.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/1.764, allocations: 61.06 kB / 1.319 GB, free: 87.49 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/1.765, allocations: 0.564 MB / 1.32 GB, free: 87.22 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/1.765, allocations: 4.094 kB / 1.32 GB, free: 87.22 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/1.765, allocations: 0 / 1.32 GB, free: 87.22 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.765, allocations: 0 / 1.32 GB, free: 87.22 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/1.766, allocations: 0.9995 MB / 1.321 GB, free: 86.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/1.766, allocations: 5.312 kB / 1.321 GB, free: 86.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009774/1.767, allocations: 187.9 kB / 1.321 GB, free: 86.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.049e-05/1.768, allocations: 26.66 kB / 1.321 GB, free: 86.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/1.768, allocations: 11.86 kB / 1.321 GB, free: 86.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001305/1.769, allocations: 2.58 MB / 1.324 GB, free: 83.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.769, allocations: 0 / 1.324 GB, free: 83.84 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007805/1.77, allocations: 0.7028 MB / 1.324 GB, free: 83.42 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002024/1.77, allocations: 185 kB / 1.325 GB, free: 83.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.991e-05/1.77, allocations: 0 / 1.325 GB, free: 83.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003997/1.77, allocations: 26.05 kB / 1.325 GB, free: 83.24 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.697e-05/1.77, allocations: 27.19 kB / 1.325 GB, free: 83.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.235e-05/1.771, allocations: 36.98 kB / 1.325 GB, free: 83.22 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0003477/1.771, allocations: 342.9 kB / 1.325 GB, free: 83.03 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001259/1.772, allocations: 348 kB / 1.325 GB, free: 82.95 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.00158/1.774, allocations: 1.203 MB / 1.327 GB, free: 82.54 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009012/1.775, allocations: 487.4 kB / 1.327 GB, free: 82.35 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.775, allocations: 4.594 kB / 1.327 GB, free: 82.35 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/1.776, allocations: 405.5 kB / 1.327 GB, free: 82.14 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/1.777, allocations: 221.8 kB / 1.328 GB, free: 82.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/1.778, allocations: 0.8838 MB / 1.328 GB, free: 81.57 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00081/1.779, allocations: 1.067 MB / 1.329 GB, free: 80.71 MB / 0.4948 GB Notification: Performance of SimCode: time 2.61e-07/1.779, allocations: 0 / 1.329 GB, free: 80.71 MB / 0.4948 GB Notification: Performance of Templates: time 0.02502/1.804, allocations: 19.67 MB / 1.349 GB, free: 62.94 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches