Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001344/0.001344, allocations: 104.9 kB / 17.06 MB, free: 5.992 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.001296/0.001296, allocations: 191.8 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.513/1.513, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.13/1.13, allocations: 119.3 MB / 411.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 62.41 kB / 0.5723 GB, free: 38.85 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1742, allocations: 80.69 MB / 0.6511 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.00254/0.1768, allocations: 1.453 MB / 0.6525 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0003867/0.1772, allocations: 106.6 kB / 0.6526 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.287e-05/0.1773, allocations: 4 kB / 0.6526 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.1774, allocations: 7.922 kB / 0.6526 GB, free: 10.03 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.1776, allocations: 63.66 kB / 0.6527 GB, free: 9.969 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.1778, allocations: 35.92 kB / 0.6527 GB, free: 9.934 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0006234/0.1784, allocations: 0.6317 MB / 0.6533 GB, free: 9.301 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 7.362e-05/0.1785, allocations: 4 kB / 0.6533 GB, free: 9.297 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002478/0.1788, allocations: 243.6 kB / 0.6536 GB, free: 9.059 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004716/0.1793, allocations: 295.3 kB / 0.6539 GB, free: 8.77 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.802e-05/0.1793, allocations: 36 kB / 0.6539 GB, free: 8.734 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 8.121e-05/0.1794, allocations: 28 kB / 0.6539 GB, free: 8.707 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.1796, allocations: 183.6 kB / 0.6541 GB, free: 8.527 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001931/0.1798, allocations: 191.3 kB / 0.6543 GB, free: 8.34 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.1801, allocations: 330.9 kB / 0.6546 GB, free: 8.016 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1801, allocations: 0 / 0.6546 GB, free: 8.016 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1801, allocations: 0 / 0.6546 GB, free: 8.016 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.473e-06/0.1802, allocations: 0 / 0.6546 GB, free: 8.016 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.00227/0.1824, allocations: 0.8545 MB / 0.6554 GB, free: 7.105 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.1825, allocations: 15.89 kB / 0.6554 GB, free: 7.09 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.91e-05/0.1826, allocations: 36.56 kB / 0.6555 GB, free: 7.055 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.1829, allocations: 258.1 kB / 0.6557 GB, free: 6.766 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/0.183, allocations: 32.94 kB / 0.6557 GB, free: 6.734 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.1831, allocations: 56.2 kB / 0.6558 GB, free: 6.68 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007405/0.1838, allocations: 441.1 kB / 0.6562 GB, free: 6.246 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.1838, allocations: 192 / 0.6562 GB, free: 6.246 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.26e-05/0.1839, allocations: 19.94 kB / 0.6562 GB, free: 6.227 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.1839, allocations: 8 kB / 0.6562 GB, free: 6.219 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006492/0.1846, allocations: 374 kB / 0.6566 GB, free: 5.852 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003072/0.1877, allocations: 2.148 MB / 0.6587 GB, free: 3.434 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008214/0.1885, allocations: 476.1 kB / 0.6592 GB, free: 2.961 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004905/0.189, allocations: 322 kB / 0.6595 GB, free: 2.641 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 4.63e-05/0.189, allocations: 4.438 kB / 0.6595 GB, free: 2.637 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.1891, allocations: 38.94 kB / 0.6595 GB, free: 2.59 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=49): time 1.463e-06/0.1891, allocations: 0 / 0.6595 GB, free: 2.59 MB / 0.4983 GB Notification: Performance of matching and sorting (n=49): time 0.001453/0.1905, allocations: 0.8085 MB / 0.6603 GB, free: 1.777 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.1906, allocations: 55.84 kB / 0.6603 GB, free: 1.711 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.1907, allocations: 132.8 kB / 0.6605 GB, free: 1.574 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.14e-05/0.1908, allocations: 37.7 kB / 0.6605 GB, free: 1.531 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.524e-05/0.1909, allocations: 129 kB / 0.6606 GB, free: 1.398 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.191, allocations: 201.1 kB / 0.6608 GB, free: 1.199 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/0.1912, allocations: 118.3 kB / 0.6609 GB, free: 1.078 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.1914, allocations: 338.8 kB / 0.6613 GB, free: 0.7383 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004622/0.1919, allocations: 281.1 kB / 0.6615 GB, free: 472 kB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004883/0.1924, allocations: 332.7 kB / 0.6618 GB, free: 132 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009566/0.1933, allocations: 0.6078 MB / 0.6624 GB, free: 15.51 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1933, allocations: 0 / 0.6624 GB, free: 15.51 MB / 0.5139 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001146/0.1945, allocations: 0.7195 MB / 0.6631 GB, free: 14.79 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.1945, allocations: 8.031 kB / 0.6632 GB, free: 14.78 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.1945, allocations: 11.92 kB / 0.6632 GB, free: 14.77 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1945, allocations: 0 / 0.6632 GB, free: 14.77 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.1956, allocations: 255.8 kB / 0.6634 GB, free: 14.52 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.1956, allocations: 7.938 kB / 0.6634 GB, free: 14.51 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003506/0.196, allocations: 51.42 kB / 0.6635 GB, free: 14.46 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.009e-05/0.196, allocations: 20 kB / 0.6635 GB, free: 14.44 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.000192/0.1962, allocations: 162.6 kB / 0.6636 GB, free: 14.27 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.232e-05/0.1963, allocations: 31.75 kB / 0.6637 GB, free: 14.24 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.1965, allocations: 74.22 kB / 0.6637 GB, free: 14.16 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1965, allocations: 8 kB / 0.6637 GB, free: 14.16 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1966, allocations: 0 / 0.6637 GB, free: 14.16 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1966, allocations: 3.984 kB / 0.6638 GB, free: 14.15 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005813/0.1972, allocations: 473.3 kB / 0.6642 GB, free: 13.64 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1972, allocations: 0 / 0.6642 GB, free: 13.64 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/0.1985, allocations: 263.7 kB / 0.6645 GB, free: 13.38 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1985, allocations: 0 / 0.6645 GB, free: 13.38 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.497e-05/0.1985, allocations: 19.92 kB / 0.6645 GB, free: 13.36 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.1985, allocations: 8 kB / 0.6645 GB, free: 13.36 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1985, allocations: 0 / 0.6645 GB, free: 13.36 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.2001, allocations: 1.005 MB / 0.6655 GB, free: 12.34 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/0.2002, allocations: 100.7 kB / 0.6656 GB, free: 12.22 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.136e-05/0.2002, allocations: 23.98 kB / 0.6656 GB, free: 12.2 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003609/0.2006, allocations: 23.91 kB / 0.6656 GB, free: 12.17 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.2007, allocations: 36.38 kB / 0.6656 GB, free: 12.14 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/0.2008, allocations: 16 kB / 0.6657 GB, free: 12.12 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 6.892e-05/0.2009, allocations: 95.27 kB / 0.6657 GB, free: 12.03 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2009, allocations: 0 / 0.6657 GB, free: 12.03 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003907/0.2013, allocations: 147.9 kB / 0.6659 GB, free: 11.88 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.0001689/0.2014, allocations: 127.6 kB / 0.666 GB, free: 11.75 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001053/0.2025, allocations: 0.6426 MB / 0.6666 GB, free: 11.11 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2025, allocations: 0 / 0.6666 GB, free: 11.11 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004931/0.203, allocations: 322.3 kB / 0.6669 GB, free: 10.79 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004684/0.2035, allocations: 67.66 kB / 0.667 GB, free: 10.73 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003275/0.2068, allocations: 2.268 MB / 0.6692 GB, free: 8.434 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004449/0.2072, allocations: 0.8034 MB / 0.67 GB, free: 7.605 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0004492/0.2077, allocations: 174.8 kB / 0.6702 GB, free: 7.434 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.2079, allocations: 31.44 kB / 0.6702 GB, free: 7.406 MB / 0.5139 GB Notification: Performance of SimCode: time 2.41e-07/0.2079, allocations: 4 kB / 0.6702 GB, free: 7.402 MB / 0.5139 GB Notification: Performance of Templates: time 0.009597/0.2175, allocations: 5.499 MB / 0.6756 GB, free: 1.988 MB / 0.5139 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches