Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.10.|TA.1.|TA.2.|TA.3.|TB.10.|TB.1.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.10..|der.TA.2..|der.TA.3..|der.TB.1..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.10.|TA.1.|TA.2.|TA.3.|TB.10.|TB.1.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.10..|der.TA.2..|der.TA.3..|der.TB.1..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10") [:1:1-1:33: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 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 184.5 kB / 8.137 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.043/1.043, allocations: 221.4 MB / 229.9 MB, free: 3.094 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008586/0.0008586, allocations: 90.94 kB / 280.8 MB, free: 1.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.604/0.604, allocations: 120.4 MB / 452 MB, free: 13.01 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 4.96e-06/4.97e-06, allocations: 0 / 0.5289 GB, free: 51.82 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1019, allocations: 82.85 MB / 0.6098 GB, free: 2.84 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.428/0.5299, allocations: 124.8 MB / 0.7317 GB, free: 4.598 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001052/0.53, allocations: 54.52 kB / 0.7317 GB, free: 4.578 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01656/0.5466, allocations: 5.458 MB / 0.7371 GB, free: 15.89 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.5466, allocations: 4 kB / 0.7371 GB, free: 15.88 MB / 0.5109 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001547/0.5482, allocations: 0.7558 MB / 0.7378 GB, free: 15.09 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.5482, allocations: 10.66 kB / 0.7378 GB, free: 15.09 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.234e-05/0.5483, allocations: 35.62 kB / 0.7378 GB, free: 15.05 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006085/0.5489, allocations: 291.3 kB / 0.7381 GB, free: 14.73 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.5489, allocations: 11.91 kB / 0.7381 GB, free: 14.71 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.48e-05/0.549, allocations: 34.91 kB / 0.7382 GB, free: 14.68 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005271/0.5496, allocations: 368.3 kB / 0.7385 GB, free: 14.42 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005733/0.5502, allocations: 408.3 kB / 0.7389 GB, free: 14.09 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.5502, allocations: 0 / 0.7389 GB, free: 14.09 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.988e-05/0.5502, allocations: 0 / 0.7389 GB, free: 14.09 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.5502, allocations: 8 kB / 0.7389 GB, free: 14.08 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002583/0.5528, allocations: 2.086 MB / 0.741 GB, free: 11.84 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006363/0.5535, allocations: 438.5 kB / 0.7414 GB, free: 11.51 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003691/0.5538, allocations: 308.8 kB / 0.7417 GB, free: 11.3 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 4.562e-05/0.5539, allocations: 4.438 kB / 0.7417 GB, free: 11.3 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.5539, allocations: 34.44 kB / 0.7417 GB, free: 11.26 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=49): time 1.443e-06/0.5539, allocations: 4 kB / 0.7417 GB, free: 11.26 MB / 0.5109 GB Notification: Performance of matching and sorting (n=49): time 0.0008745/0.5548, allocations: 0.5617 MB / 0.7423 GB, free: 10.8 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.5549, allocations: 59.84 kB / 0.7423 GB, free: 10.73 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.811e-05/0.5549, allocations: 113.9 kB / 0.7424 GB, free: 10.62 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 4.441e-05/0.555, allocations: 28.89 kB / 0.7424 GB, free: 10.59 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.555, allocations: 116.4 kB / 0.7426 GB, free: 10.48 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.5552, allocations: 195.9 kB / 0.7427 GB, free: 10.31 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.5552, allocations: 0 / 0.7427 GB, free: 10.31 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 9.964e-05/0.5553, allocations: 337.4 kB / 0.7431 GB, free: 9.98 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003601/0.5557, allocations: 271 kB / 0.7433 GB, free: 9.789 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/0.5561, allocations: 318.4 kB / 0.7436 GB, free: 9.551 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/0.5565, allocations: 315.6 kB / 0.7439 GB, free: 9.32 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.5565, allocations: 0 / 0.7439 GB, free: 9.32 MB / 0.5109 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001036/0.5575, allocations: 0.6957 MB / 0.7446 GB, free: 8.762 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.5576, allocations: 4 kB / 0.7446 GB, free: 8.758 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.5576, allocations: 0 / 0.7446 GB, free: 8.758 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.5576, allocations: 4 kB / 0.7446 GB, free: 8.754 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.5587, allocations: 250.8 kB / 0.7449 GB, free: 8.512 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.5587, allocations: 15.95 kB / 0.7449 GB, free: 8.496 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003692/0.5591, allocations: 39.52 kB / 0.7449 GB, free: 8.457 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.072e-05/0.5592, allocations: 19.25 kB / 0.7449 GB, free: 8.445 MB / 0.5109 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.5593, allocations: 116.8 kB / 0.745 GB, free: 8.324 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-05/0.5594, allocations: 19.72 kB / 0.7451 GB, free: 8.305 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.5595, allocations: 68.31 kB / 0.7451 GB, free: 8.293 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.5595, allocations: 8 kB / 0.7451 GB, free: 8.285 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.5595, allocations: 0 / 0.7451 GB, free: 8.285 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.5595, allocations: 7.891 kB / 0.7451 GB, free: 8.277 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004872/0.56, allocations: 425.8 kB / 0.7455 GB, free: 7.879 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.56, allocations: 2.188 kB / 0.7455 GB, free: 7.879 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001467/0.5615, allocations: 251.4 kB / 0.7458 GB, free: 7.637 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.5615, allocations: 0 / 0.7458 GB, free: 7.637 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.166e-05/0.5616, allocations: 19.55 kB / 0.7458 GB, free: 7.621 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.5616, allocations: 1.328 kB / 0.7458 GB, free: 7.621 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.5616, allocations: 0 / 0.7458 GB, free: 7.621 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0012/0.5628, allocations: 0.986 MB / 0.7468 GB, free: 6.844 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 6.138e-05/0.5629, allocations: 104.7 kB / 0.7469 GB, free: 6.723 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.627e-05/0.563, allocations: 11.98 kB / 0.7469 GB, free: 6.711 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003941/0.5634, allocations: 15.89 kB / 0.7469 GB, free: 6.695 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.865e-05/0.5635, allocations: 28.14 kB / 0.7469 GB, free: 6.672 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.336e-05/0.5635, allocations: 8 kB / 0.7469 GB, free: 6.664 MB / 0.5109 GB Notification: Performance of sort global known variables: time 4.107e-05/0.5636, allocations: 102 kB / 0.747 GB, free: 6.57 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0003804/0.5639, allocations: 135.8 kB / 0.7472 GB, free: 6.438 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 27 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001248/0.5641, allocations: 108.6 kB / 0.7473 GB, free: 6.324 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0008071/0.5649, allocations: 0.6243 MB / 0.7479 GB, free: 5.848 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.5649, allocations: 0 / 0.7479 GB, free: 5.848 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0003817/0.5653, allocations: 310.3 kB / 0.7482 GB, free: 5.629 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.5656, allocations: 55.03 kB / 0.7482 GB, free: 5.582 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/0.5686, allocations: 2.312 MB / 0.7505 GB, free: 3.305 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005707/0.5692, allocations: 0.8409 MB / 0.7513 GB, free: 2.445 MB / 0.5109 GB Notification: Performance of SimCode: time 3.71e-07/0.5692, allocations: 0 / 0.7513 GB, free: 2.445 MB / 0.5109 GB Notification: Performance of Templates: time 0.009589/0.5788, allocations: 6.978 MB / 0.7581 GB, free: 11.53 MB / 0.5265 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches