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.001199/0.001198, allocations: 114.2 kB / 17.07 MB, free: 5.988 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.001279/0.001279, allocations: 195.7 kB / 18 MB, free: 5.074 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.458/1.458, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.196/1.196, allocations: 119.3 MB / 411.2 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 73.36 kB / 0.5723 GB, free: 39.02 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1771, allocations: 80.69 MB / 0.6511 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.002697/0.1798, allocations: 1.464 MB / 0.6525 GB, free: 10.31 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0003306/0.1802, allocations: 90.66 kB / 0.6526 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.778e-05/0.1802, allocations: 4 kB / 0.6526 GB, free: 10.22 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.1804, allocations: 15.84 kB / 0.6526 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.1805, allocations: 51.73 kB / 0.6527 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.1808, allocations: 43.92 kB / 0.6527 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0006274/0.1814, allocations: 0.6317 MB / 0.6533 GB, free: 9.48 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 7.286e-05/0.1815, allocations: 8 kB / 0.6533 GB, free: 9.473 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002407/0.1817, allocations: 243.6 kB / 0.6536 GB, free: 9.234 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004506/0.1822, allocations: 287.3 kB / 0.6539 GB, free: 8.953 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.693e-05/0.1823, allocations: 32 kB / 0.6539 GB, free: 8.922 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 9.189e-05/0.1824, allocations: 28 kB / 0.6539 GB, free: 8.895 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.1825, allocations: 183.6 kB / 0.6541 GB, free: 8.715 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002189/0.1828, allocations: 195.2 kB / 0.6543 GB, free: 8.523 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003501/0.1831, allocations: 334.8 kB / 0.6546 GB, free: 8.195 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1831, allocations: 4 kB / 0.6546 GB, free: 8.191 MB / 0.4983 GB Notification: Performance of FrontEnd: time 5.21e-06/0.1832, allocations: 0 / 0.6546 GB, free: 8.191 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.1832, allocations: 3.938 kB / 0.6546 GB, free: 8.188 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.002211/0.1854, allocations: 0.8541 MB / 0.6554 GB, free: 7.277 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1854, allocations: 15.89 kB / 0.6554 GB, free: 7.262 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.151e-05/0.1855, allocations: 32.8 kB / 0.6555 GB, free: 7.23 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.1859, allocations: 271.6 kB / 0.6557 GB, free: 6.93 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.1859, allocations: 28.94 kB / 0.6558 GB, free: 6.902 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.372e-05/0.186, allocations: 48.33 kB / 0.6558 GB, free: 6.855 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007492/0.1868, allocations: 445.1 kB / 0.6562 GB, free: 6.418 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1868, allocations: 4.188 kB / 0.6562 GB, free: 6.414 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.152e-05/0.1868, allocations: 15.94 kB / 0.6563 GB, free: 6.398 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.1869, allocations: 4 kB / 0.6563 GB, free: 6.395 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006252/0.1875, allocations: 377.9 kB / 0.6566 GB, free: 6.023 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003055/0.1906, allocations: 2.152 MB / 0.6587 GB, free: 3.602 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007881/0.1914, allocations: 468.1 kB / 0.6592 GB, free: 3.137 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004708/0.1918, allocations: 326 kB / 0.6595 GB, free: 2.812 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 5.796e-05/0.1919, allocations: 12.38 kB / 0.6595 GB, free: 2.801 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.1919, allocations: 42.88 kB / 0.6595 GB, free: 2.75 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=49): time 1.553e-06/0.1919, allocations: 0 / 0.6595 GB, free: 2.75 MB / 0.4983 GB Notification: Performance of matching and sorting (n=49): time 0.001456/0.1934, allocations: 0.7969 MB / 0.6603 GB, free: 1.949 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.1935, allocations: 59.83 kB / 0.6604 GB, free: 1.879 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.1936, allocations: 133.1 kB / 0.6605 GB, free: 1.742 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/0.1936, allocations: 45.7 kB / 0.6605 GB, free: 1.691 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.091e-05/0.1937, allocations: 125.2 kB / 0.6607 GB, free: 1.562 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.1938, allocations: 214.2 kB / 0.6609 GB, free: 1.352 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/0.194, allocations: 110.3 kB / 0.661 GB, free: 1.238 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1942, allocations: 342.8 kB / 0.6613 GB, free: 0.8945 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004722/0.1946, allocations: 277.1 kB / 0.6616 GB, free: 0.6211 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005377/0.1952, allocations: 332.7 kB / 0.6619 GB, free: 296 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009145/0.1961, allocations: 0.6116 MB / 0.6625 GB, free: 15.67 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1961, allocations: 0 / 0.6625 GB, free: 15.67 MB / 0.5139 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001104/0.1972, allocations: 0.7273 MB / 0.6632 GB, free: 14.94 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.1972, allocations: 4 kB / 0.6632 GB, free: 14.93 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1973, allocations: 0 / 0.6632 GB, free: 14.93 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1973, allocations: 4 kB / 0.6632 GB, free: 14.93 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.1983, allocations: 267.8 kB / 0.6634 GB, free: 14.67 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.1983, allocations: 0 / 0.6634 GB, free: 14.67 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003339/0.1987, allocations: 59.64 kB / 0.6635 GB, free: 14.61 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.41e-05/0.1987, allocations: 16 kB / 0.6635 GB, free: 14.59 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.0001581/0.1989, allocations: 166.5 kB / 0.6637 GB, free: 14.42 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.719e-05/0.1989, allocations: 27.8 kB / 0.6637 GB, free: 14.39 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/0.1992, allocations: 74.28 kB / 0.6638 GB, free: 14.32 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.1992, allocations: 8 kB / 0.6638 GB, free: 14.31 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1992, allocations: 4 kB / 0.6638 GB, free: 14.31 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.1992, allocations: 3.984 kB / 0.6638 GB, free: 14.3 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005223/0.1997, allocations: 465.5 kB / 0.6642 GB, free: 13.8 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1997, allocations: 0 / 0.6642 GB, free: 13.8 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/0.201, allocations: 255.7 kB / 0.6645 GB, free: 13.55 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.201, allocations: 4 kB / 0.6645 GB, free: 13.54 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.862e-05/0.2011, allocations: 23.97 kB / 0.6645 GB, free: 13.52 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.2011, allocations: 4 kB / 0.6645 GB, free: 13.52 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.2011, allocations: 4 kB / 0.6645 GB, free: 13.51 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.2026, allocations: 1.009 MB / 0.6655 GB, free: 12.49 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.739e-05/0.2027, allocations: 108.8 kB / 0.6656 GB, free: 12.36 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.163e-05/0.2028, allocations: 19.98 kB / 0.6656 GB, free: 12.34 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003432/0.2031, allocations: 23.97 kB / 0.6656 GB, free: 12.32 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.2032, allocations: 28.39 kB / 0.6657 GB, free: 12.29 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.948e-05/0.2033, allocations: 16 kB / 0.6657 GB, free: 12.28 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 6.035e-05/0.2033, allocations: 91.27 kB / 0.6658 GB, free: 12.19 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2034, allocations: 7.938 kB / 0.6658 GB, free: 12.18 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003808/0.2037, allocations: 152 kB / 0.6659 GB, free: 12.03 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.0002371/0.204, allocations: 127.6 kB / 0.666 GB, free: 11.89 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001196/0.2052, allocations: 0.6348 MB / 0.6667 GB, free: 11.26 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.2052, allocations: 0 / 0.6667 GB, free: 11.26 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005267/0.2057, allocations: 322.3 kB / 0.667 GB, free: 10.95 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.2062, allocations: 67.94 kB / 0.667 GB, free: 10.88 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003214/0.2094, allocations: 2.283 MB / 0.6693 GB, free: 8.57 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.2097, allocations: 0.7995 MB / 0.67 GB, free: 7.746 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0004323/0.2102, allocations: 182.8 kB / 0.6702 GB, free: 7.566 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.2104, allocations: 31.44 kB / 0.6703 GB, free: 7.539 MB / 0.5139 GB Notification: Performance of SimCode: time 2.51e-07/0.2104, allocations: 0 / 0.6703 GB, free: 7.539 MB / 0.5139 GB Notification: Performance of Templates: time 0.009075/0.2194, allocations: 5.508 MB / 0.6756 GB, free: 2.113 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