Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40,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.40.|TB.1.|TB.2.|TB.3.|TB.40.|TW.1.|TW.2.|TW.3.|der.TA.2..|der.TA.3..|der.TA.40..|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_40") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40,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.40.|TB.1.|TB.2.|TB.3.|TB.40.|TW.1.|TW.2.|TW.3.|der.TA.2..|der.TA.3..|der.TA.40..|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_40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 179.3 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 221.3 MB / 235.5 MB, free: 2.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 94.98 kB / 286.5 MB, free: 216 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.219/1.219, allocations: 120.5 MB / 457.9 MB, free: 7.023 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.894e-05/2.896e-05, allocations: 0 / 0.5367 GB, free: 11.19 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.694/0.6941, allocations: 82.83 MB / 0.6176 GB, free: 9.285 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1887/0.8828, allocations: 125.5 MB / 0.7401 GB, free: 11.63 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001706/0.883, allocations: 55.91 kB / 0.7402 GB, free: 11.58 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.8018/1.685, allocations: 21.33 MB / 0.761 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.132e-06/1.685, allocations: 0 / 0.761 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 2.309e-05/1.685, allocations: 22.94 kB / 0.761 GB, free: 128.1 MB / 0.5421 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.006682/1.692, allocations: 2.838 MB / 0.7638 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/1.692, allocations: 10.12 kB / 0.7638 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003258/1.692, allocations: 126.5 kB / 0.764 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/1.694, allocations: 0.6652 MB / 0.7646 GB, free: 127 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.638e-05/1.694, allocations: 119.5 kB / 0.7647 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003516/1.694, allocations: 201.1 kB / 0.7649 GB, free: 126.8 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002755/1.697, allocations: 1.718 MB / 0.7666 GB, free: 126 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/1.697, allocations: 0 / 0.7666 GB, free: 126 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001808/1.697, allocations: 42.78 kB / 0.7666 GB, free: 125.9 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/1.697, allocations: 27.38 kB / 0.7667 GB, free: 125.9 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002174/1.7, allocations: 1.532 MB / 0.7681 GB, free: 125 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01107/1.711, allocations: 8.767 MB / 0.7767 GB, free: 115.3 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/1.713, allocations: 2.025 MB / 0.7787 GB, free: 113.2 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001697/1.715, allocations: 1.335 MB / 0.78 GB, free: 111.9 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002032/1.715, allocations: 21.98 kB / 0.78 GB, free: 111.9 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/1.715, allocations: 52.56 kB / 0.7801 GB, free: 111.8 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=199): time 4.228e-06/1.715, allocations: 3.938 kB / 0.7801 GB, free: 111.8 MB / 0.5421 GB Notification: Performance of matching and sorting (n=199): time 0.003847/1.719, allocations: 2.32 MB / 0.7823 GB, free: 109.5 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/1.719, allocations: 73.41 kB / 0.7824 GB, free: 109.4 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/1.719, allocations: 149.8 kB / 0.7825 GB, free: 109.2 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0002072/1.72, allocations: 81.69 kB / 0.7826 GB, free: 109.2 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 9.485e-05/1.72, allocations: 219.4 kB / 0.7828 GB, free: 108.9 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004998/1.72, allocations: 0.8123 MB / 0.7836 GB, free: 108.1 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/1.72, allocations: 48 kB / 0.7837 GB, free: 108.1 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001039/1.721, allocations: 423.8 kB / 0.7841 GB, free: 107.7 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/1.722, allocations: 1.129 MB / 0.7852 GB, free: 106.5 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001669/1.724, allocations: 1.306 MB / 0.7865 GB, free: 105.2 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001825/1.726, allocations: 1.316 MB / 0.7877 GB, free: 103.9 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/1.726, allocations: 0 / 0.7877 GB, free: 103.9 MB / 0.5421 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004215/1.73, allocations: 2.889 MB / 0.7906 GB, free: 100.9 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/1.73, allocations: 4.625 kB / 0.7906 GB, free: 100.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.73, allocations: 0 / 0.7906 GB, free: 100.9 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.105e-05/1.73, allocations: 12 kB / 0.7906 GB, free: 100.9 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004316/1.734, allocations: 1.077 MB / 0.7916 GB, free: 99.85 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.263e-05/1.734, allocations: 12 kB / 0.7916 GB, free: 99.84 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/1.736, allocations: 250 kB / 0.7919 GB, free: 99.59 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/1.736, allocations: 76 kB / 0.7919 GB, free: 99.52 MB / 0.5421 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (317): * Single equations (assignments): 317 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004318/1.737, allocations: 216.4 kB / 0.7922 GB, free: 99.3 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002558/1.737, allocations: 79.14 kB / 0.7922 GB, free: 99.22 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009458/1.738, allocations: 299.5 kB / 0.7925 GB, free: 98.93 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/1.738, allocations: 20 kB / 0.7925 GB, free: 98.91 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-05/1.738, allocations: 0 / 0.7925 GB, free: 98.91 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/1.738, allocations: 7.969 kB / 0.7925 GB, free: 98.9 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/1.74, allocations: 1.502 MB / 0.794 GB, free: 97.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/1.74, allocations: 0 / 0.794 GB, free: 97.4 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005331/1.745, allocations: 1.085 MB / 0.7951 GB, free: 96.32 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.438e-05/1.745, allocations: 8 kB / 0.7951 GB, free: 96.31 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002406/1.746, allocations: 87.91 kB / 0.7952 GB, free: 96.22 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/1.746, allocations: 4 kB / 0.7952 GB, free: 96.22 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.746, allocations: 0 / 0.7952 GB, free: 96.22 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005088/1.751, allocations: 3.83 MB / 0.7989 GB, free: 92.36 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/1.751, allocations: 163.9 kB / 0.7991 GB, free: 92.18 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002532/1.751, allocations: 75.94 kB / 0.7991 GB, free: 92.11 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001572/1.753, allocations: 147.4 kB / 0.7993 GB, free: 91.96 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002997/1.753, allocations: 113.8 kB / 0.7994 GB, free: 91.85 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001759/1.753, allocations: 55.97 kB / 0.7994 GB, free: 91.8 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 5.69e-05/1.753, allocations: 93.95 kB / 0.7995 GB, free: 91.71 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.4e-07/1.753, allocations: 0 / 0.7995 GB, free: 91.71 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.001072/1.754, allocations: 0.6167 MB / 0.8001 GB, free: 91.09 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 117 (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],TAtilde[20],TAtilde[21],TAtilde[22],TAtilde[23],TAtilde[24],TAtilde[25],TAtilde[26],TAtilde[27],TAtilde[28],TAtilde[29],TAtilde[30],TAtilde[31],TAtilde[32],TAtilde[33],TAtilde[34],TAtilde[35],TAtilde[36],TAtilde[37],TAtilde[38],TAtilde[39],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],TBtilde[20],TBtilde[21],TBtilde[22],TBtilde[23],TBtilde[24],TBtilde[25],TBtilde[26],TBtilde[27],TBtilde[28],TBtilde[29],TBtilde[30],TBtilde[31],TBtilde[32],TBtilde[33],TBtilde[34],TBtilde[35],TBtilde[36],TBtilde[37],TBtilde[38],TBtilde[39],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],TW[20],TW[21],TW[22],TW[23],TW[24],TW[25],TW[26],TW[27],TW[28],TW[29],TW[30],TW[31],TW[32],TW[33],TW[34],TW[35],TW[36],TW[37],TW[38],TW[39]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (199): * Single equations (assignments): 199 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003218/1.755, allocations: 220.1 kB / 0.8003 GB, free: 90.87 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.003583/1.758, allocations: 2.664 MB / 0.8029 GB, free: 88.2 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.758, allocations: 0 / 0.8029 GB, free: 88.2 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001626/1.76, allocations: 1.308 MB / 0.8042 GB, free: 86.9 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008855/1.761, allocations: 246.8 kB / 0.8045 GB, free: 86.66 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/1.772, allocations: 10.36 MB / 0.8146 GB, free: 76.29 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/1.772, allocations: 1.17 MB / 0.8157 GB, free: 75.09 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.002419/1.775, allocations: 0.8051 MB / 0.8165 GB, free: 74.28 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007379/1.776, allocations: 91.44 kB / 0.8166 GB, free: 74.19 MB / 0.5421 GB Notification: Performance of SimCode: time 1.513e-06/1.776, allocations: 3.938 kB / 0.8166 GB, free: 74.19 MB / 0.5421 GB Notification: Performance of Templates: time 0.02662/1.802, allocations: 19.96 MB / 0.8361 GB, free: 54.43 MB / 0.5421 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches