Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.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_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.20.|TA.2.|TA.3.|TB.1.|TB.20.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.20..|der.TA.2..|der.TA.3..|der.TB.20..|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_20") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.20.|TA.2.|TA.3.|TB.1.|TB.20.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.20..|der.TA.2..|der.TA.3..|der.TB.20..|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_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 104.3 kB / 17.74 MB, free: 5.363 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.001251/0.001251, allocations: 179.1 kB / 18.66 MB, free: 4.445 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.353/1.353, allocations: 222.9 MB / 242.4 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 0.9654/0.9654, allocations: 119.3 MB / 411.8 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 61.09 kB / 0.573 GB, free: 38.91 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1522, allocations: 80.69 MB / 0.6518 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20): time 0.002693/0.155, allocations: 1.482 MB / 0.6532 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002949/0.1553, allocations: 91.72 kB / 0.6533 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.322e-05/0.1554, allocations: 3.938 kB / 0.6533 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.1555, allocations: 7.922 kB / 0.6533 GB, free: 10.03 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.1556, allocations: 59.72 kB / 0.6534 GB, free: 9.973 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.1558, allocations: 31.94 kB / 0.6534 GB, free: 9.941 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0009554/0.1568, allocations: 1.092 MB / 0.6545 GB, free: 8.848 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.275e-05/0.1568, allocations: 11.98 kB / 0.6545 GB, free: 8.836 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003357/0.1572, allocations: 395.5 kB / 0.6549 GB, free: 8.449 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007288/0.1579, allocations: 0.5224 MB / 0.6554 GB, free: 7.926 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001515/0.1581, allocations: 60 kB / 0.6554 GB, free: 7.867 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.1583, allocations: 64 kB / 0.6555 GB, free: 7.805 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002821/0.1585, allocations: 371.2 kB / 0.6558 GB, free: 7.441 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0003739/0.1589, allocations: 386.6 kB / 0.6562 GB, free: 7.062 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0005406/0.1595, allocations: 0.6581 MB / 0.6569 GB, free: 6.402 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1595, allocations: 0 / 0.6569 GB, free: 6.402 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.854e-06/0.1595, allocations: 0 / 0.6569 GB, free: 6.402 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.1595, allocations: 0 / 0.6569 GB, free: 6.402 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.00442/0.1639, allocations: 1.425 MB / 0.6582 GB, free: 4.922 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.164, allocations: 19.88 kB / 0.6583 GB, free: 4.902 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.1641, allocations: 64.38 kB / 0.6583 GB, free: 4.84 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005136/0.1647, allocations: 355.5 kB / 0.6587 GB, free: 4.453 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.234e-05/0.1647, allocations: 53.69 kB / 0.6587 GB, free: 4.402 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/0.1649, allocations: 108.1 kB / 0.6588 GB, free: 4.297 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.1664, allocations: 0.8773 MB / 0.6597 GB, free: 3.41 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.1664, allocations: 192 / 0.6597 GB, free: 3.41 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.442e-05/0.1665, allocations: 23.94 kB / 0.6597 GB, free: 3.387 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.1665, allocations: 12 kB / 0.6597 GB, free: 3.375 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.1677, allocations: 0.778 MB / 0.6605 GB, free: 2.598 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006127/0.1739, allocations: 4.302 MB / 0.6647 GB, free: 13.77 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/0.1754, allocations: 0.9877 MB / 0.6656 GB, free: 12.78 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009433/0.1764, allocations: 0.672 MB / 0.6663 GB, free: 12.11 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.498e-05/0.1764, allocations: 9 kB / 0.6663 GB, free: 12.09 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.1765, allocations: 47.5 kB / 0.6663 GB, free: 12.04 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=99): time 3.226e-06/0.1765, allocations: 4 kB / 0.6663 GB, free: 12.04 MB / 0.5139 GB Notification: Performance of matching and sorting (n=99): time 0.002785/0.1793, allocations: 1.66 MB / 0.668 GB, free: 10.37 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.1793, allocations: 64.34 kB / 0.668 GB, free: 10.29 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.1795, allocations: 141.8 kB / 0.6682 GB, free: 10.14 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 8.851e-05/0.1796, allocations: 49.7 kB / 0.6682 GB, free: 10.09 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 9.716e-05/0.1797, allocations: 157.8 kB / 0.6684 GB, free: 9.93 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000294/0.18, allocations: 414 kB / 0.6688 GB, free: 9.52 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003515/0.1803, allocations: 230.9 kB / 0.669 GB, free: 9.289 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1805, allocations: 362.8 kB / 0.6693 GB, free: 8.926 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009489/0.1814, allocations: 0.5725 MB / 0.6699 GB, free: 8.352 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009684/0.1824, allocations: 0.6677 MB / 0.6705 GB, free: 7.68 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001883/0.1843, allocations: 1.262 MB / 0.6718 GB, free: 6.41 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1843, allocations: 4 kB / 0.6718 GB, free: 6.406 MB / 0.5139 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002253/0.1866, allocations: 1.476 MB / 0.6732 GB, free: 4.922 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.1866, allocations: 11.94 kB / 0.6732 GB, free: 4.91 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.1866, allocations: 0 / 0.6732 GB, free: 4.91 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.1866, allocations: 4 kB / 0.6732 GB, free: 4.906 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002178/0.1888, allocations: 0.5268 MB / 0.6737 GB, free: 4.379 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.1888, allocations: 11.98 kB / 0.6738 GB, free: 4.367 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007414/0.1896, allocations: 118.9 kB / 0.6739 GB, free: 4.25 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.02e-05/0.1897, allocations: 40 kB / 0.6739 GB, free: 4.211 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 (157): * Single equations (assignments): 157 * 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.0003206/0.19, allocations: 218.4 kB / 0.6741 GB, free: 3.988 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.1901, allocations: 39.56 kB / 0.6742 GB, free: 3.949 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005104/0.1907, allocations: 156 kB / 0.6743 GB, free: 3.797 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.1907, allocations: 8 kB / 0.6743 GB, free: 3.789 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.566e-05/0.1907, allocations: 3.938 kB / 0.6743 GB, free: 3.785 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.1907, allocations: 7.984 kB / 0.6743 GB, free: 3.777 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.1917, allocations: 0.7863 MB / 0.6751 GB, free: 2.938 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.1918, allocations: 0 / 0.6751 GB, free: 2.938 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002654/0.1944, allocations: 0.5269 MB / 0.6756 GB, free: 2.41 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/0.1944, allocations: 11.94 kB / 0.6756 GB, free: 2.398 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.1946, allocations: 47.89 kB / 0.6757 GB, free: 2.352 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.1946, allocations: 4 kB / 0.6757 GB, free: 2.348 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1946, allocations: 0 / 0.6757 GB, free: 2.348 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002888/0.1975, allocations: 1.96 MB / 0.6776 GB, free: 384 kB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 9.825e-05/0.1976, allocations: 136.3 kB / 0.6777 GB, free: 228 kB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.1977, allocations: 35.97 kB / 0.6777 GB, free: 192 kB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007211/0.1984, allocations: 55.94 kB / 0.6778 GB, free: 136 kB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/0.1986, allocations: 56.92 kB / 0.6779 GB, free: 80 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.168e-05/0.1987, allocations: 27.98 kB / 0.6779 GB, free: 52 kB / 0.5139 GB Notification: Performance of sorting global known variables: time 8.246e-05/0.1988, allocations: 99.2 kB / 0.678 GB, free: 15.95 MB / 0.5295 GB Notification: Performance of sort global known variables: time 2.81e-07/0.1988, allocations: 0 / 0.678 GB, free: 15.95 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0007004/0.1995, allocations: 307.8 kB / 0.6783 GB, free: 15.65 MB / 0.5295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 57 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TAtilde[10],TAtilde[11],TAtilde[12],TAtilde[13],TAtilde[14],TAtilde[15],TAtilde[16],TAtilde[17],TAtilde[18],TAtilde[19],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TBtilde[10],TBtilde[11],TBtilde[12],TBtilde[13],TBtilde[14],TBtilde[15],TBtilde[16],TBtilde[17],TBtilde[18],TBtilde[19],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9],TW[10],TW[11],TW[12],TW[13],TW[14],TW[15],TW[16],TW[17],TW[18],TW[19]) * 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 (99): * Single equations (assignments): 99 * 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.000238/0.1998, allocations: 162.2 kB / 0.6784 GB, free: 15.48 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.002056/0.2018, allocations: 1.338 MB / 0.6797 GB, free: 14.14 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2018, allocations: 4 kB / 0.6797 GB, free: 14.14 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0009475/0.2028, allocations: 0.6576 MB / 0.6804 GB, free: 13.48 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006352/0.2034, allocations: 131.9 kB / 0.6805 GB, free: 13.35 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00613/0.2096, allocations: 4.67 MB / 0.6851 GB, free: 8.645 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005168/0.2101, allocations: 0.9143 MB / 0.686 GB, free: 7.707 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005687/0.2107, allocations: 59.44 kB / 0.686 GB, free: 7.648 MB / 0.5295 GB Notification: Performance of SimCode: time 1.082e-06/0.2107, allocations: 3.938 kB / 0.686 GB, free: 7.645 MB / 0.5295 GB Notification: Performance of Templates: time 0.01608/0.2268, allocations: 10.74 MB / 0.6965 GB, free: 12.91 MB / 0.5452 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches