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 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_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 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 180.2 kB / 16.38 MB, free: 5.758 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.234/1.234, allocations: 223.2 MB / 240.3 MB, free: 11.86 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.0008455/0.0008455, allocations: 90.03 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7435/0.7435, allocations: 120.5 MB / 463.1 MB, free: 8.703 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002877/0.0002878, allocations: 8 kB / 0.5446 GB, free: 41.15 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.14, allocations: 82.86 MB / 0.6256 GB, free: 7.871 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.699/0.8391, allocations: 125.6 MB / 0.7482 GB, free: 8.539 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001515/0.8393, allocations: 50.42 kB / 0.7482 GB, free: 8.516 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.01898/0.8583, allocations: 5.661 MB / 0.7537 GB, free: 3.316 MB / 0.5107 GB Notification: Performance of FrontEnd: time 1.704e-06/0.8583, allocations: 0 / 0.7537 GB, free: 3.316 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.978e-05/0.8583, allocations: 4 kB / 0.7537 GB, free: 3.312 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.001867/0.8602, allocations: 0.7794 MB / 0.7545 GB, free: 2.5 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.8603, allocations: 12.03 kB / 0.7545 GB, free: 2.488 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.8604, allocations: 31.67 kB / 0.7545 GB, free: 2.457 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007378/0.8612, allocations: 303 kB / 0.7548 GB, free: 2.121 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.8612, allocations: 28.19 kB / 0.7549 GB, free: 2.105 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.8614, allocations: 46.72 kB / 0.7549 GB, free: 2.074 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007517/0.8621, allocations: 439.8 kB / 0.7553 GB, free: 1.734 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.8621, allocations: 0 / 0.7553 GB, free: 1.734 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.361e-05/0.8622, allocations: 11.88 kB / 0.7553 GB, free: 1.73 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.8622, allocations: 7.953 kB / 0.7553 GB, free: 1.723 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006416/0.8628, allocations: 373.1 kB / 0.7557 GB, free: 1.449 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003152/0.866, allocations: 2.18 MB / 0.7578 GB, free: 15.13 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007851/0.8668, allocations: 476 kB / 0.7583 GB, free: 14.79 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 5.012e-05/0.8669, allocations: 8.438 kB / 0.7583 GB, free: 14.79 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.8669, allocations: 34.81 kB / 0.7583 GB, free: 14.75 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=49): time 1.683e-06/0.8669, allocations: 0 / 0.7583 GB, free: 14.75 MB / 0.5263 GB Notification: Performance of matching and sorting (n=49): time 0.001477/0.8684, allocations: 0.804 MB / 0.7591 GB, free: 14.13 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.8685, allocations: 67.72 kB / 0.7592 GB, free: 14.05 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.8686, allocations: 116.6 kB / 0.7593 GB, free: 13.94 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 5.071e-05/0.8686, allocations: 45.33 kB / 0.7593 GB, free: 13.9 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 7.683e-05/0.8687, allocations: 124.7 kB / 0.7595 GB, free: 13.79 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.8689, allocations: 204.3 kB / 0.7596 GB, free: 13.61 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.8689, allocations: 15.19 kB / 0.7597 GB, free: 13.61 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.869, allocations: 338.5 kB / 0.76 GB, free: 13.28 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004393/0.8695, allocations: 272.6 kB / 0.7602 GB, free: 13.08 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004601/0.87, allocations: 325 kB / 0.7606 GB, free: 12.84 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004689/0.8704, allocations: 322.9 kB / 0.7609 GB, free: 12.62 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.8704, allocations: 0 / 0.7609 GB, free: 12.62 MB / 0.5263 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00109/0.8715, allocations: 0.7236 MB / 0.7616 GB, free: 12.07 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.8716, allocations: 4 kB / 0.7616 GB, free: 12.07 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.8716, allocations: 0 / 0.7616 GB, free: 12.07 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.8716, allocations: 4 kB / 0.7616 GB, free: 12.07 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.8728, allocations: 263.6 kB / 0.7618 GB, free: 11.81 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.8728, allocations: 4 kB / 0.7618 GB, free: 11.81 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004494/0.8732, allocations: 63.09 kB / 0.7619 GB, free: 11.76 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.74e-05/0.8733, allocations: 19.88 kB / 0.7619 GB, free: 11.74 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.0001998/0.8735, allocations: 163 kB / 0.7621 GB, free: 11.59 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.8736, allocations: 19.81 kB / 0.7621 GB, free: 11.57 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.8739, allocations: 80.27 kB / 0.7622 GB, free: 11.56 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.8739, allocations: 8 kB / 0.7622 GB, free: 11.55 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.8739, allocations: 3.953 kB / 0.7622 GB, free: 11.55 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.874, allocations: 0 / 0.7622 GB, free: 11.55 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006527/0.8746, allocations: 470 kB / 0.7626 GB, free: 11.11 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.8746, allocations: 0 / 0.7626 GB, free: 11.11 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00144/0.8761, allocations: 259.4 kB / 0.7629 GB, free: 10.86 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.707e-06/0.8761, allocations: 0 / 0.7629 GB, free: 10.86 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.067e-05/0.8762, allocations: 27.53 kB / 0.7629 GB, free: 10.84 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.8762, allocations: 0.875 kB / 0.7629 GB, free: 10.84 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.8762, allocations: 3.953 kB / 0.7629 GB, free: 10.83 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/0.8776, allocations: 1.008 MB / 0.7639 GB, free: 10.05 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 9.231e-05/0.8778, allocations: 104.7 kB / 0.764 GB, free: 9.93 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.084e-05/0.8778, allocations: 19.73 kB / 0.764 GB, free: 9.918 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004284/0.8783, allocations: 31.28 kB / 0.764 GB, free: 9.895 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.619e-05/0.8784, allocations: 20.41 kB / 0.764 GB, free: 9.875 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-05/0.8784, allocations: 28.62 kB / 0.7641 GB, free: 9.852 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 5.799e-05/0.8785, allocations: 96.3 kB / 0.7642 GB, free: 9.766 MB / 0.5263 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8785, allocations: 0 / 0.7642 GB, free: 9.766 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0004325/0.8789, allocations: 159.3 kB / 0.7643 GB, free: 9.625 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.0001679/0.8791, allocations: 123.5 kB / 0.7644 GB, free: 9.5 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.001144/0.8803, allocations: 0.6326 MB / 0.7651 GB, free: 9.023 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.8803, allocations: 4 kB / 0.7651 GB, free: 9.02 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.0006015/0.8809, allocations: 311.6 kB / 0.7654 GB, free: 8.793 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.8812, allocations: 59.45 kB / 0.7654 GB, free: 8.75 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003596/0.8848, allocations: 2.738 MB / 0.7681 GB, free: 6.043 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.8852, allocations: 0.8036 MB / 0.7689 GB, free: 5.219 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.0005249/0.8857, allocations: 182.8 kB / 0.769 GB, free: 5.039 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.8859, allocations: 31.44 kB / 0.7691 GB, free: 5.012 MB / 0.5263 GB Notification: Performance of SimCode: time 9.12e-07/0.886, allocations: 0 / 0.7691 GB, free: 5.012 MB / 0.5263 GB Notification: Performance of Templates: time 0.008968/0.8949, allocations: 4.926 MB / 0.7739 GB, free: 176 kB / 0.5263 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 -s=ida -abortSlowSimulation -alarm=300 -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/jenkins/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