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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 109 kB / 17.06 MB, free: 5.961 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.001143/0.001143, allocations: 200 kB / 18 MB, free: 5.051 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.25/1.25, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8868/0.8868, allocations: 119.3 MB / 411.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 72.78 kB / 0.5723 GB, free: 38.88 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1401, allocations: 80.69 MB / 0.6511 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.002636/0.1428, allocations: 1.456 MB / 0.6525 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002495/0.1431, allocations: 90.66 kB / 0.6526 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.824e-05/0.1431, allocations: 0 / 0.6526 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.1432, allocations: 19.86 kB / 0.6526 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.1433, allocations: 55.72 kB / 0.6527 GB, free: 10 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.1435, allocations: 27.94 kB / 0.6527 GB, free: 9.973 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004954/0.1441, allocations: 0.5771 MB / 0.6533 GB, free: 9.395 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.883e-05/0.1441, allocations: 8 kB / 0.6533 GB, free: 9.387 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.1443, allocations: 207.7 kB / 0.6535 GB, free: 9.184 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003761/0.1447, allocations: 283.3 kB / 0.6537 GB, free: 8.906 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 6.887e-05/0.1447, allocations: 28 kB / 0.6538 GB, free: 8.879 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 8.606e-05/0.1448, allocations: 32 kB / 0.6538 GB, free: 8.848 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.145, allocations: 179.6 kB / 0.654 GB, free: 8.672 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001987/0.1452, allocations: 195.3 kB / 0.6542 GB, free: 8.48 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002808/0.1455, allocations: 334.7 kB / 0.6545 GB, free: 8.152 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1455, allocations: 4 kB / 0.6545 GB, free: 8.148 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1455, allocations: 0 / 0.6545 GB, free: 8.148 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.1455, allocations: 4 kB / 0.6545 GB, free: 8.145 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.00207/0.1476, allocations: 0.8541 MB / 0.6553 GB, free: 7.234 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.1476, allocations: 11.89 kB / 0.6553 GB, free: 7.223 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.116e-05/0.1477, allocations: 36.78 kB / 0.6554 GB, free: 7.188 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.148, allocations: 267.9 kB / 0.6556 GB, free: 6.887 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.148, allocations: 24.94 kB / 0.6556 GB, free: 6.863 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.721e-05/0.1481, allocations: 48.33 kB / 0.6557 GB, free: 6.816 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006644/0.1488, allocations: 449.1 kB / 0.6561 GB, free: 6.375 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.1488, allocations: 4.125 kB / 0.6561 GB, free: 6.371 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/0.1488, allocations: 15.94 kB / 0.6561 GB, free: 6.355 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.1489, allocations: 8 kB / 0.6561 GB, free: 6.348 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005928/0.1495, allocations: 377.9 kB / 0.6565 GB, free: 5.977 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002721/0.1522, allocations: 2.152 MB / 0.6586 GB, free: 3.555 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007378/0.1529, allocations: 472.1 kB / 0.6591 GB, free: 3.086 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004506/0.1534, allocations: 330 kB / 0.6594 GB, free: 2.758 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 5.374e-05/0.1535, allocations: 12.42 kB / 0.6594 GB, free: 2.746 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.1535, allocations: 42.88 kB / 0.6594 GB, free: 2.695 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=49): time 1.523e-06/0.1535, allocations: 4 kB / 0.6594 GB, free: 2.691 MB / 0.4983 GB Notification: Performance of matching and sorting (n=49): time 0.00134/0.1548, allocations: 0.8047 MB / 0.6602 GB, free: 1.883 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.1549, allocations: 59.84 kB / 0.6603 GB, free: 1.812 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.203e-05/0.155, allocations: 140.7 kB / 0.6604 GB, free: 1.668 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.155, allocations: 37.7 kB / 0.6604 GB, free: 1.625 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 6.178e-05/0.1551, allocations: 121.2 kB / 0.6606 GB, free: 1.5 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.1552, allocations: 214.2 kB / 0.6608 GB, free: 1.289 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/0.1554, allocations: 114.3 kB / 0.6609 GB, free: 1.172 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 9.943e-05/0.1555, allocations: 342.8 kB / 0.6612 GB, free: 0.8281 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000425/0.1559, allocations: 277.1 kB / 0.6615 GB, free: 0.5547 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004526/0.1564, allocations: 336.7 kB / 0.6618 GB, free: 224 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008874/0.1573, allocations: 0.6117 MB / 0.6624 GB, free: 15.6 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1573, allocations: 0 / 0.6624 GB, free: 15.6 MB / 0.5139 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001068/0.1584, allocations: 0.7351 MB / 0.6631 GB, free: 14.86 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1584, allocations: 4 kB / 0.6631 GB, free: 14.85 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1584, allocations: 0 / 0.6631 GB, free: 14.85 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1584, allocations: 4 kB / 0.6631 GB, free: 14.85 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009908/0.1594, allocations: 259.7 kB / 0.6634 GB, free: 14.59 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.1595, allocations: 8.016 kB / 0.6634 GB, free: 14.59 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/0.1598, allocations: 59.64 kB / 0.6634 GB, free: 14.53 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.171e-05/0.1598, allocations: 16 kB / 0.6634 GB, free: 14.51 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.0001624/0.16, allocations: 162.6 kB / 0.6636 GB, free: 14.34 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.521e-05/0.1601, allocations: 27.8 kB / 0.6636 GB, free: 14.32 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002266/0.1603, allocations: 78.27 kB / 0.6637 GB, free: 14.24 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.1603, allocations: 8 kB / 0.6637 GB, free: 14.23 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1603, allocations: 0 / 0.6637 GB, free: 14.23 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1603, allocations: 0 / 0.6637 GB, free: 14.23 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005224/0.1609, allocations: 473.4 kB / 0.6642 GB, free: 13.72 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.1609, allocations: 3.984 kB / 0.6642 GB, free: 13.71 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/0.1621, allocations: 255.7 kB / 0.6644 GB, free: 13.46 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1621, allocations: 4 kB / 0.6644 GB, free: 13.46 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.424e-05/0.1622, allocations: 19.98 kB / 0.6644 GB, free: 13.44 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.1622, allocations: 7.984 kB / 0.6644 GB, free: 13.43 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1622, allocations: 3.938 kB / 0.6644 GB, free: 13.43 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.1636, allocations: 1.009 MB / 0.6654 GB, free: 12.41 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/0.1637, allocations: 108.8 kB / 0.6655 GB, free: 12.28 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.011e-05/0.1638, allocations: 23.98 kB / 0.6655 GB, free: 12.26 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/0.1641, allocations: 19.97 kB / 0.6656 GB, free: 12.24 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.1642, allocations: 24.41 kB / 0.6656 GB, free: 12.21 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.155e-05/0.1643, allocations: 19.98 kB / 0.6656 GB, free: 12.2 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.829e-05/0.1643, allocations: 95.27 kB / 0.6657 GB, free: 12.1 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.91e-07/0.1643, allocations: 0 / 0.6657 GB, free: 12.1 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003643/0.1647, allocations: 152 kB / 0.6658 GB, free: 11.95 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.0001286/0.1648, allocations: 127.6 kB / 0.666 GB, free: 11.82 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0009865/0.1658, allocations: 0.6387 MB / 0.6666 GB, free: 11.18 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1658, allocations: 0 / 0.6666 GB, free: 11.18 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.000454/0.1663, allocations: 326.3 kB / 0.6669 GB, free: 10.86 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.1667, allocations: 71.69 kB / 0.667 GB, free: 10.79 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/0.1695, allocations: 2.267 MB / 0.6692 GB, free: 8.5 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.1698, allocations: 0.7995 MB / 0.67 GB, free: 7.676 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0004409/0.1703, allocations: 178.8 kB / 0.6701 GB, free: 7.5 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.1705, allocations: 27.44 kB / 0.6702 GB, free: 7.477 MB / 0.5139 GB Notification: Performance of SimCode: time 5.71e-07/0.1705, allocations: 0 / 0.6702 GB, free: 7.477 MB / 0.5139 GB Notification: Performance of Templates: time 0.008639/0.1791, allocations: 5.504 MB / 0.6755 GB, free: 2.059 MB / 0.5139 GB 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/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches