Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.CocurrentHeatExchangerEquations_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.10..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.10..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, 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.168/1.168, allocations: 222.9 MB / 240.9 MB, free: 10.98 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.001025/0.001025, allocations: 97.11 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.6639/0.6639, allocations: 119.3 MB / 460.6 MB, free: 9.59 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001243, allocations: 51.92 kB / 0.5405 GB, free: 41.88 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1175, allocations: 80.69 MB / 0.6192 GB, free: 11.36 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.00239/0.1199, allocations: 1.485 MB / 0.6207 GB, free: 9.859 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002577/0.1202, allocations: 76.12 kB / 0.6208 GB, free: 9.785 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.205e-05/0.1202, allocations: 3.938 kB / 0.6208 GB, free: 9.781 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 9.596e-05/0.1203, allocations: 7.984 kB / 0.6208 GB, free: 9.773 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.1205, allocations: 47.73 kB / 0.6208 GB, free: 9.727 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/0.1207, allocations: 31.95 kB / 0.6209 GB, free: 9.695 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004909/0.1212, allocations: 0.5927 MB / 0.6214 GB, free: 9.102 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.004e-05/0.1212, allocations: 4.188 kB / 0.6214 GB, free: 9.098 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002106/0.1214, allocations: 183.7 kB / 0.6216 GB, free: 8.918 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003956/0.1218, allocations: 271.4 kB / 0.6219 GB, free: 8.652 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 9.046e-05/0.1219, allocations: 24 kB / 0.6219 GB, free: 8.629 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.716e-05/0.122, allocations: 31.94 kB / 0.6219 GB, free: 8.598 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.1222, allocations: 151.6 kB / 0.6221 GB, free: 8.449 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.1224, allocations: 159.4 kB / 0.6222 GB, free: 8.293 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.1226, allocations: 279.4 kB / 0.6225 GB, free: 8.02 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1226, allocations: 4 kB / 0.6225 GB, free: 8.016 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1226, allocations: 3.984 kB / 0.6225 GB, free: 8.012 MB / 442.8 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.1227, allocations: 0 / 0.6225 GB, free: 8.012 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.002188/0.1248, allocations: 0.8037 MB / 0.6233 GB, free: 7.156 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.1249, allocations: 8.031 kB / 0.6233 GB, free: 7.148 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.984e-05/0.125, allocations: 28.66 kB / 0.6233 GB, free: 7.121 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.1253, allocations: 248 kB / 0.6236 GB, free: 6.84 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.1254, allocations: 28.75 kB / 0.6236 GB, free: 6.809 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.238e-05/0.1254, allocations: 43.84 kB / 0.6236 GB, free: 6.766 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005918/0.126, allocations: 375 kB / 0.624 GB, free: 6.395 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.1261, allocations: 3.938 kB / 0.624 GB, free: 6.391 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.814e-05/0.1261, allocations: 19.97 kB / 0.624 GB, free: 6.371 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.1261, allocations: 8 kB / 0.624 GB, free: 6.363 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005391/0.1267, allocations: 329.5 kB / 0.6243 GB, free: 6.039 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008561/0.1275, allocations: 0.5964 MB / 0.6249 GB, free: 5.395 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007609/0.1283, allocations: 484 kB / 0.6254 GB, free: 4.91 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004528/0.1288, allocations: 326 kB / 0.6257 GB, free: 4.59 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.293e-05/0.1288, allocations: 4.438 kB / 0.6257 GB, free: 4.586 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.1289, allocations: 42.94 kB / 0.6257 GB, free: 4.535 MB / 442.8 MB Notification: Performance of pre-optimization done (n=49): time 1.663e-06/0.1289, allocations: 0 / 0.6257 GB, free: 4.535 MB / 442.8 MB Notification: Performance of matching and sorting (n=49): time 0.001346/0.1302, allocations: 0.8123 MB / 0.6265 GB, free: 3.715 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.1303, allocations: 63.83 kB / 0.6266 GB, free: 3.641 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.613e-05/0.1304, allocations: 132.6 kB / 0.6267 GB, free: 3.504 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 4.015e-05/0.1304, allocations: 37.7 kB / 0.6267 GB, free: 3.461 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/0.1305, allocations: 101.1 kB / 0.6268 GB, free: 3.359 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.1306, allocations: 205.1 kB / 0.627 GB, free: 3.156 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.1308, allocations: 118.3 kB / 0.6271 GB, free: 3.035 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1309, allocations: 346.7 kB / 0.6275 GB, free: 2.688 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004331/0.1314, allocations: 281.1 kB / 0.6277 GB, free: 2.414 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000429/0.1318, allocations: 293.7 kB / 0.628 GB, free: 2.125 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008716/0.1327, allocations: 0.6069 MB / 0.6286 GB, free: 1.516 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.1327, allocations: 4 kB / 0.6286 GB, free: 1.512 MB / 442.8 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001055/0.1337, allocations: 0.7312 MB / 0.6293 GB, free: 0.7734 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1338, allocations: 4 kB / 0.6293 GB, free: 0.7695 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1338, allocations: 0 / 0.6293 GB, free: 0.7695 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1338, allocations: 4 kB / 0.6293 GB, free: 0.7656 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.1349, allocations: 259.7 kB / 0.6296 GB, free: 0.5117 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.1349, allocations: 4 kB / 0.6296 GB, free: 0.5078 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003706/0.1353, allocations: 59.5 kB / 0.6297 GB, free: 460 kB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.752e-05/0.1353, allocations: 16 kB / 0.6297 GB, free: 444 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.0001431/0.1355, allocations: 161.6 kB / 0.6298 GB, free: 272 kB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.258e-05/0.1355, allocations: 23.72 kB / 0.6298 GB, free: 248 kB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.1358, allocations: 82.28 kB / 0.6299 GB, free: 164 kB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.1358, allocations: 4 kB / 0.6299 GB, free: 160 kB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-06/0.1358, allocations: 0 / 0.6299 GB, free: 160 kB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1358, allocations: 3.984 kB / 0.6299 GB, free: 156 kB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005002/0.1363, allocations: 445.4 kB / 0.6304 GB, free: 15.67 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1363, allocations: 4 kB / 0.6304 GB, free: 15.66 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001264/0.1376, allocations: 259.8 kB / 0.6306 GB, free: 15.41 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.1376, allocations: 11.88 kB / 0.6306 GB, free: 15.4 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.708e-05/0.1377, allocations: 15.98 kB / 0.6306 GB, free: 15.38 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1377, allocations: 4 kB / 0.6306 GB, free: 15.38 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1377, allocations: 3.938 kB / 0.6306 GB, free: 15.38 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/0.1485, allocations: 5.699 MB / 0.6362 GB, free: 9.535 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.238e-05/0.1485, allocations: 100.8 kB / 0.6363 GB, free: 9.418 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.1486, allocations: 19.98 kB / 0.6363 GB, free: 9.398 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/0.149, allocations: 31.84 kB / 0.6364 GB, free: 9.367 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.1491, allocations: 36.38 kB / 0.6364 GB, free: 9.332 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.913e-05/0.1492, allocations: 12 kB / 0.6364 GB, free: 9.32 MB / 458.8 MB Notification: Performance of sorting global known variables: time 5.275e-05/0.1492, allocations: 99.25 kB / 0.6365 GB, free: 9.223 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1492, allocations: 0 / 0.6365 GB, free: 9.223 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0005295/0.1498, allocations: 216 kB / 0.6367 GB, free: 9.012 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[2],TB[3],TB[4],TB[5],TB[6],TB[7],TB[8],TB[9],TB[10],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.0001337/0.1499, allocations: 119.2 kB / 0.6368 GB, free: 8.887 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0009652/0.1509, allocations: 0.6348 MB / 0.6374 GB, free: 8.25 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1509, allocations: 0 / 0.6374 GB, free: 8.25 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004481/0.1513, allocations: 326.3 kB / 0.6377 GB, free: 7.93 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.1518, allocations: 73.03 kB / 0.6378 GB, free: 7.859 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003468/0.1552, allocations: 2.724 MB / 0.6405 GB, free: 5.09 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.1555, allocations: 0.7888 MB / 0.6412 GB, free: 4.277 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0005699/0.1561, allocations: 212 kB / 0.6414 GB, free: 4.07 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002732/0.1564, allocations: 31.44 kB / 0.6415 GB, free: 4.039 MB / 458.8 MB Notification: Performance of SimCode: time 4.81e-07/0.1564, allocations: 0 / 0.6415 GB, free: 4.039 MB / 458.8 MB Notification: Performance of Templates: time 0.01148/0.1679, allocations: 8.477 MB / 0.6498 GB, free: 11.64 MB / 474.8 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches