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.0009013/0.0009013, allocations: 187.1 kB / 8.136 MB, free: 2.203 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.016/1.016, allocations: 221.4 MB / 229.9 MB, free: 2.996 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.0008339/0.0008339, allocations: 103.6 kB / 280.8 MB, free: 1.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6318/0.6318, allocations: 120.4 MB / 452 MB, free: 12.97 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 4.969e-06/4.989e-06, allocations: 0 / 0.5289 GB, free: 51.78 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1231, allocations: 82.85 MB / 0.6098 GB, free: 2.805 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4973/0.6204, allocations: 124.8 MB / 0.7317 GB, free: 4.309 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001245/0.6206, allocations: 53.41 kB / 0.7317 GB, free: 4.289 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.03393/0.6546, allocations: 10.66 MB / 0.7422 GB, free: 10.76 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 1.635e-05/0.6546, allocations: 12 kB / 0.7422 GB, free: 10.75 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.003125/0.6577, allocations: 1.311 MB / 0.7434 GB, free: 9.426 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.6578, allocations: 8.031 kB / 0.7435 GB, free: 9.418 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.6579, allocations: 59.44 kB / 0.7435 GB, free: 9.359 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009915/0.6589, allocations: 423.5 kB / 0.7439 GB, free: 8.906 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.659, allocations: 20 kB / 0.7439 GB, free: 8.887 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.6591, allocations: 74.95 kB / 0.744 GB, free: 8.82 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001142/0.6603, allocations: 0.7529 MB / 0.7447 GB, free: 8.258 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.6615, allocations: 0.8092 MB / 0.7455 GB, free: 7.605 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.6615, allocations: 4 kB / 0.7455 GB, free: 7.602 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.632e-05/0.6616, allocations: 0 / 0.7455 GB, free: 7.602 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.6616, allocations: 16 kB / 0.7456 GB, free: 7.586 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005305/0.6669, allocations: 4.188 MB / 0.7496 GB, free: 3.137 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.6682, allocations: 0.8585 MB / 0.7505 GB, free: 2.484 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007544/0.6689, allocations: 0.6487 MB / 0.7511 GB, free: 2.051 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 8.814e-05/0.669, allocations: 12.98 kB / 0.7511 GB, free: 2.039 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.6691, allocations: 49.03 kB / 0.7512 GB, free: 1.992 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=99): time 1.843e-06/0.6691, allocations: 3.938 kB / 0.7512 GB, free: 1.988 MB / 0.5109 GB Notification: Performance of matching and sorting (n=99): time 0.001746/0.6708, allocations: 1.136 MB / 0.7523 GB, free: 1.09 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.6708, allocations: 60.41 kB / 0.7523 GB, free: 1.02 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.919e-05/0.671, allocations: 133.2 kB / 0.7525 GB, free: 0.8984 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 8.266e-05/0.671, allocations: 29.7 kB / 0.7525 GB, free: 0.8633 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 6.76e-05/0.6711, allocations: 144 kB / 0.7526 GB, free: 0.7227 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002659/0.6714, allocations: 401.5 kB / 0.753 GB, free: 388 kB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.8e-05/0.6715, allocations: 0 / 0.753 GB, free: 388 kB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.6716, allocations: 363.7 kB / 0.7534 GB, free: 36 kB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007722/0.6724, allocations: 0.5526 MB / 0.7539 GB, free: 15.64 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007908/0.6732, allocations: 0.6374 MB / 0.7545 GB, free: 15.16 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008491/0.674, allocations: 0.6489 MB / 0.7552 GB, free: 14.68 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.674, allocations: 4 kB / 0.7552 GB, free: 14.67 MB / 0.5265 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001935/0.676, allocations: 1.414 MB / 0.7565 GB, free: 13.55 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.676, allocations: 4 kB / 0.7565 GB, free: 13.55 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.676, allocations: 4 kB / 0.7566 GB, free: 13.55 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.676, allocations: 8.75 kB / 0.7566 GB, free: 13.54 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002219/0.6783, allocations: 0.5138 MB / 0.7571 GB, free: 13.03 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.6783, allocations: 8 kB / 0.7571 GB, free: 13.02 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007455/0.679, allocations: 87.03 kB / 0.7572 GB, free: 12.94 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.6791, allocations: 39 kB / 0.7572 GB, free: 12.91 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.000188/0.6793, allocations: 116.7 kB / 0.7573 GB, free: 12.79 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.6795, allocations: 39.53 kB / 0.7573 GB, free: 12.75 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/0.6797, allocations: 137.1 kB / 0.7575 GB, free: 12.74 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.6797, allocations: 8 kB / 0.7575 GB, free: 12.73 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.6797, allocations: 3.938 kB / 0.7575 GB, free: 12.73 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.6798, allocations: 3.984 kB / 0.7575 GB, free: 12.73 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000956/0.6807, allocations: 0.738 MB / 0.7582 GB, free: 12.06 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.6807, allocations: 4 kB / 0.7582 GB, free: 12.05 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002918/0.6836, allocations: 0.5156 MB / 0.7587 GB, free: 11.55 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.6837, allocations: 7.984 kB / 0.7587 GB, free: 11.54 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.6838, allocations: 34.09 kB / 0.7588 GB, free: 11.51 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.6838, allocations: 4 kB / 0.7588 GB, free: 11.51 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6838, allocations: 0 / 0.7588 GB, free: 11.51 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002436/0.6862, allocations: 1.926 MB / 0.7606 GB, free: 10.03 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 8.044e-05/0.6863, allocations: 120.5 kB / 0.7608 GB, free: 9.895 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/0.6865, allocations: 31.88 kB / 0.7608 GB, free: 9.863 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007277/0.6872, allocations: 47.75 kB / 0.7608 GB, free: 9.816 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/0.6874, allocations: 47.3 kB / 0.7609 GB, free: 9.777 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.769e-05/0.6875, allocations: 27.55 kB / 0.7609 GB, free: 9.758 MB / 0.5265 GB Notification: Performance of sort global known variables: time 4.46e-05/0.6876, allocations: 95.02 kB / 0.761 GB, free: 9.668 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.0005626/0.6881, allocations: 271.8 kB / 0.7613 GB, free: 9.402 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.0002009/0.6883, allocations: 137.4 kB / 0.7614 GB, free: 9.262 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.001622/0.69, allocations: 1.301 MB / 0.7627 GB, free: 8.297 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.69, allocations: 0 / 0.7627 GB, free: 8.297 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0007856/0.6908, allocations: 0.6432 MB / 0.7633 GB, free: 7.832 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004808/0.6912, allocations: 97.92 kB / 0.7634 GB, free: 7.75 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006371/0.6976, allocations: 4.845 MB / 0.7681 GB, free: 2.969 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009744/0.6986, allocations: 0.9946 MB / 0.7691 GB, free: 1.961 MB / 0.5265 GB Notification: Performance of SimCode: time 2.9e-07/0.6986, allocations: 4 kB / 0.7691 GB, free: 1.957 MB / 0.5265 GB Notification: Performance of Templates: time 0.01878/0.7174, allocations: 14.26 MB / 0.783 GB, free: 3.801 MB / 0.5421 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/jenkins/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