Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.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_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_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_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 180 kB / 16.39 MB, free: 5.762 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.199/1.199, allocations: 223.2 MB / 240.3 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008832/0.0008831, allocations: 98.62 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7638/0.7638, allocations: 120.5 MB / 463.1 MB, free: 8.699 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002962/0.0002962, allocations: 8 kB / 0.5446 GB, free: 41.15 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1282, allocations: 82.84 MB / 0.6255 GB, free: 7.887 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5865/0.7147, allocations: 125.6 MB / 0.7482 GB, free: 8.641 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001544/0.715, allocations: 49.47 kB / 0.7482 GB, free: 8.617 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.01971/0.7347, allocations: 5.656 MB / 0.7537 GB, free: 3.426 MB / 0.5107 GB Notification: Performance of FrontEnd: time 2.865e-06/0.7347, allocations: 0 / 0.7537 GB, free: 3.426 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.543e-05/0.7347, allocations: 15.88 kB / 0.7538 GB, free: 3.41 MB / 0.5107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.00168/0.7364, allocations: 0.7726 MB / 0.7545 GB, free: 2.602 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.7365, allocations: 8.031 kB / 0.7545 GB, free: 2.594 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.612e-05/0.7366, allocations: 35.67 kB / 0.7546 GB, free: 2.559 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006636/0.7372, allocations: 295 kB / 0.7548 GB, free: 2.23 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.7373, allocations: 27.88 kB / 0.7549 GB, free: 2.215 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-05/0.7374, allocations: 46.78 kB / 0.7549 GB, free: 2.184 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007823/0.7382, allocations: 443.8 kB / 0.7553 GB, free: 1.84 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.7382, allocations: 8 kB / 0.7553 GB, free: 1.832 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.166e-05/0.7382, allocations: 6.938 kB / 0.7553 GB, free: 1.832 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.7383, allocations: 11.95 kB / 0.7554 GB, free: 1.82 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005987/0.7389, allocations: 373.6 kB / 0.7557 GB, free: 1.547 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003159/0.742, allocations: 2.176 MB / 0.7578 GB, free: 15.23 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.7431, allocations: 476 kB / 0.7583 GB, free: 14.89 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 4.11e-05/0.7431, allocations: 4.438 kB / 0.7583 GB, free: 14.89 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.7432, allocations: 38.81 kB / 0.7583 GB, free: 14.85 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=49): time 2.004e-06/0.7432, allocations: 7.938 kB / 0.7583 GB, free: 14.84 MB / 0.5263 GB Notification: Performance of matching and sorting (n=49): time 0.001453/0.7446, allocations: 0.8015 MB / 0.7591 GB, free: 14.23 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.7447, allocations: 63.66 kB / 0.7592 GB, free: 14.16 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.745e-05/0.7448, allocations: 120.7 kB / 0.7593 GB, free: 14.04 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 5.105e-05/0.7449, allocations: 41.27 kB / 0.7593 GB, free: 14 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 9.328e-05/0.745, allocations: 124.7 kB / 0.7595 GB, free: 13.89 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.7451, allocations: 200.3 kB / 0.7596 GB, free: 13.71 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/0.7452, allocations: 15.19 kB / 0.7597 GB, free: 13.71 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.7453, allocations: 342.5 kB / 0.76 GB, free: 13.38 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004243/0.7457, allocations: 274.1 kB / 0.7602 GB, free: 13.18 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004732/0.7462, allocations: 329.5 kB / 0.7606 GB, free: 12.93 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004674/0.7467, allocations: 317.4 kB / 0.7609 GB, free: 12.72 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7467, allocations: 0 / 0.7609 GB, free: 12.72 MB / 0.5263 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001055/0.7478, allocations: 0.7191 MB / 0.7616 GB, free: 12.18 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.7478, allocations: 8.031 kB / 0.7616 GB, free: 12.17 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.7478, allocations: 4 kB / 0.7616 GB, free: 12.17 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.7478, allocations: 0 / 0.7616 GB, free: 12.17 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.749, allocations: 263.6 kB / 0.7618 GB, free: 11.91 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.749, allocations: 4 kB / 0.7618 GB, free: 11.91 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004172/0.7494, allocations: 59.19 kB / 0.7619 GB, free: 11.86 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/0.7494, allocations: 19.88 kB / 0.7619 GB, free: 11.85 MB / 0.5263 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 (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.0001817/0.7496, allocations: 167.5 kB / 0.7621 GB, free: 11.69 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.358e-05/0.7497, allocations: 19.81 kB / 0.7621 GB, free: 11.67 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002017/0.7499, allocations: 75.91 kB / 0.7622 GB, free: 11.67 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.7499, allocations: 4 kB / 0.7622 GB, free: 11.66 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.7499, allocations: 3.953 kB / 0.7622 GB, free: 11.66 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.7499, allocations: 7.984 kB / 0.7622 GB, free: 11.65 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005601/0.7505, allocations: 466.1 kB / 0.7626 GB, free: 11.21 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.7505, allocations: 0 / 0.7626 GB, free: 11.21 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/0.7519, allocations: 255.7 kB / 0.7629 GB, free: 10.96 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.7519, allocations: 4 kB / 0.7629 GB, free: 10.96 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.455e-05/0.752, allocations: 23.84 kB / 0.7629 GB, free: 10.95 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.752, allocations: 4 kB / 0.7629 GB, free: 10.94 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.752, allocations: 3.953 kB / 0.7629 GB, free: 10.94 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.7537, allocations: 1.003 MB / 0.7639 GB, free: 10.16 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 5.772e-05/0.7538, allocations: 108.7 kB / 0.764 GB, free: 10.04 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.581e-05/0.7539, allocations: 25.98 kB / 0.764 GB, free: 10.02 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003885/0.7543, allocations: 23.84 kB / 0.764 GB, free: 10 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.765e-05/0.7544, allocations: 32.27 kB / 0.7641 GB, free: 9.973 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-05/0.7544, allocations: 15.83 kB / 0.7641 GB, free: 9.961 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 5.171e-05/0.7545, allocations: 96.61 kB / 0.7642 GB, free: 9.871 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7545, allocations: 0 / 0.7642 GB, free: 9.871 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0004056/0.7549, allocations: 162.7 kB / 0.7643 GB, free: 9.73 MB / 0.5263 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 27 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[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.0001609/0.7551, allocations: 127.4 kB / 0.7644 GB, free: 9.602 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.0009531/0.756, allocations: 0.6287 MB / 0.7651 GB, free: 9.129 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.756, allocations: 4 kB / 0.7651 GB, free: 9.125 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.0004378/0.7565, allocations: 315.3 kB / 0.7654 GB, free: 8.895 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.7568, allocations: 59.58 kB / 0.7654 GB, free: 8.852 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/0.7603, allocations: 2.733 MB / 0.7681 GB, free: 6.148 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.7606, allocations: 0.8031 MB / 0.7689 GB, free: 5.324 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.0005253/0.7612, allocations: 186.8 kB / 0.7691 GB, free: 5.141 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/0.7615, allocations: 27.44 kB / 0.7691 GB, free: 5.117 MB / 0.5263 GB Notification: Performance of SimCode: time 1.192e-06/0.7615, allocations: 0 / 0.7691 GB, free: 5.117 MB / 0.5263 GB Notification: Performance of Templates: time 0.008491/0.77, allocations: 4.934 MB / 0.7739 GB, free: 280 kB / 0.5263 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches