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.001391/0.001391, allocations: 115.8 kB / 17.74 MB, free: 5.344 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.001333/0.001333, allocations: 189.5 kB / 18.67 MB, free: 4.422 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.282/1.282, allocations: 222.9 MB / 242.4 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.8953/0.8953, allocations: 119.3 MB / 411.8 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 62.11 kB / 0.573 GB, free: 38.88 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1235, allocations: 80.69 MB / 0.6518 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.00231/0.1259, allocations: 1.449 MB / 0.6532 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002778/0.1262, allocations: 110.6 kB / 0.6533 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.909e-05/0.1262, allocations: 0 / 0.6533 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.1264, allocations: 11.92 kB / 0.6533 GB, free: 10.06 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.1265, allocations: 59.72 kB / 0.6533 GB, free: 10 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.1267, allocations: 27.94 kB / 0.6534 GB, free: 9.977 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005342/0.1272, allocations: 0.6395 MB / 0.654 GB, free: 9.336 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.622e-05/0.1273, allocations: 15.94 kB / 0.654 GB, free: 9.32 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.1275, allocations: 239.6 kB / 0.6542 GB, free: 9.086 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004394/0.128, allocations: 295.3 kB / 0.6545 GB, free: 8.797 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.444e-05/0.1281, allocations: 28 kB / 0.6545 GB, free: 8.77 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 8.168e-05/0.1282, allocations: 28 kB / 0.6546 GB, free: 8.742 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.1283, allocations: 179.6 kB / 0.6547 GB, free: 8.566 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.000198/0.1285, allocations: 195.3 kB / 0.6549 GB, free: 8.375 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003056/0.1288, allocations: 330.9 kB / 0.6552 GB, free: 8.051 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1288, allocations: 0 / 0.6552 GB, free: 8.051 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1288, allocations: 0 / 0.6552 GB, free: 8.051 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.1289, allocations: 4 kB / 0.6553 GB, free: 8.047 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.002232/0.1311, allocations: 0.8506 MB / 0.6561 GB, free: 7.141 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.1311, allocations: 15.89 kB / 0.6561 GB, free: 7.125 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.636e-05/0.1312, allocations: 36.56 kB / 0.6561 GB, free: 7.09 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.1315, allocations: 259.9 kB / 0.6564 GB, free: 6.797 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.51e-05/0.1316, allocations: 28.94 kB / 0.6564 GB, free: 6.77 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-05/0.1317, allocations: 52.27 kB / 0.6565 GB, free: 6.719 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007005/0.1324, allocations: 441.1 kB / 0.6569 GB, free: 6.285 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1324, allocations: 4.125 kB / 0.6569 GB, free: 6.281 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.621e-05/0.1324, allocations: 19.92 kB / 0.6569 GB, free: 6.262 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.1325, allocations: 8 kB / 0.6569 GB, free: 6.254 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006247/0.1331, allocations: 378 kB / 0.6573 GB, free: 5.883 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002926/0.136, allocations: 2.148 MB / 0.6594 GB, free: 3.465 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007886/0.1368, allocations: 476 kB / 0.6598 GB, free: 2.992 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000473/0.1373, allocations: 322 kB / 0.6601 GB, free: 2.672 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 4.236e-05/0.1374, allocations: 4.438 kB / 0.6601 GB, free: 2.668 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.1374, allocations: 42.94 kB / 0.6602 GB, free: 2.617 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=49): time 1.754e-06/0.1374, allocations: 0 / 0.6602 GB, free: 2.617 MB / 0.4983 GB Notification: Performance of matching and sorting (n=49): time 0.001393/0.1388, allocations: 0.7968 MB / 0.661 GB, free: 1.816 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.1389, allocations: 55.84 kB / 0.661 GB, free: 1.75 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.139, allocations: 136.6 kB / 0.6611 GB, free: 1.609 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/0.139, allocations: 33.7 kB / 0.6612 GB, free: 1.57 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/0.1391, allocations: 129 kB / 0.6613 GB, free: 1.438 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.1393, allocations: 205 kB / 0.6615 GB, free: 1.234 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001737/0.1394, allocations: 122.3 kB / 0.6616 GB, free: 1.109 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1396, allocations: 338.8 kB / 0.6619 GB, free: 0.7695 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004512/0.14, allocations: 277.1 kB / 0.6622 GB, free: 0.4961 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004696/0.1405, allocations: 332.7 kB / 0.6625 GB, free: 168 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009426/0.1414, allocations: 0.6039 MB / 0.6631 GB, free: 15.55 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1415, allocations: 4 kB / 0.6631 GB, free: 15.55 MB / 0.5139 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001144/0.1426, allocations: 0.7233 MB / 0.6638 GB, free: 14.82 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1426, allocations: 8 kB / 0.6638 GB, free: 14.81 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1426, allocations: 3.938 kB / 0.6638 GB, free: 14.8 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1427, allocations: 0 / 0.6638 GB, free: 14.8 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.1438, allocations: 259.7 kB / 0.6641 GB, free: 14.55 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.1438, allocations: 7.984 kB / 0.6641 GB, free: 14.54 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/0.1441, allocations: 55.42 kB / 0.6641 GB, free: 14.49 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.25e-05/0.1442, allocations: 28.03 kB / 0.6642 GB, free: 14.46 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.0001773/0.1444, allocations: 162.5 kB / 0.6643 GB, free: 14.29 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.46e-05/0.1445, allocations: 23.75 kB / 0.6643 GB, free: 14.27 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002156/0.1447, allocations: 78.28 kB / 0.6644 GB, free: 14.19 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.1447, allocations: 4 kB / 0.6644 GB, free: 14.19 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.1447, allocations: 0 / 0.6644 GB, free: 14.19 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.1447, allocations: 3.984 kB / 0.6644 GB, free: 14.18 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005869/0.1453, allocations: 469.3 kB / 0.6649 GB, free: 13.68 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1453, allocations: 0 / 0.6649 GB, free: 13.68 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/0.1466, allocations: 267.7 kB / 0.6651 GB, free: 13.41 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1467, allocations: 0 / 0.6651 GB, free: 13.41 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.563e-05/0.1467, allocations: 23.98 kB / 0.6651 GB, free: 13.39 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1467, allocations: 0 / 0.6651 GB, free: 13.39 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1467, allocations: 0 / 0.6651 GB, free: 13.39 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.1482, allocations: 1.009 MB / 0.6661 GB, free: 12.37 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.109e-05/0.1483, allocations: 108.7 kB / 0.6662 GB, free: 12.24 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.364e-05/0.1484, allocations: 15.98 kB / 0.6662 GB, free: 12.23 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000379/0.1488, allocations: 23.97 kB / 0.6663 GB, free: 12.2 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.1489, allocations: 36.38 kB / 0.6663 GB, free: 12.17 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.1489, allocations: 8 kB / 0.6663 GB, free: 12.16 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 5.843e-05/0.149, allocations: 99.27 kB / 0.6664 GB, free: 12.06 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.51e-07/0.149, allocations: 0 / 0.6664 GB, free: 12.06 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004042/0.1494, allocations: 151.9 kB / 0.6665 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.0001516/0.1496, allocations: 127.6 kB / 0.6667 GB, free: 11.78 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001012/0.1506, allocations: 0.6386 MB / 0.6673 GB, free: 11.14 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1506, allocations: 0 / 0.6673 GB, free: 11.14 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004724/0.1511, allocations: 318.3 kB / 0.6676 GB, free: 10.83 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.1515, allocations: 71.94 kB / 0.6677 GB, free: 10.76 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/0.1546, allocations: 2.311 MB / 0.6699 GB, free: 8.418 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.1549, allocations: 0.7878 MB / 0.6707 GB, free: 7.605 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002672/0.1552, allocations: 31.44 kB / 0.6707 GB, free: 7.578 MB / 0.5139 GB Notification: Performance of SimCode: time 5.21e-07/0.1552, allocations: 4 kB / 0.6707 GB, free: 7.574 MB / 0.5139 GB Notification: Performance of Templates: time 0.006927/0.1621, allocations: 5.44 MB / 0.676 GB, free: 2.152 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins1/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