Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_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.CounterCurrentHeatExchangerEquations_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.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_20") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_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.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_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.001835/0.001836, allocations: 180.2 kB / 8.129 MB, free: 0.8633 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.169/1.169, allocations: 221.4 MB / 229.9 MB, free: 13.57 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 94.48 kB / 280.8 MB, free: 10.53 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7713/0.7713, allocations: 120.4 MB / 452 MB, free: 2.539 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 8.647e-06/8.847e-06, allocations: 3.938 kB / 0.529 GB, free: 9.043 MB / 418.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4626/0.4627, allocations: 82.84 MB / 0.6098 GB, free: 4.695 MB / 418.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1546/0.6173, allocations: 124.8 MB / 0.7317 GB, free: 7.766 MB / 0.5341 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001542/0.6175, allocations: 47.98 kB / 0.7317 GB, free: 7.719 MB / 0.5341 GB Notification: Performance of FrontEnd: time 0.5196/1.137, allocations: 10.66 MB / 0.7422 GB, free: 126.9 MB / 0.5344 GB Notification: Performance of Transformations before backend: time 1.704e-05/1.137, allocations: 9.938 kB / 0.7422 GB, free: 126.9 MB / 0.5344 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.00295/1.14, allocations: 1.312 MB / 0.7434 GB, free: 126.4 MB / 0.5344 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/1.14, allocations: 7.719 kB / 0.7434 GB, free: 126.4 MB / 0.5344 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/1.14, allocations: 65.75 kB / 0.7435 GB, free: 126.3 MB / 0.5344 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009339/1.141, allocations: 423.6 kB / 0.7439 GB, free: 126.1 MB / 0.5344 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/1.141, allocations: 15.25 kB / 0.7439 GB, free: 126.1 MB / 0.5344 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/1.142, allocations: 77.27 kB / 0.744 GB, free: 126.1 MB / 0.5344 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001384/1.143, allocations: 0.7486 MB / 0.7447 GB, free: 126.1 MB / 0.5344 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/1.144, allocations: 0.8169 MB / 0.7455 GB, free: 125.9 MB / 0.5344 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/1.144, allocations: 1.062 kB / 0.7455 GB, free: 125.9 MB / 0.5344 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.856e-05/1.144, allocations: 0 / 0.7455 GB, free: 125.9 MB / 0.5344 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.47e-05/1.144, allocations: 13.16 kB / 0.7455 GB, free: 125.9 MB / 0.5344 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005517/1.15, allocations: 4.19 MB / 0.7496 GB, free: 122.8 MB / 0.5344 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/1.152, allocations: 0.8663 MB / 0.7505 GB, free: 122.6 MB / 0.5344 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009529/1.152, allocations: 0.6373 MB / 0.7511 GB, free: 122.4 MB / 0.5344 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/1.153, allocations: 14.08 kB / 0.7511 GB, free: 122.4 MB / 0.5344 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/1.153, allocations: 48.22 kB / 0.7512 GB, free: 122.3 MB / 0.5344 GB Notification: Performance of pre-optimization done (n=99): time 2.244e-06/1.153, allocations: 0 / 0.7512 GB, free: 122.3 MB / 0.5344 GB Notification: Performance of matching and sorting (n=99): time 0.002293/1.155, allocations: 1.133 MB / 0.7523 GB, free: 122 MB / 0.5344 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/1.155, allocations: 62.34 kB / 0.7523 GB, free: 121.9 MB / 0.5344 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/1.155, allocations: 133.1 kB / 0.7525 GB, free: 121.8 MB / 0.5344 GB Notification: Performance of collectPreVariables (initialization): time 7.277e-05/1.155, allocations: 26.39 kB / 0.7525 GB, free: 121.8 MB / 0.5344 GB Notification: Performance of collectInitialEqns (initialization): time 6.777e-05/1.155, allocations: 143.4 kB / 0.7526 GB, free: 121.7 MB / 0.5344 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002716/1.156, allocations: 402.8 kB / 0.753 GB, free: 121.4 MB / 0.5344 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.262e-05/1.156, allocations: 0 / 0.753 GB, free: 121.4 MB / 0.5344 GB Notification: Performance of setup shared object (initialization): time 0.0001064/1.156, allocations: 369.2 kB / 0.7534 GB, free: 121 MB / 0.5344 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/1.157, allocations: 0.5534 MB / 0.7539 GB, free: 120.9 MB / 0.5344 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00135/1.158, allocations: 0.6364 MB / 0.7545 GB, free: 120.7 MB / 0.5344 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/1.16, allocations: 0.6481 MB / 0.7552 GB, free: 120.5 MB / 0.5344 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.16, allocations: 0 / 0.7552 GB, free: 120.5 MB / 0.5344 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002439/1.162, allocations: 1.415 MB / 0.7565 GB, free: 119.8 MB / 0.5344 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/1.162, allocations: 4 kB / 0.7565 GB, free: 119.8 MB / 0.5344 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/1.162, allocations: 0 / 0.7565 GB, free: 119.8 MB / 0.5344 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/1.162, allocations: 12.94 kB / 0.7565 GB, free: 119.8 MB / 0.5344 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002298/1.164, allocations: 0.5178 MB / 0.7571 GB, free: 119.3 MB / 0.5344 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/1.164, allocations: 8 kB / 0.7571 GB, free: 119.3 MB / 0.5344 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008003/1.165, allocations: 83.19 kB / 0.7571 GB, free: 119.2 MB / 0.5344 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/1.165, allocations: 36 kB / 0.7572 GB, free: 119.2 MB / 0.5344 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.0001947/1.166, allocations: 120.7 kB / 0.7573 GB, free: 119.1 MB / 0.5344 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/1.166, allocations: 40.19 kB / 0.7573 GB, free: 119.1 MB / 0.5344 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002641/1.166, allocations: 133.3 kB / 0.7575 GB, free: 118.9 MB / 0.5344 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/1.166, allocations: 12 kB / 0.7575 GB, free: 118.9 MB / 0.5344 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.952e-05/1.166, allocations: 0.875 kB / 0.7575 GB, free: 118.9 MB / 0.5344 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/1.166, allocations: 4.781 kB / 0.7575 GB, free: 118.9 MB / 0.5344 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/1.167, allocations: 0.7449 MB / 0.7582 GB, free: 118.3 MB / 0.5344 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/1.167, allocations: 0 / 0.7582 GB, free: 118.3 MB / 0.5344 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002872/1.17, allocations: 0.5163 MB / 0.7587 GB, free: 117.9 MB / 0.5344 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/1.17, allocations: 0 / 0.7587 GB, free: 117.9 MB / 0.5344 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001378/1.17, allocations: 40.5 kB / 0.7587 GB, free: 117.8 MB / 0.5344 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/1.17, allocations: 4 kB / 0.7587 GB, free: 117.8 MB / 0.5344 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.17, allocations: 4 kB / 0.7588 GB, free: 117.8 MB / 0.5344 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002452/1.173, allocations: 1.919 MB / 0.7606 GB, free: 116.1 MB / 0.5344 GB Notification: Performance of postOpt removeConstants (simulation): time 6.16e-05/1.173, allocations: 121.1 kB / 0.7607 GB, free: 115.9 MB / 0.5344 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/1.173, allocations: 28.48 kB / 0.7608 GB, free: 115.9 MB / 0.5344 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007649/1.174, allocations: 43.61 kB / 0.7608 GB, free: 115.9 MB / 0.5344 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/1.174, allocations: 54.8 kB / 0.7609 GB, free: 115.9 MB / 0.5344 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.993e-05/1.174, allocations: 22.81 kB / 0.7609 GB, free: 115.8 MB / 0.5344 GB Notification: Performance of sort global known variables: time 4.157e-05/1.174, allocations: 100.9 kB / 0.761 GB, free: 115.7 MB / 0.5344 GB Notification: Performance of remove unused functions: time 0.0005856/1.175, allocations: 271.8 kB / 0.7612 GB, free: 115.5 MB / 0.5344 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.0002112/1.175, allocations: 133.6 kB / 0.7614 GB, free: 115.3 MB / 0.5344 GB Notification: Performance of simCode: created initialization part: time 0.001634/1.176, allocations: 1.303 MB / 0.7626 GB, free: 114.1 MB / 0.5344 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.176, allocations: 4.062 kB / 0.7626 GB, free: 114.1 MB / 0.5344 GB Notification: Performance of simCode: created simulation system equations: time 0.0007347/1.177, allocations: 0.6479 MB / 0.7633 GB, free: 113.4 MB / 0.5344 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005275/1.178, allocations: 99.8 kB / 0.7634 GB, free: 113.3 MB / 0.5344 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005737/1.183, allocations: 4.851 MB / 0.7681 GB, free: 108.5 MB / 0.5344 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008373/1.184, allocations: 0.9897 MB / 0.7691 GB, free: 107.4 MB / 0.5344 GB Notification: Performance of SimCode: time 5.21e-07/1.184, allocations: 4 kB / 0.7691 GB, free: 107.4 MB / 0.5344 GB Notification: Performance of Templates: time 0.01655/1.201, allocations: 14.25 MB / 0.783 GB, free: 93.34 MB / 0.5344 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches