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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 115 kB / 16.63 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 190 kB / 17.55 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.162/1.162, allocations: 222.9 MB / 241.2 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7431/0.7431, allocations: 119.3 MB / 410.7 MB, free: 9.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 59.91 kB / 0.4918 GB, free: 12.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3783, allocations: 80.69 MB / 0.5706 GB, free: 43.8 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.001795/0.3802, allocations: 1.511 MB / 0.572 GB, free: 42.59 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002081/0.3804, allocations: 102.5 kB / 0.5721 GB, free: 42.51 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.081e-05/0.3804, allocations: 1.312 kB / 0.5721 GB, free: 42.51 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.825e-05/0.3805, allocations: 9.297 kB / 0.5722 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.106e-05/0.3806, allocations: 51.94 kB / 0.5722 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.3808, allocations: 35.83 kB / 0.5722 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003958/0.3812, allocations: 0.6321 MB / 0.5729 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.412e-05/0.3812, allocations: 9.266 kB / 0.5729 GB, free: 42.09 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.3814, allocations: 245.7 kB / 0.5731 GB, free: 41.99 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003089/0.3817, allocations: 316.4 kB / 0.5734 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.816e-05/0.3818, allocations: 30.53 kB / 0.5734 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.155e-05/0.3819, allocations: 28.88 kB / 0.5735 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.382, allocations: 186.9 kB / 0.5736 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.3821, allocations: 197.9 kB / 0.5738 GB, free: 41.57 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.3824, allocations: 331.3 kB / 0.5741 GB, free: 41.38 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.3824, allocations: 4 kB / 0.5741 GB, free: 41.38 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3824, allocations: 0 / 0.5741 GB, free: 41.38 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.3824, allocations: 0 / 0.5741 GB, free: 41.38 MB / 462.3 MB 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.001856/0.3843, allocations: 0.8537 MB / 0.575 GB, free: 40.76 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.3843, allocations: 13.45 kB / 0.575 GB, free: 40.75 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.896e-05/0.3844, allocations: 35.78 kB / 0.575 GB, free: 40.74 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.3846, allocations: 261.2 kB / 0.5753 GB, free: 40.49 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.3846, allocations: 29.09 kB / 0.5753 GB, free: 40.48 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.549e-05/0.3847, allocations: 47.59 kB / 0.5753 GB, free: 40.46 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006263/0.3853, allocations: 444.9 kB / 0.5758 GB, free: 40.2 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3854, allocations: 192 / 0.5758 GB, free: 40.2 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.616e-05/0.3854, allocations: 18.16 kB / 0.5758 GB, free: 40.19 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.3854, allocations: 7.188 kB / 0.5758 GB, free: 40.19 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007586/0.3862, allocations: 379.2 kB / 0.5762 GB, free: 40.03 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002278/0.3885, allocations: 2.153 MB / 0.5783 GB, free: 38.14 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007119/0.3892, allocations: 475.5 kB / 0.5787 GB, free: 37.91 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004235/0.3897, allocations: 327 kB / 0.579 GB, free: 37.75 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.216e-05/0.3897, allocations: 5.062 kB / 0.579 GB, free: 37.75 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.225e-05/0.3897, allocations: 41.69 kB / 0.5791 GB, free: 37.71 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 1.392e-06/0.3897, allocations: 0 / 0.5791 GB, free: 37.71 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001228/0.391, allocations: 0.7987 MB / 0.5799 GB, free: 37.34 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.391, allocations: 64.84 kB / 0.5799 GB, free: 37.27 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.616e-05/0.3911, allocations: 132.5 kB / 0.58 GB, free: 37.15 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.3911, allocations: 41.52 kB / 0.5801 GB, free: 37.11 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.731e-05/0.3912, allocations: 120.7 kB / 0.5802 GB, free: 36.99 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.114e-05/0.3913, allocations: 199.8 kB / 0.5804 GB, free: 36.81 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.3914, allocations: 119.3 kB / 0.5805 GB, free: 36.74 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.501e-05/0.3915, allocations: 339.7 kB / 0.5808 GB, free: 36.41 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003861/0.3919, allocations: 279.8 kB / 0.5811 GB, free: 36.29 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004131/0.3923, allocations: 335 kB / 0.5814 GB, free: 36.12 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008075/0.3931, allocations: 0.6014 MB / 0.582 GB, free: 35.85 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3931, allocations: 0 / 0.582 GB, free: 35.85 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009993/0.3941, allocations: 0.7315 MB / 0.5827 GB, free: 35.5 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.3941, allocations: 5.562 kB / 0.5827 GB, free: 35.5 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3941, allocations: 0 / 0.5827 GB, free: 35.5 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3942, allocations: 3.938 kB / 0.5827 GB, free: 35.5 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.3952, allocations: 269.4 kB / 0.583 GB, free: 35.45 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3952, allocations: 2.719 kB / 0.583 GB, free: 35.45 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003678/0.3956, allocations: 57.25 kB / 0.583 GB, free: 35.41 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.175e-05/0.3956, allocations: 16.47 kB / 0.5831 GB, free: 35.4 MB / 462.3 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.3958, allocations: 159.3 kB / 0.5832 GB, free: 35.26 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.57e-05/0.3958, allocations: 27.84 kB / 0.5832 GB, free: 35.24 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/0.396, allocations: 75.72 kB / 0.5833 GB, free: 35.18 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.396, allocations: 10.05 kB / 0.5833 GB, free: 35.17 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.396, allocations: 0 / 0.5833 GB, free: 35.17 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.396, allocations: 0 / 0.5833 GB, free: 35.17 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004564/0.3965, allocations: 478.5 kB / 0.5838 GB, free: 34.8 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3965, allocations: 0 / 0.5838 GB, free: 34.8 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/0.3978, allocations: 261.2 kB / 0.584 GB, free: 34.75 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3978, allocations: 3.125 kB / 0.584 GB, free: 34.75 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-05/0.3978, allocations: 16.42 kB / 0.584 GB, free: 34.74 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.3978, allocations: 6.75 kB / 0.584 GB, free: 34.73 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3979, allocations: 4 kB / 0.584 GB, free: 34.73 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.3992, allocations: 1.003 MB / 0.585 GB, free: 34.2 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.527e-05/0.3992, allocations: 108.2 kB / 0.5851 GB, free: 34.08 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.042e-05/0.3993, allocations: 24.81 kB / 0.5852 GB, free: 34.06 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003741/0.3997, allocations: 27.27 kB / 0.5852 GB, free: 34.05 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.905e-05/0.3998, allocations: 34.25 kB / 0.5852 GB, free: 34.03 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.3998, allocations: 13.41 kB / 0.5852 GB, free: 34.02 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.434e-05/0.3998, allocations: 103.1 kB / 0.5853 GB, free: 33.93 MB / 462.3 MB Notification: Performance of sort global known variables: time 4.91e-07/0.3999, allocations: 0 / 0.5853 GB, free: 33.93 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003643/0.4002, allocations: 150.8 kB / 0.5855 GB, free: 33.87 MB / 462.3 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.853e-05/0.4003, allocations: 123.1 kB / 0.5856 GB, free: 33.73 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009511/0.4013, allocations: 0.8026 MB / 0.5864 GB, free: 32.93 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.4013, allocations: 0 / 0.5864 GB, free: 32.93 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003588/0.4017, allocations: 318.3 kB / 0.5867 GB, free: 32.62 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.402, allocations: 68 kB / 0.5867 GB, free: 32.56 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/0.4044, allocations: 2.378 MB / 0.5891 GB, free: 30.15 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.4046, allocations: 0.7956 MB / 0.5898 GB, free: 29.33 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003937/0.405, allocations: 178.8 kB / 0.59 GB, free: 29.15 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.4052, allocations: 31.44 kB / 0.59 GB, free: 29.12 MB / 462.3 MB Notification: Performance of SimCode: time 8.31e-07/0.4052, allocations: 4 kB / 0.59 GB, free: 29.12 MB / 462.3 MB Notification: Performance of Templates: time 0.006381/0.4116, allocations: 5.368 MB / 0.5953 GB, free: 23.84 MB / 462.3 MB 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