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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000977/0.000977, allocations: 112 kB / 17.06 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009515/0.0009515, allocations: 195.9 kB / 18 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.249/1.249, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8307/0.8307, allocations: 119.3 MB / 411.2 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 66.2 kB / 0.5723 GB, free: 38.83 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1119, allocations: 80.68 MB / 0.6511 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.00217/0.1141, allocations: 1.453 MB / 0.6525 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002529/0.1144, allocations: 102.6 kB / 0.6526 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.708e-05/0.1145, allocations: 0 / 0.6526 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.776e-05/0.1146, allocations: 7.922 kB / 0.6526 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.1147, allocations: 59.7 kB / 0.6527 GB, free: 10.03 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.1149, allocations: 39.88 kB / 0.6527 GB, free: 9.988 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000527/0.1154, allocations: 0.6278 MB / 0.6533 GB, free: 9.359 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.781e-05/0.1155, allocations: 12 kB / 0.6533 GB, free: 9.348 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.1157, allocations: 243.6 kB / 0.6536 GB, free: 9.109 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004014/0.1161, allocations: 287.4 kB / 0.6538 GB, free: 8.828 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.109e-05/0.1162, allocations: 32 kB / 0.6539 GB, free: 8.797 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 8.092e-05/0.1163, allocations: 28 kB / 0.6539 GB, free: 8.77 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.1164, allocations: 183.6 kB / 0.6541 GB, free: 8.59 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.000213/0.1166, allocations: 195.3 kB / 0.6543 GB, free: 8.398 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.1169, allocations: 338.7 kB / 0.6546 GB, free: 8.066 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.117, allocations: 4 kB / 0.6546 GB, free: 8.062 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.072e-06/0.117, allocations: 0 / 0.6546 GB, free: 8.062 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.117, allocations: 4 kB / 0.6546 GB, free: 8.059 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.002117/0.1191, allocations: 0.8541 MB / 0.6554 GB, free: 7.148 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.1191, allocations: 19.89 kB / 0.6554 GB, free: 7.129 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.087e-05/0.1192, allocations: 32.8 kB / 0.6555 GB, free: 7.098 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.1195, allocations: 263.9 kB / 0.6557 GB, free: 6.801 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.1195, allocations: 28.94 kB / 0.6558 GB, free: 6.773 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.294e-05/0.1196, allocations: 48.27 kB / 0.6558 GB, free: 6.727 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006839/0.1203, allocations: 445.1 kB / 0.6562 GB, free: 6.289 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1203, allocations: 192 / 0.6562 GB, free: 6.289 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.052e-05/0.1204, allocations: 15.94 kB / 0.6562 GB, free: 6.273 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.1204, allocations: 4 kB / 0.6562 GB, free: 6.27 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005976/0.121, allocations: 382 kB / 0.6566 GB, free: 5.895 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002793/0.1238, allocations: 2.152 MB / 0.6587 GB, free: 3.473 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007563/0.1246, allocations: 472 kB / 0.6592 GB, free: 3.004 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004487/0.125, allocations: 320.9 kB / 0.6595 GB, free: 2.688 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 5.214e-05/0.1251, allocations: 8.438 kB / 0.6595 GB, free: 2.68 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.1251, allocations: 42.94 kB / 0.6595 GB, free: 2.629 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=49): time 1.573e-06/0.1251, allocations: 0 / 0.6595 GB, free: 2.629 MB / 0.4983 GB Notification: Performance of matching and sorting (n=49): time 0.001402/0.1265, allocations: 0.8046 MB / 0.6603 GB, free: 1.82 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.1266, allocations: 55.84 kB / 0.6604 GB, free: 1.754 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.1267, allocations: 141.5 kB / 0.6605 GB, free: 1.609 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.705e-05/0.1268, allocations: 41.7 kB / 0.6605 GB, free: 1.562 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.89e-05/0.1268, allocations: 121.2 kB / 0.6606 GB, free: 1.438 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.127, allocations: 210.2 kB / 0.6608 GB, free: 1.23 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.1272, allocations: 118.3 kB / 0.661 GB, free: 1.109 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1273, allocations: 338.8 kB / 0.6613 GB, free: 0.7695 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004407/0.1278, allocations: 285.1 kB / 0.6616 GB, free: 500 kB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004563/0.1282, allocations: 324.7 kB / 0.6619 GB, free: 168 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009199/0.1291, allocations: 0.6077 MB / 0.6625 GB, free: 15.55 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1292, allocations: 4 kB / 0.6625 GB, free: 15.55 MB / 0.5139 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001114/0.1303, allocations: 0.7274 MB / 0.6632 GB, free: 14.81 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1303, allocations: 4 kB / 0.6632 GB, free: 14.81 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1303, allocations: 0 / 0.6632 GB, free: 14.81 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1303, allocations: 7.984 kB / 0.6632 GB, free: 14.8 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.1314, allocations: 263.7 kB / 0.6634 GB, free: 14.54 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.1314, allocations: 0 / 0.6634 GB, free: 14.54 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003388/0.1317, allocations: 55.64 kB / 0.6635 GB, free: 14.49 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.515e-05/0.1318, allocations: 20.03 kB / 0.6635 GB, free: 14.47 MB / 0.5139 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 () * 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.000159/0.132, allocations: 162.6 kB / 0.6637 GB, free: 14.3 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.941e-05/0.132, allocations: 27.8 kB / 0.6637 GB, free: 14.27 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.1323, allocations: 78.27 kB / 0.6638 GB, free: 14.2 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/0.1323, allocations: 8 kB / 0.6638 GB, free: 14.19 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1323, allocations: 0 / 0.6638 GB, free: 14.19 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1323, allocations: 0 / 0.6638 GB, free: 14.19 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005434/0.1328, allocations: 469.5 kB / 0.6642 GB, free: 13.68 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1329, allocations: 0 / 0.6642 GB, free: 13.68 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00127/0.1341, allocations: 271.7 kB / 0.6645 GB, free: 13.41 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.82e-06/0.1341, allocations: 4 kB / 0.6645 GB, free: 13.41 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.316e-05/0.1342, allocations: 15.98 kB / 0.6645 GB, free: 13.39 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1342, allocations: 4 kB / 0.6645 GB, free: 13.39 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.1342, allocations: 4 kB / 0.6645 GB, free: 13.38 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.1357, allocations: 1.002 MB / 0.6655 GB, free: 12.37 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.1357, allocations: 116.8 kB / 0.6656 GB, free: 12.23 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.212e-05/0.1358, allocations: 23.98 kB / 0.6656 GB, free: 12.21 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003505/0.1362, allocations: 15.98 kB / 0.6656 GB, free: 12.2 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.825e-05/0.1363, allocations: 32.33 kB / 0.6657 GB, free: 12.16 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.986e-05/0.1363, allocations: 19.98 kB / 0.6657 GB, free: 12.14 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 5.422e-05/0.1364, allocations: 91.27 kB / 0.6658 GB, free: 12.05 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1364, allocations: 4 kB / 0.6658 GB, free: 12.05 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003792/0.1368, allocations: 148 kB / 0.6659 GB, free: 11.91 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 27 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[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.000131/0.1369, allocations: 135.6 kB / 0.666 GB, free: 11.76 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0009717/0.1379, allocations: 0.6387 MB / 0.6667 GB, free: 11.12 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1379, allocations: 0 / 0.6667 GB, free: 11.12 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004514/0.1384, allocations: 310.3 kB / 0.667 GB, free: 10.82 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.1388, allocations: 71.94 kB / 0.667 GB, free: 10.75 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002939/0.1417, allocations: 2.287 MB / 0.6693 GB, free: 8.438 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.142, allocations: 0.7956 MB / 0.67 GB, free: 7.617 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.000441/0.1425, allocations: 182.8 kB / 0.6702 GB, free: 7.438 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.1427, allocations: 35.38 kB / 0.6702 GB, free: 7.406 MB / 0.5139 GB Notification: Performance of SimCode: time 4.01e-07/0.1427, allocations: 0 / 0.6702 GB, free: 7.406 MB / 0.5139 GB Notification: Performance of Templates: time 0.008518/0.1512, allocations: 5.5 MB / 0.6756 GB, free: 1.992 MB / 0.5139 GB 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/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches