Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.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_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.10.|TA.1.|TA.2.|TA.3.|TB.10.|TB.1.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.10..|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_10") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.10.|TA.1.|TA.2.|TA.3.|TB.10.|TB.1.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.10..|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_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, 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.163/1.163, allocations: 222.9 MB / 240.9 MB, free: 10.99 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.0009605/0.0009606, allocations: 98.86 kB / 291.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.6655/0.6655, allocations: 119.3 MB / 460.6 MB, free: 9.578 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 55.92 kB / 0.5405 GB, free: 41.89 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.112, 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_10): time 0.002387/0.1145, allocations: 1.476 MB / 0.6207 GB, free: 9.863 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002444/0.1147, allocations: 92.05 kB / 0.6208 GB, free: 9.773 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.948e-05/0.1148, allocations: 4 kB / 0.6208 GB, free: 9.77 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.1149, allocations: 7.922 kB / 0.6208 GB, free: 9.762 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.115, allocations: 43.8 kB / 0.6208 GB, free: 9.719 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.1152, allocations: 27.95 kB / 0.6209 GB, free: 9.691 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005256/0.1157, allocations: 0.6512 MB / 0.6215 GB, free: 9.039 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.738e-05/0.1158, allocations: 16.17 kB / 0.6215 GB, free: 9.023 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002504/0.1161, allocations: 223.6 kB / 0.6217 GB, free: 8.805 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003954/0.1165, allocations: 279.4 kB / 0.622 GB, free: 8.531 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 8.753e-05/0.1166, allocations: 28 kB / 0.622 GB, free: 8.504 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.601e-05/0.1166, allocations: 28 kB / 0.622 GB, free: 8.477 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.1168, allocations: 147.6 kB / 0.6222 GB, free: 8.332 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.117, allocations: 163.4 kB / 0.6223 GB, free: 8.172 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.1172, allocations: 283.3 kB / 0.6226 GB, free: 7.895 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.1172, allocations: 0 / 0.6226 GB, free: 7.895 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1172, allocations: 0 / 0.6226 GB, free: 7.895 MB / 442.8 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1173, allocations: 7.938 kB / 0.6226 GB, free: 7.887 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.002206/0.1195, allocations: 0.796 MB / 0.6234 GB, free: 7.039 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.1195, allocations: 12.03 kB / 0.6234 GB, free: 7.027 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.096e-05/0.1196, allocations: 28.66 kB / 0.6234 GB, free: 7 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.12, allocations: 247.3 kB / 0.6237 GB, free: 6.723 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.12, allocations: 24.81 kB / 0.6237 GB, free: 6.695 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-05/0.1201, allocations: 47.83 kB / 0.6237 GB, free: 6.648 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005956/0.1207, allocations: 378.9 kB / 0.6241 GB, free: 6.273 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1207, allocations: 0 / 0.6241 GB, free: 6.273 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.1207, allocations: 8 kB / 0.6241 GB, free: 6.266 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.1207, allocations: 4 kB / 0.6241 GB, free: 6.262 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000532/0.1213, allocations: 333.5 kB / 0.6244 GB, free: 5.934 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008556/0.1221, allocations: 0.6042 MB / 0.625 GB, free: 5.281 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007674/0.1229, allocations: 472 kB / 0.6255 GB, free: 4.809 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004497/0.1234, allocations: 329.2 kB / 0.6258 GB, free: 4.488 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.104e-05/0.1234, allocations: 4.438 kB / 0.6258 GB, free: 4.484 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.1235, allocations: 42.94 kB / 0.6258 GB, free: 4.434 MB / 442.8 MB Notification: Performance of pre-optimization done (n=49): time 1.853e-06/0.1235, allocations: 0 / 0.6258 GB, free: 4.434 MB / 442.8 MB Notification: Performance of matching and sorting (n=49): time 0.001346/0.1248, allocations: 0.8045 MB / 0.6266 GB, free: 3.621 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.1249, allocations: 59.78 kB / 0.6267 GB, free: 3.551 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.804e-05/0.125, allocations: 137.1 kB / 0.6268 GB, free: 3.41 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/0.125, allocations: 41.64 kB / 0.6268 GB, free: 3.363 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.796e-05/0.1251, allocations: 101.1 kB / 0.6269 GB, free: 3.262 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.1252, allocations: 201.1 kB / 0.6271 GB, free: 3.062 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.1254, allocations: 118.3 kB / 0.6272 GB, free: 2.941 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1255, allocations: 342.8 kB / 0.6276 GB, free: 2.598 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004389/0.126, allocations: 285.1 kB / 0.6278 GB, free: 2.32 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004342/0.1264, allocations: 293.7 kB / 0.6281 GB, free: 2.031 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008996/0.1273, allocations: 0.6029 MB / 0.6287 GB, free: 1.426 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1273, allocations: 0 / 0.6287 GB, free: 1.426 MB / 442.8 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001081/0.1284, allocations: 0.7273 MB / 0.6294 GB, free: 0.6914 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1284, allocations: 4 kB / 0.6294 GB, free: 0.6875 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1284, allocations: 0 / 0.6294 GB, free: 0.6875 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1285, allocations: 4 kB / 0.6294 GB, free: 0.6836 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.1295, allocations: 259.7 kB / 0.6297 GB, free: 440 kB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.1295, allocations: 8 kB / 0.6297 GB, free: 432 kB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003735/0.1299, allocations: 55.5 kB / 0.6297 GB, free: 376 kB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.333e-05/0.13, allocations: 20 kB / 0.6298 GB, free: 356 kB / 442.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 (77): * Single equations (assignments): 77 * 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.0001433/0.1301, allocations: 161.6 kB / 0.6299 GB, free: 184 kB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.455e-05/0.1302, allocations: 23.72 kB / 0.6299 GB, free: 160 kB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.1304, allocations: 74.28 kB / 0.63 GB, free: 84 kB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1305, allocations: 4 kB / 0.63 GB, free: 80 kB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1305, allocations: 4 kB / 0.63 GB, free: 76 kB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.1305, allocations: 3.984 kB / 0.63 GB, free: 72 kB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005345/0.131, allocations: 453.4 kB / 0.6304 GB, free: 15.58 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.131, allocations: 0 / 0.6304 GB, free: 15.58 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/0.1323, allocations: 255.7 kB / 0.6307 GB, free: 15.33 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/0.1324, allocations: 4 kB / 0.6307 GB, free: 15.32 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.267e-05/0.1324, allocations: 23.97 kB / 0.6307 GB, free: 15.3 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.331e-06/0.1324, allocations: 7.938 kB / 0.6307 GB, free: 15.29 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.1324, allocations: 4 kB / 0.6307 GB, free: 15.29 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01099/0.1434, allocations: 5.702 MB / 0.6363 GB, free: 9.445 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.1435, allocations: 104.7 kB / 0.6364 GB, free: 9.324 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.253e-05/0.1436, allocations: 15.98 kB / 0.6364 GB, free: 9.309 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003863/0.144, allocations: 31.91 kB / 0.6364 GB, free: 9.277 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.1441, allocations: 32.39 kB / 0.6365 GB, free: 9.246 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.518e-05/0.1441, allocations: 8 kB / 0.6365 GB, free: 9.238 MB / 458.8 MB Notification: Performance of sorting global known variables: time 5.269e-05/0.1442, allocations: 99.27 kB / 0.6366 GB, free: 9.141 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1442, allocations: 0 / 0.6366 GB, free: 9.141 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0005233/0.1447, allocations: 208 kB / 0.6368 GB, free: 8.938 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 27 (TA[2],TA[3],TA[4],TA[5],TA[6],TA[7],TA[8],TA[9],TA[10],TB[1],TB[2],TB[3],TB[4],TB[5],TB[6],TB[7],TB[8],TB[9],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9]) * 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 (49): * Single equations (assignments): 49 * 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.0001343/0.1449, allocations: 123.2 kB / 0.6369 GB, free: 8.809 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.00098/0.1459, allocations: 0.6386 MB / 0.6375 GB, free: 8.168 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1459, allocations: 0 / 0.6375 GB, free: 8.168 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004481/0.1463, allocations: 322.3 kB / 0.6378 GB, free: 7.852 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.1467, allocations: 65.03 kB / 0.6379 GB, free: 7.789 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00361/0.1504, allocations: 2.755 MB / 0.6406 GB, free: 4.988 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.1507, allocations: 0.7965 MB / 0.6414 GB, free: 4.168 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0005964/0.1513, allocations: 208.1 kB / 0.6416 GB, free: 3.965 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002822/0.1516, allocations: 35.44 kB / 0.6416 GB, free: 3.93 MB / 458.8 MB Notification: Performance of SimCode: time 3.91e-07/0.1516, allocations: 0 / 0.6416 GB, free: 3.93 MB / 458.8 MB Notification: Performance of Templates: time 0.01195/0.1635, allocations: 8.459 MB / 0.6498 GB, free: 11.54 MB / 474.8 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches