Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_320.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_320,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.2.|TA.320.|TA.3.|TB.1.|TB.2.|TB.320.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.2..|der.TA.320..|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_320") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_320,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.2.|TA.320.|TA.3.|TB.1.|TB.2.|TB.320.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.2..|der.TA.320..|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_320") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 113.4 kB / 17.75 MB, free: 5.309 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.001069/0.001069, allocations: 187 kB / 18.68 MB, free: 4.391 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.362/1.362, 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.051/1.051, allocations: 119.3 MB / 411.8 MB, free: 9.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 65.5 kB / 0.573 GB, free: 38.88 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.173, allocations: 80.69 MB / 0.6518 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_320): time 0.00309/0.1762, allocations: 1.478 MB / 0.6532 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0003717/0.1766, allocations: 91.66 kB / 0.6533 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.469e-05/0.1767, allocations: 4 kB / 0.6533 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.1768, allocations: 11.92 kB / 0.6533 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.177, allocations: 59.7 kB / 0.6534 GB, free: 9.996 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.1773, allocations: 35.94 kB / 0.6534 GB, free: 9.961 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.01482/0.1921, allocations: 18.7 MB / 0.6717 GB, free: 7.242 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002957/0.1924, allocations: 72 kB / 0.6717 GB, free: 7.172 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01205/0.2045, allocations: 7.044 MB / 0.6786 GB, free: 124 kB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01525/0.2198, allocations: 8.259 MB / 0.6867 GB, free: 7.797 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.00553/0.2253, allocations: 0.9922 MB / 0.6877 GB, free: 6.805 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006416/0.2318, allocations: 0.9961 MB / 0.6886 GB, free: 5.809 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.008848/0.2407, allocations: 5.901 MB / 0.6944 GB, free: 15.89 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.01716/0.2579, allocations: 6.057 MB / 0.7003 GB, free: 9.816 MB / 0.5452 GB Notification: Performance of NFConvertDAE.convert: time 0.01901/0.2769, allocations: 10.52 MB / 0.7106 GB, free: 15.27 MB / 0.5608 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.2769, allocations: 0 / 0.7106 GB, free: 15.27 MB / 0.5608 GB Notification: Performance of FrontEnd: time 1.844e-06/0.277, allocations: 4 kB / 0.7106 GB, free: 15.27 MB / 0.5608 GB Notification: Performance of Transformations before backend: time 0.0005325/0.2775, allocations: 0 / 0.7106 GB, free: 15.27 MB / 0.5608 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2238 * Number of variables: 2238 Notification: Performance of Generate backend data structure: time 0.07637/0.3539, allocations: 18.8 MB / 0.7289 GB, free: 12.34 MB / 0.5764 GB Notification: Performance of prepare preOptimizeDAE: time 6.503e-05/0.354, allocations: 15.83 kB / 0.729 GB, free: 12.33 MB / 0.5764 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005356/0.3593, allocations: 0.9028 MB / 0.7298 GB, free: 11.42 MB / 0.5764 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01053/0.3699, allocations: 3.005 MB / 0.7328 GB, free: 8.363 MB / 0.5764 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001091/0.371, allocations: 0.869 MB / 0.7336 GB, free: 7.492 MB / 0.5764 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006034/0.3771, allocations: 1.625 MB / 0.7352 GB, free: 5.863 MB / 0.5764 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0416/0.4187, allocations: 14.26 MB / 0.7491 GB, free: 7.551 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003699/0.4191, allocations: 192 / 0.7491 GB, free: 7.551 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00403/0.4232, allocations: 355.9 kB / 0.7495 GB, free: 7.203 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002065/0.4234, allocations: 208 kB / 0.7497 GB, free: 7 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03067/0.4541, allocations: 13.03 MB / 0.7624 GB, free: 9.949 MB / 0.6077 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8492/1.303, allocations: 73.77 MB / 0.8344 GB, free: 43.2 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0356/1.339, allocations: 23.36 MB / 0.8572 GB, free: 30.53 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01884/1.358, allocations: 11.53 MB / 0.8685 GB, free: 18.96 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003651/1.362, allocations: 164.5 kB / 0.8687 GB, free: 18.79 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/1.362, allocations: 203 kB / 0.8689 GB, free: 18.59 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=1599): time 2.038e-05/1.362, allocations: 0 / 0.8689 GB, free: 18.59 MB / 0.6079 GB Notification: Performance of matching and sorting (n=1599): time 0.06434/1.426, allocations: 27.07 MB / 0.8953 GB, free: 7.445 MB / 0.6235 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001712/1.426, allocations: 215.9 kB / 0.8955 GB, free: 7.219 MB / 0.6235 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008242/1.427, allocations: 421.5 kB / 0.8959 GB, free: 6.797 MB / 0.6235 GB Notification: Performance of collectPreVariables (initialization): time 0.004057/1.431, allocations: 425.7 kB / 0.8963 GB, free: 6.375 MB / 0.6235 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008582/1.432, allocations: 1.085 MB / 0.8974 GB, free: 5.273 MB / 0.6235 GB Notification: Performance of collectInitialBindings (initialization): time 0.01012/1.442, allocations: 6.566 MB / 0.9038 GB, free: 14.62 MB / 0.6392 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01371/1.456, allocations: 3.462 MB / 0.9072 GB, free: 11.15 MB / 0.6392 GB Notification: Performance of setup shared object (initialization): time 0.0001248/1.456, allocations: 310 kB / 0.9074 GB, free: 10.84 MB / 0.6392 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01992/1.476, allocations: 9.638 MB / 0.9169 GB, free: 1.199 MB / 0.6392 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02195/1.498, allocations: 11.04 MB / 0.9276 GB, free: 6.18 MB / 0.6548 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04613/1.544, allocations: 20.94 MB / 0.9481 GB, free: 1.207 MB / 0.6704 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.08e-05/1.544, allocations: 0 / 0.9481 GB, free: 1.207 MB / 0.6704 GB Notification: Performance of matching and sorting (n=2557) (initialization): time 0.06236/1.607, allocations: 24.08 MB / 0.9716 GB, free: 9.117 MB / 0.7017 GB Notification: Performance of prepare postOptimizeDAE: time 6.356e-05/1.607, allocations: 8 kB / 0.9716 GB, free: 9.109 MB / 0.7017 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-05/1.607, allocations: 0 / 0.9716 GB, free: 9.109 MB / 0.7017 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001694/1.607, allocations: 80 kB / 0.9717 GB, free: 9.031 MB / 0.7017 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04111/1.648, allocations: 8.769 MB / 0.9803 GB, free: 428 kB / 0.7017 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004309/1.649, allocations: 80 kB / 0.9803 GB, free: 348 kB / 0.7017 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01677/1.665, allocations: 1.91 MB / 0.9822 GB, free: 14.56 MB / 0.7173 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005979/1.671, allocations: 0.5555 MB / 0.9827 GB, free: 14.01 MB / 0.7173 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 (2557): * Single equations (assignments): 2557 * 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.01054/1.682, allocations: 1.826 MB / 0.9845 GB, free: 12.17 MB / 0.7173 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004489/1.687, allocations: 0.5526 MB / 0.9851 GB, free: 11.61 MB / 0.7173 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006767/1.693, allocations: 2.293 MB / 0.9873 GB, free: 9.312 MB / 0.7173 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002737/1.694, allocations: 75.7 kB / 0.9874 GB, free: 9.238 MB / 0.7173 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.572e-05/1.694, allocations: 0 / 0.9874 GB, free: 9.238 MB / 0.7173 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001838/1.696, allocations: 0.7378 MB / 0.9881 GB, free: 8.473 MB / 0.7173 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003656/1.699, allocations: 0.6089 MB / 0.9887 GB, free: 7.863 MB / 0.7173 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0132/1.712, allocations: 0.873 MB / 0.9896 GB, free: 6.992 MB / 0.7173 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003735/1.716, allocations: 1.018 MB / 0.9905 GB, free: 5.969 MB / 0.7173 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1281/1.844, allocations: 34.77 MB / 1.025 GB, free: 3.078 MB / 0.7485 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.08375/1.928, allocations: 35.2 MB / 1.059 GB, free: 15.74 MB / 0.7954 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02059/1.949, allocations: 10.9 MB / 1.07 GB, free: 4.812 MB / 0.7954 GB Notification: Performance of sorting global known variables: time 7.643e-05/1.949, allocations: 97.09 kB / 1.07 GB, free: 4.719 MB / 0.7954 GB Notification: Performance of Backend: time 4.1e-07/1.949, allocations: 0 / 1.07 GB, free: 4.719 MB / 0.7954 GB Notification: Performance of simCode: created initialization part: time 0.3974/2.346, allocations: 14.8 MB / 1.084 GB, free: 265.7 MB / 0.7954 GB Notification: Performance of SimCode: time 0.0707/2.417, allocations: 65.46 MB / 1.148 GB, free: 219.7 MB / 0.7954 GB Notification: Performance of Templates: time 0.2655/2.683, allocations: 214.7 MB / 1.358 GB, free: 25.42 MB / 0.7954 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_320.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_320.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_320.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_320.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_320.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_320 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_320.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_320_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_320_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_320.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches