Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_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.CounterCurrentHeatExchangerEquations_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.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_20") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_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.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_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 115 kB / 17.75 MB, free: 5.355 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.001027/0.001027, allocations: 186.1 kB / 18.68 MB, free: 4.434 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.384/1.384, 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 1.008/1.008, allocations: 119.3 MB / 411.9 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 65.77 kB / 0.573 GB, free: 38.89 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1701, allocations: 80.69 MB / 0.6518 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20): time 0.003365/0.1735, allocations: 1.467 MB / 0.6532 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0003904/0.174, allocations: 95.66 kB / 0.6533 GB, free: 10.06 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.573e-05/0.1741, allocations: 0 / 0.6533 GB, free: 10.06 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.1742, allocations: 19.91 kB / 0.6533 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.1744, allocations: 63.66 kB / 0.6534 GB, free: 9.98 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.1747, allocations: 35.92 kB / 0.6534 GB, free: 9.945 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001168/0.1758, allocations: 1.213 MB / 0.6546 GB, free: 8.73 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 8.224e-05/0.1759, allocations: 8 kB / 0.6546 GB, free: 8.723 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008236/0.1768, allocations: 475.4 kB / 0.6551 GB, free: 8.258 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.1779, allocations: 0.5341 MB / 0.6556 GB, free: 7.723 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.000309/0.1782, allocations: 64 kB / 0.6557 GB, free: 7.66 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002269/0.1785, allocations: 64 kB / 0.6557 GB, free: 7.598 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0003697/0.1788, allocations: 371.2 kB / 0.6561 GB, free: 7.234 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0006944/0.1795, allocations: 390.6 kB / 0.6564 GB, free: 6.852 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0007243/0.1803, allocations: 0.6542 MB / 0.6571 GB, free: 6.195 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1803, allocations: 4 kB / 0.6571 GB, free: 6.191 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.914e-06/0.1803, allocations: 0 / 0.6571 GB, free: 6.191 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.1803, allocations: 0 / 0.6571 GB, free: 6.191 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.004413/0.1847, allocations: 1.429 MB / 0.6585 GB, free: 4.707 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.1848, allocations: 15.89 kB / 0.6585 GB, free: 4.691 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.185, allocations: 64.38 kB / 0.6586 GB, free: 4.629 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005478/0.1855, allocations: 347.5 kB / 0.6589 GB, free: 4.25 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.039e-05/0.1856, allocations: 53.69 kB / 0.6589 GB, free: 4.199 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/0.1857, allocations: 108.1 kB / 0.659 GB, free: 4.094 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.1872, allocations: 0.8811 MB / 0.6599 GB, free: 3.203 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.1872, allocations: 192 / 0.6599 GB, free: 3.203 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.755e-05/0.1873, allocations: 27.94 kB / 0.6599 GB, free: 3.176 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.1874, allocations: 12 kB / 0.6599 GB, free: 3.164 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.1886, allocations: 0.7702 MB / 0.6607 GB, free: 2.395 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006091/0.1947, allocations: 4.306 MB / 0.6649 GB, free: 13.57 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/0.1962, allocations: 0.9721 MB / 0.6658 GB, free: 12.59 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009306/0.1971, allocations: 0.6642 MB / 0.6665 GB, free: 11.92 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.242e-05/0.1972, allocations: 9 kB / 0.6665 GB, free: 11.91 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.1973, allocations: 51.48 kB / 0.6665 GB, free: 11.85 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=99): time 5.351e-06/0.1973, allocations: 3.984 kB / 0.6666 GB, free: 11.85 MB / 0.5139 GB Notification: Performance of matching and sorting (n=99): time 0.002782/0.2001, allocations: 1.644 MB / 0.6682 GB, free: 10.2 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.2001, allocations: 60.41 kB / 0.6682 GB, free: 10.12 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.2002, allocations: 144.8 kB / 0.6684 GB, free: 9.977 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 9.955e-05/0.2003, allocations: 53.7 kB / 0.6684 GB, free: 9.918 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.2005, allocations: 161.7 kB / 0.6686 GB, free: 9.754 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003268/0.2008, allocations: 414.1 kB / 0.669 GB, free: 9.344 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003527/0.2012, allocations: 227 kB / 0.6692 GB, free: 9.117 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.2013, allocations: 362.8 kB / 0.6695 GB, free: 8.754 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009173/0.2023, allocations: 0.5686 MB / 0.6701 GB, free: 8.184 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009691/0.2032, allocations: 0.6638 MB / 0.6707 GB, free: 7.516 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001935/0.2052, allocations: 1.258 MB / 0.6719 GB, free: 6.25 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2052, allocations: 0 / 0.6719 GB, free: 6.25 MB / 0.5139 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002285/0.2075, allocations: 1.469 MB / 0.6734 GB, free: 4.773 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.2075, allocations: 11.94 kB / 0.6734 GB, free: 4.762 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2075, allocations: 0 / 0.6734 GB, free: 4.762 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.2075, allocations: 4 kB / 0.6734 GB, free: 4.758 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002216/0.2098, allocations: 0.5308 MB / 0.6739 GB, free: 4.227 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.387e-05/0.2098, allocations: 7.938 kB / 0.6739 GB, free: 4.219 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007868/0.2106, allocations: 122.9 kB / 0.674 GB, free: 4.098 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.172e-05/0.2107, allocations: 32 kB / 0.6741 GB, free: 4.066 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.0003181/0.211, allocations: 210.5 kB / 0.6743 GB, free: 3.852 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.2111, allocations: 51.55 kB / 0.6743 GB, free: 3.801 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004707/0.2116, allocations: 148 kB / 0.6745 GB, free: 3.656 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.2116, allocations: 3.984 kB / 0.6745 GB, free: 3.652 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2116, allocations: 3.938 kB / 0.6745 GB, free: 3.648 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.2118, allocations: 124.5 kB / 0.6746 GB, free: 3.508 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.2119, allocations: 39.91 kB / 0.6746 GB, free: 3.469 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007403/0.2126, allocations: 51.94 kB / 0.6747 GB, free: 3.418 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/0.2129, allocations: 72.88 kB / 0.6747 GB, free: 3.348 MB / 0.5139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006999/0.2199, allocations: 2.14 MB / 0.6768 GB, free: 1.199 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003664/0.2235, allocations: 2.274 MB / 0.6791 GB, free: 14.91 MB / 0.5295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009708/0.2245, allocations: 0.6399 MB / 0.6797 GB, free: 14.27 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 7.526e-05/0.2246, allocations: 103.3 kB / 0.6798 GB, free: 14.16 MB / 0.5295 GB Notification: Performance of Backend: time 9.02e-07/0.2246, allocations: 0 / 0.6798 GB, free: 14.16 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.001936/0.2266, allocations: 0.9426 MB / 0.6807 GB, free: 13.21 MB / 0.5295 GB Notification: Performance of SimCode: time 0.005683/0.2323, allocations: 4.385 MB / 0.685 GB, free: 8.77 MB / 0.5295 GB Notification: Performance of Templates: time 0.02354/0.2558, allocations: 13.96 MB / 0.6986 GB, free: 10.85 MB / 0.5452 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches