Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.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.CocurrentHeatExchangerEquations_N_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.20.|TA.2.|TA.3.|TB.1.|TB.20.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.20..|der.TA.2..|der.TA.3..|der.TB.20..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.20.|TA.2.|TA.3.|TB.1.|TB.20.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.20..|der.TA.2..|der.TA.3..|der.TB.20..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20") [: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.001112/0.001112, allocations: 183.5 kB / 8.133 MB, free: 2.094 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.023/1.023, allocations: 221.4 MB / 229.9 MB, free: 3.074 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.0008662/0.0008662, allocations: 99.47 kB / 280.8 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5971/0.5971, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 4.619e-06/4.639e-06, allocations: 0 / 0.5289 GB, free: 51.79 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09999/0.1, allocations: 82.85 MB / 0.6098 GB, free: 2.812 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4149/0.515, allocations: 124.8 MB / 0.7317 GB, free: 4.266 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001076/0.5151, allocations: 52.08 kB / 0.7317 GB, free: 4.246 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.03124/0.5463, allocations: 10.21 MB / 0.7417 GB, free: 11.13 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 1.549e-05/0.5464, allocations: 12 kB / 0.7417 GB, free: 11.12 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.003044/0.5494, allocations: 1.315 MB / 0.743 GB, free: 9.797 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.5495, allocations: 12.02 kB / 0.743 GB, free: 9.785 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.5496, allocations: 59.44 kB / 0.7431 GB, free: 9.727 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009646/0.5506, allocations: 424.1 kB / 0.7435 GB, free: 9.277 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.5506, allocations: 20.56 kB / 0.7435 GB, free: 9.258 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.5508, allocations: 79.02 kB / 0.7436 GB, free: 9.188 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001081/0.5519, allocations: 0.7547 MB / 0.7443 GB, free: 8.625 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.553, allocations: 0.8096 MB / 0.7451 GB, free: 7.973 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.5531, allocations: 0 / 0.7451 GB, free: 7.973 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.597e-05/0.5531, allocations: 0 / 0.7451 GB, free: 7.973 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.5532, allocations: 18.25 kB / 0.7451 GB, free: 7.957 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005124/0.5583, allocations: 4.185 MB / 0.7492 GB, free: 3.508 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.5595, allocations: 0.8676 MB / 0.75 GB, free: 2.855 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007382/0.5602, allocations: 0.6518 MB / 0.7507 GB, free: 2.426 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 8.943e-05/0.5603, allocations: 9 kB / 0.7507 GB, free: 2.418 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.5603, allocations: 46.28 kB / 0.7507 GB, free: 2.371 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=99): time 3.266e-06/0.5603, allocations: 3.938 kB / 0.7507 GB, free: 2.367 MB / 0.5109 GB Notification: Performance of matching and sorting (n=99): time 0.001675/0.562, allocations: 1.147 MB / 0.7519 GB, free: 1.465 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.5621, allocations: 68.41 kB / 0.7519 GB, free: 1.383 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.373e-05/0.5621, allocations: 128.6 kB / 0.752 GB, free: 1.266 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 7.584e-05/0.5622, allocations: 25.7 kB / 0.7521 GB, free: 1.234 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 7.037e-05/0.5623, allocations: 140.2 kB / 0.7522 GB, free: 1.098 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/0.5626, allocations: 401.5 kB / 0.7526 GB, free: 0.7539 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.132e-05/0.5626, allocations: 0 / 0.7526 GB, free: 0.7539 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.5627, allocations: 364.6 kB / 0.7529 GB, free: 420 kB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007484/0.5635, allocations: 0.5583 MB / 0.7535 GB, free: 8 kB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007861/0.5643, allocations: 0.6399 MB / 0.7541 GB, free: 15.53 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008277/0.5651, allocations: 0.6531 MB / 0.7547 GB, free: 15.05 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5651, allocations: 0 / 0.7547 GB, free: 15.05 MB / 0.5265 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001936/0.5671, allocations: 1.417 MB / 0.7561 GB, free: 13.93 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.5671, allocations: 8 kB / 0.7561 GB, free: 13.92 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.5671, allocations: 0 / 0.7561 GB, free: 13.92 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.5671, allocations: 8.844 kB / 0.7561 GB, free: 13.91 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002212/0.5694, allocations: 0.5202 MB / 0.7567 GB, free: 13.4 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.5694, allocations: 4 kB / 0.7567 GB, free: 13.39 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007193/0.5701, allocations: 87.03 kB / 0.7567 GB, free: 13.31 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.5702, allocations: 37.69 kB / 0.7568 GB, free: 13.28 MB / 0.5265 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 (157): * Single equations (assignments): 157 * 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.0001843/0.5704, allocations: 119.5 kB / 0.7569 GB, free: 13.16 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.5705, allocations: 39.53 kB / 0.7569 GB, free: 13.12 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.5708, allocations: 135 kB / 0.7571 GB, free: 13.11 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.5708, allocations: 12 kB / 0.7571 GB, free: 13.1 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.5708, allocations: 0 / 0.7571 GB, free: 13.1 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.5708, allocations: 15.91 kB / 0.7571 GB, free: 13.09 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009016/0.5717, allocations: 0.7255 MB / 0.7578 GB, free: 12.44 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.5717, allocations: 0 / 0.7578 GB, free: 12.44 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002932/0.5747, allocations: 0.5197 MB / 0.7583 GB, free: 11.93 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.405e-06/0.5747, allocations: 4 kB / 0.7583 GB, free: 11.93 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/0.5748, allocations: 35.22 kB / 0.7583 GB, free: 11.89 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.5748, allocations: 4 kB / 0.7583 GB, free: 11.89 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.5748, allocations: 3.984 kB / 0.7583 GB, free: 11.89 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002393/0.5772, allocations: 1.932 MB / 0.7602 GB, free: 10.41 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-05/0.5773, allocations: 120.5 kB / 0.7603 GB, free: 10.27 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001702/0.5775, allocations: 27.88 kB / 0.7604 GB, free: 10.24 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007474/0.5783, allocations: 43.75 kB / 0.7604 GB, free: 10.2 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.5784, allocations: 47.48 kB / 0.7605 GB, free: 10.16 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.071e-05/0.5785, allocations: 30.73 kB / 0.7605 GB, free: 10.14 MB / 0.5265 GB Notification: Performance of sort global known variables: time 4.332e-05/0.5786, allocations: 90.39 kB / 0.7606 GB, free: 10.05 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.0005845/0.5792, allocations: 275.8 kB / 0.7608 GB, free: 9.781 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 57 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TAtilde[10],TAtilde[11],TAtilde[12],TAtilde[13],TAtilde[14],TAtilde[15],TAtilde[16],TAtilde[17],TAtilde[18],TAtilde[19],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TBtilde[10],TBtilde[11],TBtilde[12],TBtilde[13],TBtilde[14],TBtilde[15],TBtilde[16],TBtilde[17],TBtilde[18],TBtilde[19],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9],TW[10],TW[11],TW[12],TW[13],TW[14],TW[15],TW[16],TW[17],TW[18],TW[19]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 99 * 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.000194/0.5794, allocations: 133 kB / 0.761 GB, free: 9.645 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.001623/0.581, allocations: 1.311 MB / 0.7622 GB, free: 8.676 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.581, allocations: 3.938 kB / 0.7622 GB, free: 8.672 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0007761/0.5818, allocations: 0.6479 MB / 0.7629 GB, free: 8.207 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004854/0.5823, allocations: 90.94 kB / 0.763 GB, free: 8.133 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006012/0.5883, allocations: 4.823 MB / 0.7677 GB, free: 3.383 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009448/0.5893, allocations: 0.9924 MB / 0.7686 GB, free: 2.375 MB / 0.5265 GB Notification: Performance of SimCode: time 4.41e-07/0.5893, allocations: 7.938 kB / 0.7687 GB, free: 2.367 MB / 0.5265 GB Notification: Performance of Templates: time 0.01847/0.6078, allocations: 14.25 MB / 0.7826 GB, free: 4.223 MB / 0.5421 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches