Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_640.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_640,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.3.|TA.640.|TB.1.|TB.2.|TB.3.|TB.640.|TW.1.|TW.2.|TW.3.|der.TA.2..|der.TA.3..|der.TA.640..|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_640") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_640,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.3.|TA.640.|TB.1.|TB.2.|TB.3.|TB.640.|TW.1.|TW.2.|TW.3.|der.TA.2..|der.TA.3..|der.TA.640..|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_640") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 105.3 kB / 17.74 MB, free: 5.352 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.001179/0.001179, allocations: 184.2 kB / 18.68 MB, free: 4.426 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.41/1.41, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.038/1.038, allocations: 119.3 MB / 411.9 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 65.92 kB / 0.573 GB, free: 38.86 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1723, allocations: 80.68 MB / 0.6518 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_640): time 0.002831/0.1752, allocations: 1.478 MB / 0.6532 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0003842/0.1756, allocations: 95.72 kB / 0.6533 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.147e-05/0.1757, allocations: 0 / 0.6533 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.1758, allocations: 15.8 kB / 0.6533 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.176, allocations: 59.7 kB / 0.6534 GB, free: 9.977 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.1763, allocations: 35.94 kB / 0.6534 GB, free: 9.941 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.02935/0.2056, allocations: 37.33 MB / 0.6899 GB, free: 4.562 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005108/0.2062, allocations: 148 kB / 0.69 GB, free: 4.418 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02689/0.2331, allocations: 14.08 MB / 0.7038 GB, free: 6.324 MB / 0.5452 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03206/0.2652, allocations: 16.48 MB / 0.7199 GB, free: 5.711 MB / 0.5608 GB Notification: Performance of NFPackage.collectConstants: time 0.009501/0.2747, allocations: 1.992 MB / 0.7218 GB, free: 3.719 MB / 0.5608 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01039/0.2851, allocations: 1.988 MB / 0.7238 GB, free: 1.73 MB / 0.5608 GB Notification: Performance of NFScalarize.scalarize: time 0.01676/0.3019, allocations: 11.8 MB / 0.7353 GB, free: 5.902 MB / 0.5764 GB Notification: Performance of NFVerifyModel.verify: time 0.03454/0.3365, allocations: 12.12 MB / 0.7471 GB, free: 9.746 MB / 0.592 GB Notification: Performance of NFConvertDAE.convert: time 0.03619/0.3727, allocations: 21.1 MB / 0.7677 GB, free: 4.578 MB / 0.6077 GB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/0.3728, allocations: 4 kB / 0.7677 GB, free: 4.574 MB / 0.6077 GB Notification: Performance of FrontEnd: time 3.928e-06/0.3728, allocations: 0 / 0.7677 GB, free: 4.574 MB / 0.6077 GB Notification: Performance of Transformations before backend: time 0.001251/0.3741, allocations: 3.938 kB / 0.7677 GB, free: 4.57 MB / 0.6077 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4478 * Number of variables: 4478 Notification: Performance of Generate backend data structure: time 0.7414/1.115, allocations: 37.6 MB / 0.8044 GB, free: 88.65 MB / 0.6079 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/1.116, allocations: 15.89 kB / 0.8044 GB, free: 88.63 MB / 0.6079 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009334/1.125, allocations: 1.875 MB / 0.8063 GB, free: 86.75 MB / 0.6079 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01986/1.145, allocations: 5.845 MB / 0.812 GB, free: 81.48 MB / 0.6079 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001662/1.146, allocations: 1.738 MB / 0.8137 GB, free: 79.75 MB / 0.6079 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01126/1.158, allocations: 3.277 MB / 0.8169 GB, free: 76.46 MB / 0.6079 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06887/1.227, allocations: 28.59 MB / 0.8448 GB, free: 47.82 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007336/1.227, allocations: 3.938 kB / 0.8448 GB, free: 47.82 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007081/1.234, allocations: 0.6836 MB / 0.8455 GB, free: 47.14 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002901/1.235, allocations: 424 kB / 0.8459 GB, free: 46.72 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05625/1.291, allocations: 26.25 MB / 0.8715 GB, free: 20.45 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2595/1.551, allocations: 157.2 MB / 1.025 GB, free: 3.211 MB / 0.7642 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4558/2.006, allocations: 60.09 MB / 1.084 GB, free: 271.4 MB / 0.811 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03953/2.046, allocations: 23.42 MB / 1.107 GB, free: 263.3 MB / 0.811 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005944/2.052, allocations: 326.7 kB / 1.107 GB, free: 263.2 MB / 0.811 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002368/2.052, allocations: 366.7 kB / 1.107 GB, free: 263 MB / 0.811 GB Notification: Performance of pre-optimization done (n=3199): time 3.693e-05/2.052, allocations: 0 / 1.107 GB, free: 263 MB / 0.811 GB Notification: Performance of matching and sorting (n=3199): time 0.1225/2.175, allocations: 54.43 MB / 1.16 GB, free: 228.8 MB / 0.811 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000221/2.175, allocations: 386.2 kB / 1.161 GB, free: 228.4 MB / 0.811 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/2.176, allocations: 0.7036 MB / 1.162 GB, free: 227.9 MB / 0.811 GB Notification: Performance of collectPreVariables (initialization): time 0.007417/2.184, allocations: 0.8064 MB / 1.162 GB, free: 227.1 MB / 0.811 GB Notification: Performance of collectInitialEqns (initialization): time 0.001166/2.185, allocations: 2.14 MB / 1.164 GB, free: 225.6 MB / 0.811 GB Notification: Performance of collectInitialBindings (initialization): time 0.01415/2.199, allocations: 13.84 MB / 1.178 GB, free: 213.7 MB / 0.811 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02531/2.224, allocations: 6.916 MB / 1.185 GB, free: 207.4 MB / 0.811 GB Notification: Performance of setup shared object (initialization): time 5.561e-05/2.224, allocations: 317.6 kB / 1.185 GB, free: 207.1 MB / 0.811 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03569/2.26, allocations: 19.39 MB / 1.204 GB, free: 188.4 MB / 0.811 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03987/2.3, allocations: 22.19 MB / 1.226 GB, free: 166.3 MB / 0.811 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07195/2.372, allocations: 42.07 MB / 1.267 GB, free: 124.2 MB / 0.811 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000102/2.372, allocations: 0 / 1.267 GB, free: 124.2 MB / 0.811 GB Notification: Performance of matching and sorting (n=5117) (initialization): time 0.1056/2.478, allocations: 48.43 MB / 1.314 GB, free: 75.75 MB / 0.811 GB Notification: Performance of prepare postOptimizeDAE: time 0.000129/2.478, allocations: 8 kB / 1.314 GB, free: 75.74 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001039/2.478, allocations: 3.906 kB / 1.314 GB, free: 75.74 MB / 0.811 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002347/2.478, allocations: 160 kB / 1.314 GB, free: 75.58 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.07377/2.552, allocations: 17.56 MB / 1.331 GB, free: 58.34 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000688/2.553, allocations: 161.1 kB / 1.331 GB, free: 58.19 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03246/2.585, allocations: 3.903 MB / 1.335 GB, free: 54.57 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01116/2.597, allocations: 1.101 MB / 1.336 GB, free: 53.47 MB / 0.811 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 (5117): * Single equations (assignments): 5117 * 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.019/2.616, allocations: 3.555 MB / 1.34 GB, free: 49.89 MB / 0.811 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007957/2.624, allocations: 1.146 MB / 1.341 GB, free: 48.74 MB / 0.811 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01204/2.636, allocations: 4.575 MB / 1.345 GB, free: 44.16 MB / 0.811 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00064/2.636, allocations: 151.4 kB / 1.345 GB, free: 44.01 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.552e-05/2.636, allocations: 0 / 1.345 GB, free: 44.01 MB / 0.811 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002389/2.639, allocations: 1.445 MB / 1.347 GB, free: 42.54 MB / 0.811 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007981/2.647, allocations: 1.224 MB / 1.348 GB, free: 41.31 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02756/2.674, allocations: 1.733 MB / 1.35 GB, free: 39.89 MB / 0.811 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.009937/2.684, allocations: 2.032 MB / 1.352 GB, free: 37.85 MB / 0.811 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.6485/3.333, allocations: 69.81 MB / 1.42 GB, free: 244.8 MB / 0.811 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1434/3.476, allocations: 70.7 MB / 1.489 GB, free: 195.6 MB / 0.811 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.038/3.514, allocations: 21.98 MB / 1.51 GB, free: 173.6 MB / 0.811 GB Notification: Performance of sorting global known variables: time 6.627e-05/3.514, allocations: 95.27 kB / 1.511 GB, free: 173.5 MB / 0.811 GB Notification: Performance of Backend: time 2.8e-07/3.514, allocations: 0 / 1.511 GB, free: 173.5 MB / 0.811 GB Notification: Performance of simCode: created initialization part: time 0.07057/3.585, allocations: 29.78 MB / 1.54 GB, free: 143.8 MB / 0.811 GB Notification: Performance of SimCode: time 0.1312/3.716, allocations: 132.7 MB / 1.669 GB, free: 13.83 MB / 0.811 GB Notification: Performance of Templates: time 1.364/5.08, allocations: 430 MB / 2.089 GB, free: 199.8 MB / 0.8267 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_640.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_640.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_640.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_640.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_640.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_640 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_640.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_640_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_640_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_640.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches