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.0.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.189/1.189, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000926/0.000926, allocations: 103.4 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.6177/0.6177, allocations: 119.3 MB / 460.6 MB, free: 9.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009661/0.0009661, allocations: 55.92 kB / 0.5404 GB, free: 41.96 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1115, allocations: 80.69 MB / 0.6192 GB, free: 11.36 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20): time 0.002248/0.1138, allocations: 1.5 MB / 0.6207 GB, free: 9.84 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.000227/0.114, allocations: 84.3 kB / 0.6208 GB, free: 9.758 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.094e-05/0.1141, allocations: 4 kB / 0.6208 GB, free: 9.754 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 9.318e-05/0.1142, allocations: 7.922 kB / 0.6208 GB, free: 9.746 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 9.035e-05/0.1143, allocations: 43.75 kB / 0.6208 GB, free: 9.703 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.1144, allocations: 27.95 kB / 0.6209 GB, free: 9.676 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0008296/0.1153, allocations: 1.182 MB / 0.622 GB, free: 8.492 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.1153, allocations: 4.188 kB / 0.622 GB, free: 8.488 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003516/0.1157, allocations: 447.2 kB / 0.6225 GB, free: 8.051 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006139/0.1163, allocations: 0.5381 MB / 0.623 GB, free: 7.512 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.1164, allocations: 56 kB / 0.623 GB, free: 7.457 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.1166, allocations: 56 kB / 0.6231 GB, free: 7.402 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002145/0.1168, allocations: 295.3 kB / 0.6234 GB, free: 7.113 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002953/0.1171, allocations: 326.9 kB / 0.6237 GB, free: 6.793 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003853/0.1175, allocations: 0.5376 MB / 0.6242 GB, free: 6.254 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1175, allocations: 3.984 kB / 0.6242 GB, free: 6.25 MB / 442.8 MB Notification: Performance of FrontEnd: time 6.71e-07/0.1175, allocations: 0 / 0.6242 GB, free: 6.25 MB / 442.8 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1175, allocations: 4 kB / 0.6242 GB, free: 6.246 MB / 442.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.003932/0.1215, allocations: 1.339 MB / 0.6255 GB, free: 4.859 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.1215, allocations: 11.97 kB / 0.6255 GB, free: 4.848 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.1216, allocations: 48.47 kB / 0.6256 GB, free: 4.801 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005038/0.1221, allocations: 319.8 kB / 0.6259 GB, free: 4.449 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/0.1222, allocations: 44.94 kB / 0.6259 GB, free: 4.402 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.1223, allocations: 87.8 kB / 0.626 GB, free: 4.316 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.1234, allocations: 0.7401 MB / 0.6267 GB, free: 3.57 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.1234, allocations: 0 / 0.6267 GB, free: 3.57 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.059e-05/0.1235, allocations: 16 kB / 0.6267 GB, free: 3.555 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.1235, allocations: 16 kB / 0.6268 GB, free: 3.539 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009905/0.1245, allocations: 0.6714 MB / 0.6274 GB, free: 2.867 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.1259, allocations: 1.013 MB / 0.6284 GB, free: 1.797 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.1273, allocations: 0.9682 MB / 0.6294 GB, free: 0.8203 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008466/0.1281, allocations: 0.6602 MB / 0.63 GB, free: 164 kB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.415e-05/0.1282, allocations: 13 kB / 0.63 GB, free: 148 kB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.1283, allocations: 51.55 kB / 0.6301 GB, free: 88 kB / 442.8 MB Notification: Performance of pre-optimization done (n=99): time 1.934e-06/0.1283, allocations: 0 / 0.6301 GB, free: 88 kB / 442.8 MB Notification: Performance of matching and sorting (n=99): time 0.002519/0.1308, allocations: 1.644 MB / 0.6317 GB, free: 14.43 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.1308, allocations: 64.41 kB / 0.6317 GB, free: 14.36 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.1309, allocations: 145.8 kB / 0.6319 GB, free: 14.21 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/0.131, allocations: 53.64 kB / 0.6319 GB, free: 14.15 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/0.1311, allocations: 102.1 kB / 0.632 GB, free: 14.05 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002406/0.1313, allocations: 422 kB / 0.6324 GB, free: 13.63 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003148/0.1316, allocations: 227 kB / 0.6326 GB, free: 13.4 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1318, allocations: 370.7 kB / 0.633 GB, free: 13.03 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008336/0.1326, allocations: 0.5725 MB / 0.6335 GB, free: 12.46 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008288/0.1334, allocations: 0.5893 MB / 0.6341 GB, free: 11.87 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001708/0.1351, allocations: 1.257 MB / 0.6353 GB, free: 10.61 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.1352, allocations: 0 / 0.6353 GB, free: 10.61 MB / 458.8 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002044/0.1372, allocations: 1.472 MB / 0.6368 GB, free: 9.129 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.1372, allocations: 8 kB / 0.6368 GB, free: 9.121 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1372, allocations: 0 / 0.6368 GB, free: 9.121 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1373, allocations: 4 kB / 0.6368 GB, free: 9.117 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002091/0.1394, allocations: 0.5268 MB / 0.6373 GB, free: 8.59 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.1394, allocations: 8 kB / 0.6373 GB, free: 8.582 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007079/0.1401, allocations: 119 kB / 0.6374 GB, free: 8.465 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.959e-05/0.1402, allocations: 32 kB / 0.6375 GB, free: 8.434 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000216/0.1404, allocations: 209.5 kB / 0.6377 GB, free: 8.219 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.1405, allocations: 43.53 kB / 0.6377 GB, free: 8.176 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004707/0.141, allocations: 148 kB / 0.6378 GB, free: 8.027 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.141, allocations: 8 kB / 0.6379 GB, free: 8.02 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.141, allocations: 0 / 0.6379 GB, free: 8.02 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.141, allocations: 11.91 kB / 0.6379 GB, free: 8.008 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008424/0.1419, allocations: 0.7626 MB / 0.6386 GB, free: 7.195 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1419, allocations: 4 kB / 0.6386 GB, free: 7.191 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002622/0.1445, allocations: 0.5269 MB / 0.6391 GB, free: 6.664 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/0.1445, allocations: 4 kB / 0.6391 GB, free: 6.66 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/0.1446, allocations: 43.95 kB / 0.6392 GB, free: 6.617 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.1446, allocations: 4 kB / 0.6392 GB, free: 6.613 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1447, allocations: 0 / 0.6392 GB, free: 6.613 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02115/0.1658, allocations: 11.07 MB / 0.65 GB, free: 11.38 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.187e-05/0.1659, allocations: 116.5 kB / 0.6501 GB, free: 11.25 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.166, allocations: 43.91 kB / 0.6501 GB, free: 11.21 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007214/0.1667, allocations: 51.94 kB / 0.6502 GB, free: 11.16 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/0.1669, allocations: 60.91 kB / 0.6503 GB, free: 11.1 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.662e-05/0.167, allocations: 24 kB / 0.6503 GB, free: 11.07 MB / 474.8 MB Notification: Performance of sorting global known variables: time 4.686e-05/0.1671, allocations: 99.25 kB / 0.6504 GB, free: 10.98 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.182e-06/0.1671, allocations: 0 / 0.6504 GB, free: 10.98 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0007639/0.1678, allocations: 427.9 kB / 0.6508 GB, free: 10.56 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 57 (TA[2],TA[3],TA[4],TA[5],TA[6],TA[7],TA[8],TA[9],TA[10],TA[11],TA[12],TA[13],TA[14],TA[15],TA[16],TA[17],TA[18],TA[19],TA[20],TB[1],TB[2],TB[3],TB[4],TB[5],TB[6],TB[7],TB[8],TB[9],TB[10],TB[11],TB[12],TB[13],TB[14],TB[15],TB[16],TB[17],TB[18],TB[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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001703/0.168, allocations: 152.9 kB / 0.6509 GB, free: 10.39 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.001845/0.1699, allocations: 1.33 MB / 0.6522 GB, free: 9.066 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1699, allocations: 0 / 0.6522 GB, free: 9.066 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0008739/0.1708, allocations: 0.6614 MB / 0.6529 GB, free: 8.402 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005974/0.1714, allocations: 125 kB / 0.653 GB, free: 8.281 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006791/0.1782, allocations: 5.549 MB / 0.6584 GB, free: 2.691 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.1785, allocations: 0.9036 MB / 0.6593 GB, free: 1.758 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.001189/0.1797, allocations: 451 kB / 0.6597 GB, free: 1.316 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005519/0.1803, allocations: 59.44 kB / 0.6598 GB, free: 1.258 MB / 474.8 MB Notification: Performance of SimCode: time 2.21e-07/0.1803, allocations: 0 / 0.6598 GB, free: 1.258 MB / 474.8 MB Notification: Performance of Templates: time 0.02164/0.2019, allocations: 17.42 MB / 0.6768 GB, free: 15.95 MB / 0.4949 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@2/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