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.00121/0.00121, allocations: 111.5 kB / 17.06 MB, free: 6 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.001127/0.001127, allocations: 200 kB / 18 MB, free: 5.078 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.252/1.252, 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.8517/0.8517, allocations: 119.3 MB / 411.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 65.2 kB / 0.5723 GB, free: 38.86 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1271, allocations: 80.68 MB / 0.6511 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.002151/0.1293, allocations: 1.464 MB / 0.6525 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002688/0.1296, allocations: 94.66 kB / 0.6526 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.921e-05/0.1297, allocations: 0 / 0.6526 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.285e-05/0.1298, allocations: 15.86 kB / 0.6526 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.1299, allocations: 63.7 kB / 0.6527 GB, free: 9.992 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.1301, allocations: 31.94 kB / 0.6527 GB, free: 9.961 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005647/0.1307, allocations: 0.6317 MB / 0.6533 GB, free: 9.328 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.103e-05/0.1307, allocations: 11.98 kB / 0.6533 GB, free: 9.316 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002153/0.131, allocations: 243.6 kB / 0.6536 GB, free: 9.078 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004095/0.1314, allocations: 291.3 kB / 0.6539 GB, free: 8.793 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.011e-05/0.1314, allocations: 28 kB / 0.6539 GB, free: 8.766 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 7.853e-05/0.1315, allocations: 32 kB / 0.6539 GB, free: 8.734 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.1317, allocations: 179.6 kB / 0.6541 GB, free: 8.559 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.1319, allocations: 199.2 kB / 0.6543 GB, free: 8.363 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.1322, allocations: 331 kB / 0.6546 GB, free: 8.039 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1322, allocations: 0 / 0.6546 GB, free: 8.039 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1322, allocations: 3.938 kB / 0.6546 GB, free: 8.035 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.1322, allocations: 0 / 0.6546 GB, free: 8.035 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.002189/0.1344, allocations: 0.8506 MB / 0.6554 GB, free: 7.129 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1344, allocations: 15.88 kB / 0.6554 GB, free: 7.113 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.522e-05/0.1345, allocations: 36.56 kB / 0.6555 GB, free: 7.078 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.1348, allocations: 255.9 kB / 0.6557 GB, free: 6.789 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.1349, allocations: 28.94 kB / 0.6557 GB, free: 6.762 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.158e-05/0.1349, allocations: 48.28 kB / 0.6558 GB, free: 6.715 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006911/0.1356, allocations: 445.1 kB / 0.6562 GB, free: 6.277 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1357, allocations: 8.125 kB / 0.6562 GB, free: 6.27 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.407e-05/0.1357, allocations: 15.94 kB / 0.6562 GB, free: 6.254 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.1357, allocations: 11.98 kB / 0.6562 GB, free: 6.242 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000583/0.1363, allocations: 373.9 kB / 0.6566 GB, free: 5.875 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002791/0.1391, allocations: 2.156 MB / 0.6587 GB, free: 3.449 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007881/0.1399, allocations: 468.1 kB / 0.6592 GB, free: 2.984 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000459/0.1404, allocations: 322 kB / 0.6595 GB, free: 2.664 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 4.365e-05/0.1404, allocations: 8.375 kB / 0.6595 GB, free: 2.656 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.1405, allocations: 42.94 kB / 0.6595 GB, free: 2.605 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=49): time 2.124e-06/0.1405, allocations: 0 / 0.6595 GB, free: 2.605 MB / 0.4983 GB Notification: Performance of matching and sorting (n=49): time 0.001419/0.1419, allocations: 0.7968 MB / 0.6603 GB, free: 1.805 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.142, allocations: 59.84 kB / 0.6603 GB, free: 1.734 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.1421, allocations: 137 kB / 0.6605 GB, free: 1.594 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.898e-05/0.1421, allocations: 41.7 kB / 0.6605 GB, free: 1.547 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.468e-05/0.1422, allocations: 121 kB / 0.6606 GB, free: 1.422 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.1424, allocations: 201.1 kB / 0.6608 GB, free: 1.223 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/0.1425, allocations: 118.3 kB / 0.6609 GB, free: 1.102 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1427, allocations: 342.8 kB / 0.6613 GB, free: 0.7578 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004323/0.1431, allocations: 277.1 kB / 0.6615 GB, free: 496 kB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004502/0.1436, allocations: 332.7 kB / 0.6618 GB, free: 156 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009024/0.1445, allocations: 0.6078 MB / 0.6624 GB, free: 15.54 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1445, allocations: 0 / 0.6624 GB, free: 15.54 MB / 0.5139 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001125/0.1456, allocations: 0.7272 MB / 0.6631 GB, free: 14.8 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1456, allocations: 8 kB / 0.6632 GB, free: 14.8 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1457, allocations: 0 / 0.6632 GB, free: 14.8 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.1457, allocations: 4 kB / 0.6632 GB, free: 14.79 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.1468, allocations: 259.8 kB / 0.6634 GB, free: 14.54 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.1468, allocations: 4 kB / 0.6634 GB, free: 14.54 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003552/0.1472, allocations: 59.41 kB / 0.6635 GB, free: 14.48 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4e-05/0.1472, allocations: 16 kB / 0.6635 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.0001677/0.1474, allocations: 162.6 kB / 0.6636 GB, free: 14.29 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.742e-05/0.1475, allocations: 23.75 kB / 0.6637 GB, free: 14.27 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/0.1477, allocations: 82.27 kB / 0.6637 GB, free: 14.19 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.1477, allocations: 4 kB / 0.6637 GB, free: 14.18 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1477, allocations: 0 / 0.6637 GB, free: 14.18 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1477, allocations: 4 kB / 0.6637 GB, free: 14.18 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005529/0.1483, allocations: 481.4 kB / 0.6642 GB, free: 13.66 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1483, allocations: 0 / 0.6642 GB, free: 13.66 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001307/0.1496, allocations: 255.7 kB / 0.6644 GB, free: 13.41 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1496, allocations: 0 / 0.6644 GB, free: 13.41 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.008e-05/0.1497, allocations: 19.98 kB / 0.6645 GB, free: 13.39 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.1497, allocations: 3.984 kB / 0.6645 GB, free: 13.38 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1497, allocations: 3.938 kB / 0.6645 GB, free: 13.38 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/0.1512, allocations: 1.013 MB / 0.6655 GB, free: 12.35 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.1512, allocations: 104.7 kB / 0.6656 GB, free: 12.23 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.239e-05/0.1513, allocations: 19.98 kB / 0.6656 GB, free: 12.21 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003653/0.1517, allocations: 19.97 kB / 0.6656 GB, free: 12.19 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.1518, allocations: 28.41 kB / 0.6656 GB, free: 12.16 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-05/0.1519, allocations: 15.98 kB / 0.6656 GB, free: 12.15 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 5.415e-05/0.1519, allocations: 95.27 kB / 0.6657 GB, free: 12.05 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1519, allocations: 0 / 0.6657 GB, free: 12.05 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004057/0.1523, allocations: 155.9 kB / 0.6659 GB, free: 11.9 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.0001512/0.1525, allocations: 127.6 kB / 0.666 GB, free: 11.77 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0009965/0.1535, allocations: 0.6348 MB / 0.6666 GB, free: 11.13 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1535, allocations: 3.938 kB / 0.6666 GB, free: 11.13 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004668/0.154, allocations: 318.3 kB / 0.6669 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.0004192/0.1544, allocations: 63.69 kB / 0.667 GB, free: 10.76 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/0.1574, allocations: 2.28 MB / 0.6692 GB, free: 8.453 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.1578, allocations: 0.7917 MB / 0.67 GB, free: 7.637 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.000434/0.1582, allocations: 186.8 kB / 0.6702 GB, free: 7.453 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.1584, allocations: 27.44 kB / 0.6702 GB, free: 7.43 MB / 0.5139 GB Notification: Performance of SimCode: time 1.783e-06/0.1584, allocations: 0 / 0.6702 GB, free: 7.43 MB / 0.5139 GB Notification: Performance of Templates: time 0.008729/0.1671, allocations: 5.505 MB / 0.6756 GB, free: 2.008 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