Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.0008688/0.0008688, allocations: 184.5 kB / 8.135 MB, free: 2.191 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.04/1.04, allocations: 221.4 MB / 229.9 MB, free: 3.059 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.0008262/0.0008262, allocations: 109 kB / 280.8 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.616/0.616, allocations: 120.4 MB / 452 MB, free: 12.97 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.921e-06/5.941e-06, allocations: 4 kB / 0.5289 GB, free: 51.74 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1132, allocations: 82.84 MB / 0.6098 GB, free: 2.789 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4977/0.6109, allocations: 124.8 MB / 0.7317 GB, free: 4.809 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001229/0.6111, allocations: 49.48 kB / 0.7317 GB, free: 4.793 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01651/0.6276, allocations: 5.46 MB / 0.7371 GB, free: 88 kB / 0.4953 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.6277, allocations: 4 kB / 0.7371 GB, free: 84 kB / 0.4953 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.001555/0.6292, allocations: 0.7567 MB / 0.7378 GB, free: 15.28 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.6293, allocations: 12.03 kB / 0.7378 GB, free: 15.27 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.952e-05/0.6294, allocations: 36.12 kB / 0.7378 GB, free: 15.23 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005696/0.63, allocations: 287.3 kB / 0.7381 GB, free: 14.91 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.63, allocations: 15.91 kB / 0.7381 GB, free: 14.9 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.309e-05/0.6301, allocations: 35.52 kB / 0.7382 GB, free: 14.87 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005429/0.6306, allocations: 365.4 kB / 0.7385 GB, free: 14.6 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005722/0.6312, allocations: 409.3 kB / 0.7389 GB, free: 14.27 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.6312, allocations: 0 / 0.7389 GB, free: 14.27 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.374e-05/0.6313, allocations: 4 kB / 0.7389 GB, free: 14.27 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.6313, allocations: 4 kB / 0.7389 GB, free: 14.26 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00258/0.6339, allocations: 2.088 MB / 0.741 GB, free: 12.03 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006356/0.6345, allocations: 431.6 kB / 0.7414 GB, free: 11.7 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003687/0.6349, allocations: 309.9 kB / 0.7417 GB, free: 11.49 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 4.845e-05/0.635, allocations: 4.438 kB / 0.7417 GB, free: 11.48 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.635, allocations: 38.19 kB / 0.7417 GB, free: 11.44 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=49): time 1.784e-06/0.635, allocations: 0 / 0.7417 GB, free: 11.44 MB / 0.5109 GB Notification: Performance of matching and sorting (n=49): time 0.0008691/0.6359, allocations: 0.5571 MB / 0.7422 GB, free: 10.99 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.6359, allocations: 67.78 kB / 0.7423 GB, free: 10.91 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.317e-05/0.636, allocations: 118.6 kB / 0.7424 GB, free: 10.8 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 5.956e-05/0.6361, allocations: 25.7 kB / 0.7424 GB, free: 10.77 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/0.6361, allocations: 112.5 kB / 0.7426 GB, free: 10.66 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.6363, allocations: 200.1 kB / 0.7427 GB, free: 10.48 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.6363, allocations: 0 / 0.7427 GB, free: 10.48 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 9.785e-05/0.6364, allocations: 340.8 kB / 0.7431 GB, free: 10.16 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003542/0.6368, allocations: 265 kB / 0.7433 GB, free: 9.969 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003775/0.6372, allocations: 322.5 kB / 0.7436 GB, free: 9.727 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003984/0.6376, allocations: 313.1 kB / 0.7439 GB, free: 9.496 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6376, allocations: 0 / 0.7439 GB, free: 9.496 MB / 0.5109 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009346/0.6385, allocations: 0.6924 MB / 0.7446 GB, free: 8.941 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.6385, allocations: 8 kB / 0.7446 GB, free: 8.934 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.6385, allocations: 0 / 0.7446 GB, free: 8.934 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.6386, allocations: 4 kB / 0.7446 GB, free: 8.93 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.6397, allocations: 252.8 kB / 0.7449 GB, free: 8.688 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.6397, allocations: 4.031 kB / 0.7449 GB, free: 8.684 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/0.6401, allocations: 43.52 kB / 0.7449 GB, free: 8.641 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-05/0.6402, allocations: 19.19 kB / 0.7449 GB, free: 8.625 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.0001237/0.6403, allocations: 112.5 kB / 0.745 GB, free: 8.512 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.022e-05/0.6404, allocations: 23.72 kB / 0.7451 GB, free: 8.488 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.6405, allocations: 70.36 kB / 0.7451 GB, free: 8.477 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.6405, allocations: 12 kB / 0.7451 GB, free: 8.465 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.6405, allocations: 0 / 0.7451 GB, free: 8.465 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.6406, allocations: 3.906 kB / 0.7451 GB, free: 8.461 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005106/0.6411, allocations: 423.8 kB / 0.7455 GB, free: 8.062 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.6411, allocations: 6.312 kB / 0.7455 GB, free: 8.059 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/0.6425, allocations: 251.5 kB / 0.7458 GB, free: 7.816 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.6425, allocations: 4 kB / 0.7458 GB, free: 7.812 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.996e-05/0.6426, allocations: 14.36 kB / 0.7458 GB, free: 7.801 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.6426, allocations: 4 kB / 0.7458 GB, free: 7.797 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.6426, allocations: 0 / 0.7458 GB, free: 7.797 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001224/0.6438, allocations: 0.9775 MB / 0.7468 GB, free: 7.027 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 6.164e-05/0.6439, allocations: 112.6 kB / 0.7469 GB, free: 6.898 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.725e-05/0.644, allocations: 11.98 kB / 0.7469 GB, free: 6.887 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003889/0.6444, allocations: 15.89 kB / 0.7469 GB, free: 6.871 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.6445, allocations: 24.33 kB / 0.7469 GB, free: 6.852 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-05/0.6445, allocations: 19.73 kB / 0.7469 GB, free: 6.836 MB / 0.5109 GB Notification: Performance of sort global known variables: time 4.438e-05/0.6446, allocations: 92.05 kB / 0.747 GB, free: 6.75 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0004003/0.645, allocations: 135.8 kB / 0.7472 GB, free: 6.617 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.0001678/0.6452, allocations: 120.2 kB / 0.7473 GB, free: 6.496 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0008404/0.646, allocations: 0.6121 MB / 0.7479 GB, free: 6.027 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.646, allocations: 0 / 0.7479 GB, free: 6.027 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0003879/0.6464, allocations: 328.3 kB / 0.7482 GB, free: 5.793 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.6468, allocations: 42.53 kB / 0.7482 GB, free: 5.758 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.6499, allocations: 2.306 MB / 0.7505 GB, free: 3.484 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005541/0.6504, allocations: 0.8425 MB / 0.7513 GB, free: 2.625 MB / 0.5109 GB Notification: Performance of SimCode: time 2.6e-07/0.6504, allocations: 0 / 0.7513 GB, free: 2.625 MB / 0.5109 GB Notification: Performance of Templates: time 0.01001/0.6604, allocations: 6.981 MB / 0.7581 GB, free: 11.72 MB / 0.5265 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches