Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.10.|TA.1.|TA.2.|TA.3.|TB.10.|TB.1.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.10..|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_10") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.10.|TA.1.|TA.2.|TA.3.|TB.10.|TB.1.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.10..|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_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008836/0.0008835, allocations: 180.6 kB / 17.4 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 205.4 MB / 223.5 MB, free: 8.922 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007937/0.0007935, allocations: 92.97 kB / 271.9 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.8233/0.8233, allocations: 120.4 MB / 440.6 MB, free: 4.09 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004565/0.0004566, allocations: 12 kB / 0.5202 GB, free: 55.91 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1177, allocations: 80 MB / 0.5983 GB, free: 7.777 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6038/0.7215, allocations: 124.6 MB / 0.72 GB, free: 19.21 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001069/0.7217, allocations: 47.52 kB / 0.72 GB, free: 19.2 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.01527/0.737, allocations: 5.084 MB / 0.725 GB, free: 14.71 MB / 0.4953 GB Notification: Performance of FrontEnd: time 1.462e-06/0.737, allocations: 0 / 0.725 GB, free: 14.71 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 1.392e-05/0.737, allocations: 4 kB / 0.725 GB, free: 14.7 MB / 0.4953 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0015/0.7385, allocations: 0.7482 MB / 0.7257 GB, free: 13.92 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.7386, allocations: 12.03 kB / 0.7257 GB, free: 13.91 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.7387, allocations: 20.75 kB / 0.7257 GB, free: 13.89 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005262/0.7392, allocations: 280.4 kB / 0.726 GB, free: 13.57 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.7393, allocations: 24.25 kB / 0.726 GB, free: 13.56 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.034e-05/0.7394, allocations: 43.83 kB / 0.7261 GB, free: 13.53 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006357/0.74, allocations: 376 kB / 0.7264 GB, free: 13.24 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.74, allocations: 3.938 kB / 0.7264 GB, free: 13.23 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.595e-05/0.7401, allocations: 9.438 kB / 0.7264 GB, free: 13.23 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.7401, allocations: 4 kB / 0.7264 GB, free: 13.23 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005016/0.7406, allocations: 326.3 kB / 0.7268 GB, free: 12.99 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008524/0.7415, allocations: 0.6086 MB / 0.7274 GB, free: 12.41 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006943/0.7422, allocations: 473.5 kB / 0.7278 GB, free: 12.07 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000398/0.7426, allocations: 329.5 kB / 0.7281 GB, free: 11.85 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 4.259e-05/0.7426, allocations: 12.38 kB / 0.7281 GB, free: 11.84 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/0.7426, allocations: 34.56 kB / 0.7282 GB, free: 11.8 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=49): time 1.973e-06/0.7427, allocations: 0 / 0.7282 GB, free: 11.8 MB / 0.4953 GB Notification: Performance of matching and sorting (n=49): time 0.001247/0.7439, allocations: 0.8076 MB / 0.729 GB, free: 11.17 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.7439, allocations: 55.84 kB / 0.729 GB, free: 11.11 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.62e-05/0.744, allocations: 138.2 kB / 0.7291 GB, free: 10.97 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/0.7441, allocations: 41.2 kB / 0.7292 GB, free: 10.94 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.7441, allocations: 100.8 kB / 0.7293 GB, free: 10.84 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 9.703e-05/0.7442, allocations: 207.6 kB / 0.7295 GB, free: 10.67 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.7443, allocations: 11.81 kB / 0.7295 GB, free: 10.66 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 5.527e-05/0.7443, allocations: 345.6 kB / 0.7298 GB, free: 10.33 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/0.7447, allocations: 274.8 kB / 0.7301 GB, free: 10.13 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000372/0.7451, allocations: 289.9 kB / 0.7303 GB, free: 9.922 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000785/0.7459, allocations: 0.6064 MB / 0.7309 GB, free: 9.504 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.7459, allocations: 3.938 kB / 0.7309 GB, free: 9.5 MB / 0.4953 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009348/0.7468, allocations: 0.7229 MB / 0.7317 GB, free: 8.957 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.7469, allocations: 8 kB / 0.7317 GB, free: 8.949 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.7469, allocations: 0 / 0.7317 GB, free: 8.949 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.7469, allocations: 4 kB / 0.7317 GB, free: 8.945 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009817/0.7479, allocations: 255.6 kB / 0.7319 GB, free: 8.699 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.7479, allocations: 7.938 kB / 0.7319 GB, free: 8.691 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003445/0.7482, allocations: 55.31 kB / 0.732 GB, free: 8.645 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/0.7483, allocations: 19.5 kB / 0.732 GB, free: 8.633 MB / 0.4953 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (77): * Single equations (assignments): 77 * 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.0001272/0.7484, allocations: 161.1 kB / 0.7321 GB, free: 8.48 MB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.7485, allocations: 23.72 kB / 0.7322 GB, free: 8.457 MB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.7486, allocations: 82.14 kB / 0.7322 GB, free: 8.445 MB / 0.4953 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.7486, allocations: 4 kB / 0.7322 GB, free: 8.441 MB / 0.4953 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.7487, allocations: 0.6875 kB / 0.7322 GB, free: 8.441 MB / 0.4953 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.7487, allocations: 3.984 kB / 0.7322 GB, free: 8.438 MB / 0.4953 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004662/0.7491, allocations: 450.2 kB / 0.7327 GB, free: 8.008 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.7491, allocations: 0 / 0.7327 GB, free: 8.008 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.7503, allocations: 262.7 kB / 0.7329 GB, free: 7.758 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.7504, allocations: 1.312 kB / 0.7329 GB, free: 7.758 MB / 0.4953 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.588e-05/0.7504, allocations: 19.61 kB / 0.7329 GB, free: 7.742 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.7504, allocations: 0 / 0.7329 GB, free: 7.742 MB / 0.4953 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7504, allocations: 0 / 0.7329 GB, free: 7.742 MB / 0.4953 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.7517, allocations: 1.025 MB / 0.7339 GB, free: 6.945 MB / 0.4953 GB Notification: Performance of postOpt removeConstants (simulation): time 5.584e-05/0.7518, allocations: 100.8 kB / 0.734 GB, free: 6.828 MB / 0.4953 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.3e-05/0.7519, allocations: 19.36 kB / 0.7341 GB, free: 6.816 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/0.7522, allocations: 26.72 kB / 0.7341 GB, free: 6.797 MB / 0.4953 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.296e-05/0.7523, allocations: 27.77 kB / 0.7341 GB, free: 6.773 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.7524, allocations: 11.19 kB / 0.7341 GB, free: 6.766 MB / 0.4953 GB Notification: Performance of sorting global known variables: time 4.149e-05/0.7524, allocations: 94.77 kB / 0.7342 GB, free: 6.676 MB / 0.4953 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7524, allocations: 0 / 0.7342 GB, free: 6.676 MB / 0.4953 GB Notification: Performance of remove unused functions: time 0.0003482/0.7528, allocations: 141.4 kB / 0.7344 GB, free: 6.555 MB / 0.4953 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 27 (TA[2],TA[3],TA[4],TA[5],TA[6],TA[7],TA[8],TA[9],TA[10],TB[1],TB[2],TB[3],TB[4],TB[5],TB[6],TB[7],TB[8],TB[9],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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.0001374/0.7529, allocations: 118 kB / 0.7345 GB, free: 6.434 MB / 0.4953 GB Notification: Performance of simCode: created initialization part: time 0.0008428/0.7538, allocations: 0.6369 MB / 0.7351 GB, free: 5.957 MB / 0.4953 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.7538, allocations: 0 / 0.7351 GB, free: 5.957 MB / 0.4953 GB Notification: Performance of simCode: created simulation system equations: time 0.0003845/0.7542, allocations: 317.5 kB / 0.7354 GB, free: 5.727 MB / 0.4953 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.7546, allocations: 68.22 kB / 0.7355 GB, free: 5.68 MB / 0.4953 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/0.7574, allocations: 2.801 MB / 0.7382 GB, free: 2.914 MB / 0.4953 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001676/0.7576, allocations: 0.7802 MB / 0.739 GB, free: 2.105 MB / 0.4953 GB Notification: Performance of simCode: alias equations: time 0.000473/0.7581, allocations: 178.8 kB / 0.7391 GB, free: 1.926 MB / 0.4953 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.7583, allocations: 31.38 kB / 0.7392 GB, free: 1.895 MB / 0.4953 GB Notification: Performance of SimCode: time 2.71e-07/0.7583, allocations: 0 / 0.7392 GB, free: 1.895 MB / 0.4953 GB Notification: Performance of Templates: time 0.00819/0.7665, allocations: 4.904 MB / 0.7439 GB, free: 13 MB / 0.5109 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10 -abortSlowSimulation -alarm=300 -s=ida -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches