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.001572/0.001572, 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.001694/0.001694, 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.332/1.332, 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.9433/0.9433, allocations: 119.3 MB / 411.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 65.03 kB / 0.573 GB, free: 38.9 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1604, allocations: 80.69 MB / 0.6518 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.002678/0.1631, allocations: 1.456 MB / 0.6532 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0003193/0.1635, allocations: 98.59 kB / 0.6533 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.424e-05/0.1635, allocations: 7.938 kB / 0.6533 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.1636, allocations: 7.922 kB / 0.6533 GB, free: 10.06 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.1638, allocations: 59.66 kB / 0.6533 GB, free: 10 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.1641, allocations: 31.94 kB / 0.6534 GB, free: 9.973 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005464/0.1646, allocations: 0.5732 MB / 0.6539 GB, free: 9.398 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 7.313e-05/0.1647, allocations: 8 kB / 0.6539 GB, free: 9.391 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002728/0.165, allocations: 207.7 kB / 0.6541 GB, free: 9.188 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004759/0.1655, allocations: 283.3 kB / 0.6544 GB, free: 8.91 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 8.417e-05/0.1655, allocations: 32 kB / 0.6544 GB, free: 8.879 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 8.644e-05/0.1656, allocations: 28 kB / 0.6545 GB, free: 8.852 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.1658, allocations: 183.6 kB / 0.6546 GB, free: 8.672 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002621/0.1661, allocations: 199.2 kB / 0.6548 GB, free: 8.477 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.1664, allocations: 331 kB / 0.6551 GB, free: 8.152 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1664, allocations: 0 / 0.6551 GB, free: 8.152 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.054e-06/0.1665, allocations: 0 / 0.6551 GB, free: 8.152 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.1665, allocations: 0 / 0.6551 GB, free: 8.152 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.002493/0.169, allocations: 0.8506 MB / 0.656 GB, free: 7.246 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.169, allocations: 11.89 kB / 0.656 GB, free: 7.234 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.1692, allocations: 40.56 kB / 0.656 GB, free: 7.195 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.1695, allocations: 263.9 kB / 0.6563 GB, free: 6.898 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.281e-05/0.1696, allocations: 32.94 kB / 0.6563 GB, free: 6.867 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.1697, allocations: 44.28 kB / 0.6564 GB, free: 6.824 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007952/0.1705, allocations: 445.1 kB / 0.6568 GB, free: 6.387 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1705, allocations: 192 / 0.6568 GB, free: 6.387 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.295e-05/0.1706, allocations: 15.94 kB / 0.6568 GB, free: 6.371 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.1706, allocations: 8 kB / 0.6568 GB, free: 6.363 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006581/0.1713, allocations: 374 kB / 0.6572 GB, free: 5.996 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003275/0.1745, allocations: 2.152 MB / 0.6593 GB, free: 3.574 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008774/0.1754, allocations: 484.1 kB / 0.6597 GB, free: 3.094 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005114/0.176, allocations: 324.9 kB / 0.66 GB, free: 2.773 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 5.141e-05/0.1761, allocations: 4.438 kB / 0.66 GB, free: 2.77 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.1761, allocations: 42.94 kB / 0.6601 GB, free: 2.719 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=49): time 2.595e-06/0.1761, allocations: 0 / 0.6601 GB, free: 2.719 MB / 0.4983 GB Notification: Performance of matching and sorting (n=49): time 0.00156/0.1777, allocations: 0.8124 MB / 0.6609 GB, free: 1.902 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.1777, allocations: 55.84 kB / 0.6609 GB, free: 1.836 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.1779, allocations: 137.6 kB / 0.6611 GB, free: 1.695 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 6.345e-05/0.1779, allocations: 41.7 kB / 0.6611 GB, free: 1.648 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 9.024e-05/0.178, allocations: 125 kB / 0.6612 GB, free: 1.52 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.1782, allocations: 201.1 kB / 0.6614 GB, free: 1.32 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.1784, allocations: 114.3 kB / 0.6615 GB, free: 1.203 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1786, allocations: 338.8 kB / 0.6618 GB, free: 0.8633 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004773/0.1791, allocations: 289.1 kB / 0.6621 GB, free: 0.5781 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004911/0.1796, allocations: 332.7 kB / 0.6624 GB, free: 252 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009721/0.1805, allocations: 0.6116 MB / 0.663 GB, free: 15.63 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.1806, allocations: 0 / 0.663 GB, free: 15.63 MB / 0.5139 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001282/0.1818, allocations: 0.7234 MB / 0.6637 GB, free: 14.9 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 3.514e-05/0.1819, allocations: 12.03 kB / 0.6637 GB, free: 14.89 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.1819, allocations: 3.938 kB / 0.6637 GB, free: 14.88 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.1819, allocations: 4 kB / 0.6638 GB, free: 14.88 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.1831, allocations: 251.8 kB / 0.664 GB, free: 14.63 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.957e-05/0.1831, allocations: 7.938 kB / 0.664 GB, free: 14.62 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004259/0.1835, allocations: 63.41 kB / 0.6641 GB, free: 14.56 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.308e-05/0.1836, allocations: 16 kB / 0.6641 GB, free: 14.55 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.0002471/0.1838, allocations: 154.6 kB / 0.6642 GB, free: 14.39 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.1839, allocations: 27.75 kB / 0.6642 GB, free: 14.36 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002627/0.1842, allocations: 86.2 kB / 0.6643 GB, free: 14.27 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.473e-06/0.1842, allocations: 4 kB / 0.6643 GB, free: 14.27 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.1842, allocations: 0 / 0.6643 GB, free: 14.27 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1842, allocations: 0 / 0.6643 GB, free: 14.27 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006604/0.1849, allocations: 473.4 kB / 0.6648 GB, free: 13.75 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.1849, allocations: 3.984 kB / 0.6648 GB, free: 13.75 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001347/0.1863, allocations: 259.7 kB / 0.665 GB, free: 13.5 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/0.1863, allocations: 0 / 0.665 GB, free: 13.5 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.401e-05/0.1864, allocations: 23.98 kB / 0.6651 GB, free: 13.47 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.1864, allocations: 4 kB / 0.6651 GB, free: 13.47 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1864, allocations: 0 / 0.6651 GB, free: 13.47 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.188, allocations: 1.009 MB / 0.6661 GB, free: 12.45 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.1882, allocations: 108.7 kB / 0.6662 GB, free: 12.32 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.669e-05/0.1883, allocations: 19.98 kB / 0.6662 GB, free: 12.3 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004156/0.1887, allocations: 23.92 kB / 0.6662 GB, free: 12.28 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.1888, allocations: 32.39 kB / 0.6662 GB, free: 12.25 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.725e-05/0.1889, allocations: 15.98 kB / 0.6662 GB, free: 12.23 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 8.373e-05/0.189, allocations: 99.27 kB / 0.6663 GB, free: 12.13 MB / 0.5139 GB Notification: Performance of sort global known variables: time 2e-07/0.189, allocations: 0 / 0.6663 GB, free: 12.13 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004658/0.1894, allocations: 147.9 kB / 0.6665 GB, free: 11.99 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.0001924/0.1896, allocations: 127.6 kB / 0.6666 GB, free: 11.85 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001161/0.1908, allocations: 0.6426 MB / 0.6672 GB, free: 11.21 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.1908, allocations: 4 kB / 0.6672 GB, free: 11.21 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.000506/0.1913, allocations: 314.3 kB / 0.6675 GB, free: 10.9 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000491/0.1918, allocations: 75.94 kB / 0.6676 GB, free: 10.82 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00334/0.1952, allocations: 2.29 MB / 0.6698 GB, free: 8.504 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004578/0.1957, allocations: 0.7917 MB / 0.6706 GB, free: 7.688 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003325/0.196, allocations: 39.44 kB / 0.6706 GB, free: 7.652 MB / 0.5139 GB Notification: Performance of SimCode: time 8.72e-07/0.196, allocations: 0 / 0.6706 GB, free: 7.652 MB / 0.5139 GB Notification: Performance of Templates: time 0.009177/0.2052, allocations: 5.427 MB / 0.676 GB, free: 2.242 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins1/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