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.00141/0.001411, allocations: 180.8 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.383/1.383, allocations: 223.2 MB / 240.3 MB, free: 11.9 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.0009172/0.0009171, allocations: 102.1 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9044/0.9044, allocations: 120.5 MB / 463 MB, free: 8.727 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003206/0.0003207, allocations: 8 kB / 0.5446 GB, free: 41.15 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1635, allocations: 82.86 MB / 0.6255 GB, free: 7.898 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7829/0.9464, allocations: 125.6 MB / 0.7482 GB, free: 8.516 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001471/0.9466, allocations: 50.8 kB / 0.7482 GB, free: 8.492 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.01891/0.9655, allocations: 5.646 MB / 0.7537 GB, free: 3.305 MB / 0.5107 GB Notification: Performance of FrontEnd: time 9.52e-07/0.9656, allocations: 0 / 0.7537 GB, free: 3.305 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.465e-05/0.9656, allocations: 8 kB / 0.7537 GB, free: 3.297 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.001709/0.9673, allocations: 0.7719 MB / 0.7545 GB, free: 2.488 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.9674, allocations: 12.03 kB / 0.7545 GB, free: 2.477 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.965e-05/0.9675, allocations: 35.67 kB / 0.7545 GB, free: 2.441 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006528/0.9681, allocations: 301.9 kB / 0.7548 GB, free: 2.109 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.9682, allocations: 28.19 kB / 0.7548 GB, free: 2.094 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.37e-05/0.9682, allocations: 47.22 kB / 0.7549 GB, free: 2.062 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007528/0.969, allocations: 441.1 kB / 0.7553 GB, free: 1.719 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.969, allocations: 3.938 kB / 0.7553 GB, free: 1.719 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.905e-05/0.9691, allocations: 15.38 kB / 0.7553 GB, free: 1.715 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.9691, allocations: 7.953 kB / 0.7553 GB, free: 1.707 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006085/0.9697, allocations: 377.1 kB / 0.7557 GB, free: 1.43 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003169/0.9729, allocations: 2.178 MB / 0.7578 GB, free: 15.12 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007682/0.9737, allocations: 465.3 kB / 0.7583 GB, free: 14.79 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 4.604e-05/0.9737, allocations: 12.42 kB / 0.7583 GB, free: 14.77 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.9738, allocations: 46.61 kB / 0.7583 GB, free: 14.72 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=49): time 1.933e-06/0.9738, allocations: 0 / 0.7583 GB, free: 14.72 MB / 0.5263 GB Notification: Performance of matching and sorting (n=49): time 0.001409/0.9752, allocations: 0.8067 MB / 0.7591 GB, free: 14.11 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.9752, allocations: 55.84 kB / 0.7592 GB, free: 14.04 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.03e-05/0.9753, allocations: 120.2 kB / 0.7593 GB, free: 13.93 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 4.863e-05/0.9754, allocations: 37.52 kB / 0.7593 GB, free: 13.89 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 7.941e-05/0.9755, allocations: 132.6 kB / 0.7594 GB, free: 13.77 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.9756, allocations: 199.9 kB / 0.7596 GB, free: 13.6 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/0.9757, allocations: 15.88 kB / 0.7596 GB, free: 13.59 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.9758, allocations: 338.4 kB / 0.76 GB, free: 13.26 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004197/0.9762, allocations: 278.8 kB / 0.7602 GB, free: 13.06 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000465/0.9767, allocations: 324.8 kB / 0.7605 GB, free: 12.82 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004625/0.9772, allocations: 323.6 kB / 0.7609 GB, free: 12.6 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.9772, allocations: 0 / 0.7609 GB, free: 12.6 MB / 0.5263 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001094/0.9783, allocations: 0.7198 MB / 0.7616 GB, free: 12.06 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.9783, allocations: 4 kB / 0.7616 GB, free: 12.05 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.9783, allocations: 0 / 0.7616 GB, free: 12.05 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.9783, allocations: 4 kB / 0.7616 GB, free: 12.05 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.9795, allocations: 263.4 kB / 0.7618 GB, free: 11.8 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.9795, allocations: 4 kB / 0.7618 GB, free: 11.8 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004228/0.98, allocations: 63.28 kB / 0.7619 GB, free: 11.74 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.483e-05/0.98, allocations: 15.94 kB / 0.7619 GB, free: 11.73 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.0001717/0.9802, allocations: 167.4 kB / 0.7621 GB, free: 11.58 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.476e-05/0.9803, allocations: 19.81 kB / 0.7621 GB, free: 11.56 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.9805, allocations: 74.72 kB / 0.7621 GB, free: 11.55 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.9805, allocations: 4 kB / 0.7621 GB, free: 11.55 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.9805, allocations: 3.953 kB / 0.7622 GB, free: 11.54 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.9805, allocations: 3.984 kB / 0.7622 GB, free: 11.54 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005577/0.9811, allocations: 463.2 kB / 0.7626 GB, free: 11.1 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.9811, allocations: 8 kB / 0.7626 GB, free: 11.09 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/0.9826, allocations: 255.5 kB / 0.7628 GB, free: 10.85 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.9826, allocations: 3.984 kB / 0.7629 GB, free: 10.84 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.819e-05/0.9826, allocations: 23.73 kB / 0.7629 GB, free: 10.83 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.9827, allocations: 0 / 0.7629 GB, free: 10.83 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.9827, allocations: 3.953 kB / 0.7629 GB, free: 10.82 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.9841, allocations: 1.011 MB / 0.7639 GB, free: 10.04 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 6.938e-05/0.9842, allocations: 104.7 kB / 0.764 GB, free: 9.922 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.04e-05/0.9843, allocations: 15.86 kB / 0.764 GB, free: 9.91 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00042/0.9847, allocations: 31.53 kB / 0.764 GB, free: 9.887 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.338e-05/0.9848, allocations: 28.33 kB / 0.764 GB, free: 9.863 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.689e-05/0.9848, allocations: 15.95 kB / 0.7641 GB, free: 9.848 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 5.69e-05/0.9849, allocations: 99.86 kB / 0.7641 GB, free: 9.758 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9849, allocations: 3.938 kB / 0.7642 GB, free: 9.754 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0004151/0.9853, allocations: 159.4 kB / 0.7643 GB, free: 9.613 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.0001661/0.9855, allocations: 122.9 kB / 0.7644 GB, free: 9.488 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.0009686/0.9865, allocations: 0.6288 MB / 0.765 GB, free: 9.016 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.9865, allocations: 0 / 0.765 GB, free: 9.016 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.0004543/0.987, allocations: 314.9 kB / 0.7653 GB, free: 8.789 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.9873, allocations: 63.45 kB / 0.7654 GB, free: 8.742 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003409/0.9907, allocations: 2.744 MB / 0.7681 GB, free: 6.031 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.9911, allocations: 0.7998 MB / 0.7689 GB, free: 5.207 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.0004869/0.9916, allocations: 178.8 kB / 0.769 GB, free: 5.031 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.9918, allocations: 31.44 kB / 0.7691 GB, free: 5.004 MB / 0.5263 GB Notification: Performance of SimCode: time 2.21e-07/0.9918, allocations: 0 / 0.7691 GB, free: 5.004 MB / 0.5263 GB Notification: Performance of Templates: time 0.008143/0.9999, allocations: 4.928 MB / 0.7739 GB, free: 172 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/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