Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_1280.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_1280,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1280.|TA.1.|TA.2.|TA.3.|TB.1280.|TB.1.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.1280..|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_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_1280") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_1280,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1280.|TA.1.|TA.2.|TA.3.|TB.1280.|TB.1.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.1280..|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_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_1280") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 114.2 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.001661/0.001661, allocations: 185.4 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.34/1.34, 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.029/1.029, allocations: 119.3 MB / 411.9 MB, free: 9.461 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 65.3 kB / 0.573 GB, free: 38.9 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1566, allocations: 80.68 MB / 0.6518 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_1280): time 0.002709/0.1593, allocations: 1.482 MB / 0.6532 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0003609/0.1597, allocations: 95.66 kB / 0.6533 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.849e-05/0.1598, allocations: 4 kB / 0.6533 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.1599, allocations: 11.92 kB / 0.6533 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.1601, allocations: 59.7 kB / 0.6534 GB, free: 9.965 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.1603, allocations: 35.92 kB / 0.6534 GB, free: 9.93 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.05645/0.2168, allocations: 74.62 MB / 0.7263 GB, free: 15.22 MB / 0.5764 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006797/0.2175, allocations: 291.9 kB / 0.7266 GB, free: 14.93 MB / 0.5764 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04239/0.2599, allocations: 28.14 MB / 0.754 GB, free: 2.77 MB / 0.592 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6907/0.9507, allocations: 32.94 MB / 0.7862 GB, free: 20.98 MB / 0.6079 GB Notification: Performance of NFPackage.collectConstants: time 0.02571/0.9764, allocations: 3.981 MB / 0.7901 GB, free: 20.98 MB / 0.6079 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02383/1, allocations: 3.983 MB / 0.794 GB, free: 20.98 MB / 0.6079 GB Notification: Performance of NFScalarize.scalarize: time 0.03288/1.033, allocations: 23.61 MB / 0.817 GB, free: 14.65 MB / 0.6079 GB Notification: Performance of NFVerifyModel.verify: time 0.05983/1.093, allocations: 24.24 MB / 0.8407 GB, free: 5.156 MB / 0.6079 GB Notification: Performance of NFConvertDAE.convert: time 0.06699/1.16, allocations: 42.05 MB / 0.8818 GB, free: 5.613 MB / 0.6235 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/1.16, allocations: 5.719 kB / 0.8818 GB, free: 5.609 MB / 0.6235 GB Notification: Performance of FrontEnd: time 2.655e-06/1.16, allocations: 0 / 0.8818 GB, free: 5.609 MB / 0.6235 GB Notification: Performance of Transformations before backend: time 0.002364/1.163, allocations: 0 / 0.8818 GB, free: 5.609 MB / 0.6235 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8958 * Number of variables: 8958 Notification: Performance of Generate backend data structure: time 0.2796/1.442, allocations: 74.39 MB / 0.9544 GB, free: 7.266 MB / 0.686 GB Notification: Performance of prepare preOptimizeDAE: time 6.989e-05/1.442, allocations: 12.02 kB / 0.9544 GB, free: 7.254 MB / 0.686 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01951/1.462, allocations: 3.597 MB / 0.958 GB, free: 3.625 MB / 0.686 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04023/1.502, allocations: 11.53 MB / 0.9692 GB, free: 8.066 MB / 0.7017 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003765/1.506, allocations: 3.475 MB / 0.9726 GB, free: 4.594 MB / 0.7017 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02166/1.527, allocations: 6.505 MB / 0.979 GB, free: 14.07 MB / 0.7173 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1492/1.677, allocations: 57.35 MB / 1.035 GB, free: 4.621 MB / 0.7642 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001123/1.678, allocations: 192 / 1.035 GB, free: 4.621 MB / 0.7642 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01345/1.691, allocations: 1.371 MB / 1.036 GB, free: 3.25 MB / 0.7642 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006719/1.692, allocations: 0.8214 MB / 1.037 GB, free: 2.43 MB / 0.7642 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4844/2.176, allocations: 52.84 MB / 1.089 GB, free: 215.2 MB / 0.811 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8373/3.014, allocations: 352.1 MB / 1.433 GB, free: 275.9 MB / 0.8735 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3184/3.332, allocations: 171.9 MB / 1.6 GB, free: 164 MB / 0.8735 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0846/3.417, allocations: 47.5 MB / 1.647 GB, free: 122.4 MB / 0.8735 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01189/3.429, allocations: 0.6384 MB / 1.647 GB, free: 121.8 MB / 0.8735 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004764/3.429, allocations: 0.6685 MB / 1.648 GB, free: 121.1 MB / 0.8735 GB Notification: Performance of pre-optimization done (n=6399): time 7.222e-05/3.429, allocations: 1.312 kB / 1.648 GB, free: 121.1 MB / 0.8735 GB Notification: Performance of matching and sorting (n=6399): time 0.629/4.058, allocations: 109.3 MB / 1.755 GB, free: 274.1 MB / 0.8735 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003554/4.059, allocations: 0.6856 MB / 1.756 GB, free: 274 MB / 0.8735 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002582/4.061, allocations: 1.3 MB / 1.757 GB, free: 273.5 MB / 0.8735 GB Notification: Performance of collectPreVariables (initialization): time 0.01844/4.08, allocations: 1.586 MB / 1.758 GB, free: 272.2 MB / 0.8735 GB Notification: Performance of collectInitialEqns (initialization): time 0.003166/4.083, allocations: 4.059 MB / 1.762 GB, free: 270.8 MB / 0.8735 GB Notification: Performance of collectInitialBindings (initialization): time 0.03858/4.122, allocations: 26.47 MB / 1.788 GB, free: 249.9 MB / 0.8735 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.05827/4.18, allocations: 13.85 MB / 1.802 GB, free: 244.1 MB / 0.8735 GB Notification: Performance of setup shared object (initialization): time 5.643e-05/4.18, allocations: 312.5 kB / 1.802 GB, free: 243.8 MB / 0.8735 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.07685/4.257, allocations: 38.96 MB / 1.84 GB, free: 232.4 MB / 0.8735 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.08656/4.344, allocations: 44.55 MB / 1.884 GB, free: 203.3 MB / 0.8735 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.174/4.518, allocations: 84.49 MB / 1.966 GB, free: 118.8 MB / 0.8735 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003729/4.518, allocations: 0 / 1.966 GB, free: 118.8 MB / 0.8735 GB Notification: Performance of matching and sorting (n=10237) (initialization): time 0.7063/5.224, allocations: 97.03 MB / 2.061 GB, free: 248.7 MB / 0.8735 GB Notification: Performance of prepare postOptimizeDAE: time 0.000142/5.224, allocations: 6.5 kB / 2.061 GB, free: 248.7 MB / 0.8735 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000189/5.225, allocations: 4.875 kB / 2.061 GB, free: 248.7 MB / 0.8735 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005626/5.225, allocations: 323.8 kB / 2.061 GB, free: 248.7 MB / 0.8735 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1523/5.378, allocations: 35.13 MB / 2.095 GB, free: 247.1 MB / 0.8735 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/5.38, allocations: 321.6 kB / 2.096 GB, free: 247.1 MB / 0.8735 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06691/5.447, allocations: 7.653 MB / 2.103 GB, free: 244.8 MB / 0.8735 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01933/5.466, allocations: 2.188 MB / 2.105 GB, free: 244.2 MB / 0.8735 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 (10237): * Single equations (assignments): 10237 * 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.04766/5.514, allocations: 7.005 MB / 2.112 GB, free: 241.1 MB / 0.8735 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02124/5.535, allocations: 2.192 MB / 2.114 GB, free: 241.1 MB / 0.8735 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03169/5.567, allocations: 9.153 MB / 2.123 GB, free: 231.9 MB / 0.8735 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001759/5.568, allocations: 301.1 kB / 2.124 GB, free: 231.9 MB / 0.8735 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002395/5.569, allocations: 0 / 2.124 GB, free: 231.9 MB / 0.8735 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00703/5.576, allocations: 2.716 MB / 2.126 GB, free: 230.9 MB / 0.8735 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02185/5.598, allocations: 2.439 MB / 2.129 GB, free: 230.2 MB / 0.8735 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05842/5.656, allocations: 3.473 MB / 2.132 GB, free: 229.4 MB / 0.8735 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.02399/5.68, allocations: 4.065 MB / 2.136 GB, free: 228.9 MB / 0.8735 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.501/6.181, allocations: 139.9 MB / 2.273 GB, free: 109.3 MB / 0.8735 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.8645/7.046, allocations: 141.7 MB / 2.411 GB, free: 187.1 MB / 0.8735 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.09248/7.138, allocations: 44.3 MB / 2.454 GB, free: 176.4 MB / 0.8735 GB Notification: Performance of sorting global known variables: time 0.0001044/7.138, allocations: 101.2 kB / 2.454 GB, free: 176.3 MB / 0.8735 GB Notification: Performance of Backend: time 1.122e-06/7.138, allocations: 3.562 kB / 2.454 GB, free: 176.3 MB / 0.8735 GB Notification: Performance of simCode: created initialization part: time 0.1717/7.31, allocations: 59.71 MB / 2.513 GB, free: 156.5 MB / 0.8735 GB Notification: Performance of SimCode: time 0.7543/8.065, allocations: 264.3 MB / 2.771 GB, free: 182.5 MB / 0.8735 GB Notification: Performance of Templates: time 2.314/10.38, allocations: 0.8409 GB / 3.612 GB, free: 212.2 MB / 0.8735 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_1280.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_1280.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_1280.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_1280.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_1280.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_1280 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_1280.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_1280_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_1280_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_1280.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches