Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001113/0.001113, allocations: 181.8 kB / 8.134 MB, free: 2.207 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.027 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.0008643/0.0008644, allocations: 96.44 kB / 280.8 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5937/0.5937, allocations: 120.4 MB / 452 MB, free: 12.97 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.12e-06/5.14e-06, allocations: 0 / 0.5289 GB, free: 51.77 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1048, allocations: 82.84 MB / 0.6098 GB, free: 2.824 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4243/0.5291, allocations: 124.8 MB / 0.7317 GB, free: 4.141 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001055/0.5293, allocations: 50.28 kB / 0.7317 GB, free: 4.125 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.0341/0.5634, allocations: 10.66 MB / 0.7422 GB, free: 10.59 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 1.426e-05/0.5634, allocations: 8 kB / 0.7422 GB, free: 10.58 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.003119/0.5666, allocations: 1.312 MB / 0.7434 GB, free: 9.254 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.5666, allocations: 12.03 kB / 0.7435 GB, free: 9.242 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.5668, allocations: 59.44 kB / 0.7435 GB, free: 9.184 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000991/0.5678, allocations: 432.9 kB / 0.7439 GB, free: 8.727 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.5678, allocations: 16 kB / 0.7439 GB, free: 8.711 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/0.568, allocations: 74.34 kB / 0.744 GB, free: 8.645 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001098/0.5691, allocations: 0.7485 MB / 0.7447 GB, free: 8.086 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.5703, allocations: 0.8187 MB / 0.7455 GB, free: 7.426 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.5703, allocations: 4 kB / 0.7455 GB, free: 7.422 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-05/0.5704, allocations: 0 / 0.7455 GB, free: 7.422 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.5704, allocations: 12 kB / 0.7456 GB, free: 7.41 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005234/0.5756, allocations: 4.184 MB / 0.7496 GB, free: 2.961 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.5768, allocations: 0.8639 MB / 0.7505 GB, free: 2.305 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007464/0.5776, allocations: 0.6478 MB / 0.7511 GB, free: 1.875 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 9.104e-05/0.5777, allocations: 9 kB / 0.7511 GB, free: 1.867 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.5777, allocations: 50.28 kB / 0.7512 GB, free: 1.816 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=99): time 2.304e-06/0.5777, allocations: 3.938 kB / 0.7512 GB, free: 1.812 MB / 0.5109 GB Notification: Performance of matching and sorting (n=99): time 0.001704/0.5794, allocations: 1.133 MB / 0.7523 GB, free: 0.9141 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.5795, allocations: 60.41 kB / 0.7523 GB, free: 0.8438 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.74e-05/0.5796, allocations: 129 kB / 0.7525 GB, free: 0.7266 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 7.826e-05/0.5796, allocations: 25.7 kB / 0.7525 GB, free: 0.6953 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 7.062e-05/0.5797, allocations: 144.2 kB / 0.7526 GB, free: 0.5547 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002737/0.58, allocations: 403.9 kB / 0.753 GB, free: 212 kB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.278e-05/0.5801, allocations: 0 / 0.753 GB, free: 212 kB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.5802, allocations: 367.4 kB / 0.7534 GB, free: 15.86 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007916/0.581, allocations: 0.5572 MB / 0.7539 GB, free: 15.46 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/0.5822, allocations: 0.6315 MB / 0.7545 GB, free: 14.99 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008382/0.583, allocations: 0.6481 MB / 0.7552 GB, free: 14.5 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5831, allocations: 4 kB / 0.7552 GB, free: 14.5 MB / 0.5265 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001925/0.585, allocations: 1.411 MB / 0.7565 GB, free: 13.38 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.585, allocations: 4 kB / 0.7565 GB, free: 13.38 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.585, allocations: 0.8438 kB / 0.7565 GB, free: 13.38 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.585, allocations: 11.91 kB / 0.7566 GB, free: 13.37 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002223/0.5873, allocations: 0.5143 MB / 0.7571 GB, free: 12.86 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.5873, allocations: 13.09 kB / 0.7571 GB, free: 12.85 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007406/0.588, allocations: 87.03 kB / 0.7572 GB, free: 12.77 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.5882, allocations: 34.75 kB / 0.7572 GB, free: 12.74 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.0001831/0.5883, allocations: 120.7 kB / 0.7573 GB, free: 12.62 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.5885, allocations: 39.53 kB / 0.7573 GB, free: 12.58 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.5887, allocations: 135.4 kB / 0.7575 GB, free: 12.57 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.5888, allocations: 19.92 kB / 0.7575 GB, free: 12.55 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.5888, allocations: 0 / 0.7575 GB, free: 12.55 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.5888, allocations: 3.984 kB / 0.7575 GB, free: 12.55 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009003/0.5897, allocations: 0.7351 MB / 0.7582 GB, free: 11.88 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5897, allocations: 4 kB / 0.7582 GB, free: 11.88 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002912/0.5926, allocations: 0.5147 MB / 0.7587 GB, free: 11.38 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.5926, allocations: 0 / 0.7587 GB, free: 11.38 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/0.5928, allocations: 39.7 kB / 0.7588 GB, free: 11.34 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.5928, allocations: 7.938 kB / 0.7588 GB, free: 11.33 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5928, allocations: 0 / 0.7588 GB, free: 11.33 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002376/0.5952, allocations: 1.922 MB / 0.7606 GB, free: 9.859 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 6.635e-05/0.5952, allocations: 120.5 kB / 0.7608 GB, free: 9.723 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/0.5954, allocations: 27.88 kB / 0.7608 GB, free: 9.695 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007465/0.5961, allocations: 43.75 kB / 0.7608 GB, free: 9.652 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.5963, allocations: 50.16 kB / 0.7609 GB, free: 9.609 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.75e-05/0.5964, allocations: 26.75 kB / 0.7609 GB, free: 9.59 MB / 0.5265 GB Notification: Performance of sort global known variables: time 4.128e-05/0.5965, allocations: 93.7 kB / 0.761 GB, free: 9.504 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.0005499/0.597, allocations: 275.8 kB / 0.7613 GB, free: 9.234 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.0001837/0.5972, allocations: 133 kB / 0.7614 GB, free: 9.098 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.001609/0.5988, allocations: 1.301 MB / 0.7626 GB, free: 8.129 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.5988, allocations: 0 / 0.7626 GB, free: 8.129 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0007736/0.5996, allocations: 0.6466 MB / 0.7633 GB, free: 7.66 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004712/0.6001, allocations: 100.7 kB / 0.7634 GB, free: 7.578 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006146/0.6062, allocations: 4.845 MB / 0.7681 GB, free: 2.797 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009332/0.6072, allocations: 0.9962 MB / 0.7691 GB, free: 1.789 MB / 0.5265 GB Notification: Performance of SimCode: time 2.5e-07/0.6072, allocations: 4 kB / 0.7691 GB, free: 1.785 MB / 0.5265 GB Notification: Performance of Templates: time 0.01871/0.6259, allocations: 14.26 MB / 0.783 GB, free: 3.625 MB / 0.5421 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches