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.001226/0.001226, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001145/0.001145, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.244/1.244, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8722/0.8722, allocations: 119.3 MB / 411 MB, free: 9.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.89 kB / 0.4923 GB, free: 12.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4478/0.4492, allocations: 80.68 MB / 0.5711 GB, free: 43.76 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.002051/0.4512, allocations: 1.448 MB / 0.5725 GB, free: 42.61 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002452/0.4515, allocations: 94.72 kB / 0.5726 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.645e-05/0.4515, allocations: 4.5 kB / 0.5726 GB, free: 42.53 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.973e-05/0.4516, allocations: 18.34 kB / 0.5726 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.765e-05/0.4518, allocations: 58 kB / 0.5727 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.4519, allocations: 34.98 kB / 0.5727 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004213/0.4524, allocations: 0.6329 MB / 0.5733 GB, free: 42.11 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.063e-05/0.4524, allocations: 8.906 kB / 0.5733 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.4526, allocations: 237.8 kB / 0.5736 GB, free: 42 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003219/0.4529, allocations: 296.3 kB / 0.5739 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.284e-05/0.453, allocations: 29.78 kB / 0.5739 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.155e-05/0.4531, allocations: 29.59 kB / 0.5739 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.4532, allocations: 186.8 kB / 0.5741 GB, free: 41.7 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.4534, allocations: 197.5 kB / 0.5743 GB, free: 41.58 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.4537, allocations: 331.1 kB / 0.5746 GB, free: 41.4 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4537, allocations: 1 kB / 0.5746 GB, free: 41.4 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.052e-06/0.4537, allocations: 0 / 0.5746 GB, free: 41.4 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.4537, allocations: 0 / 0.5746 GB, free: 41.4 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.001997/0.4557, allocations: 0.8489 MB / 0.5754 GB, free: 40.78 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.4557, allocations: 13.77 kB / 0.5754 GB, free: 40.78 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.066e-05/0.4558, allocations: 31.97 kB / 0.5755 GB, free: 40.77 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.4561, allocations: 262.2 kB / 0.5757 GB, free: 40.52 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.4561, allocations: 28.12 kB / 0.5757 GB, free: 40.5 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.776e-05/0.4562, allocations: 52.64 kB / 0.5758 GB, free: 40.48 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005954/0.4568, allocations: 441.8 kB / 0.5762 GB, free: 40.23 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4568, allocations: 4.125 kB / 0.5762 GB, free: 40.23 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.244e-05/0.4569, allocations: 14.69 kB / 0.5762 GB, free: 40.21 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.4569, allocations: 6.875 kB / 0.5762 GB, free: 40.21 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000558/0.4574, allocations: 373.5 kB / 0.5766 GB, free: 40.06 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002455/0.4599, allocations: 2.159 MB / 0.5787 GB, free: 38.17 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007401/0.4606, allocations: 484.3 kB / 0.5792 GB, free: 37.93 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004373/0.4611, allocations: 321.5 kB / 0.5795 GB, free: 37.78 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.241e-05/0.4611, allocations: 10 kB / 0.5795 GB, free: 37.78 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.3e-05/0.4612, allocations: 38.94 kB / 0.5795 GB, free: 37.73 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 1.463e-06/0.4612, allocations: 0 / 0.5795 GB, free: 37.73 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001264/0.4624, allocations: 0.8021 MB / 0.5803 GB, free: 37.36 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.4625, allocations: 56.47 kB / 0.5804 GB, free: 37.29 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.167e-05/0.4625, allocations: 133.4 kB / 0.5805 GB, free: 37.18 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.4626, allocations: 36.23 kB / 0.5805 GB, free: 37.14 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.095e-05/0.4626, allocations: 120.7 kB / 0.5806 GB, free: 37.02 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.755e-05/0.4627, allocations: 209.1 kB / 0.5808 GB, free: 36.84 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.4629, allocations: 114.1 kB / 0.5809 GB, free: 36.77 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.053e-05/0.4629, allocations: 343.6 kB / 0.5813 GB, free: 36.43 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000401/0.4634, allocations: 276.4 kB / 0.5815 GB, free: 36.32 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004279/0.4638, allocations: 334.7 kB / 0.5819 GB, free: 36.15 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000856/0.4647, allocations: 0.6092 MB / 0.5825 GB, free: 35.86 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4647, allocations: 0 / 0.5825 GB, free: 35.86 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001031/0.4657, allocations: 0.7281 MB / 0.5832 GB, free: 35.52 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.4657, allocations: 7.469 kB / 0.5832 GB, free: 35.52 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.4657, allocations: 1.375 kB / 0.5832 GB, free: 35.52 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.4657, allocations: 2.469 kB / 0.5832 GB, free: 35.52 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009896/0.4667, allocations: 261.1 kB / 0.5834 GB, free: 35.47 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.4668, allocations: 4.125 kB / 0.5834 GB, free: 35.47 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003254/0.4671, allocations: 53.88 kB / 0.5835 GB, free: 35.43 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.002e-05/0.4671, allocations: 24.78 kB / 0.5835 GB, free: 35.42 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.0001281/0.4673, allocations: 163.6 kB / 0.5837 GB, free: 35.27 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.834e-05/0.4673, allocations: 23.47 kB / 0.5837 GB, free: 35.26 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/0.4675, allocations: 80.94 kB / 0.5838 GB, free: 35.19 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.4675, allocations: 5.062 kB / 0.5838 GB, free: 35.19 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.4675, allocations: 0 / 0.5838 GB, free: 35.19 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4675, allocations: 3.984 kB / 0.5838 GB, free: 35.19 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004511/0.468, allocations: 471 kB / 0.5842 GB, free: 34.82 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.468, allocations: 4 kB / 0.5842 GB, free: 34.82 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/0.4692, allocations: 261.1 kB / 0.5845 GB, free: 34.77 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.4692, allocations: 2.188 kB / 0.5845 GB, free: 34.77 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.993e-05/0.4693, allocations: 20.95 kB / 0.5845 GB, free: 34.75 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.4693, allocations: 2.094 kB / 0.5845 GB, free: 34.75 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4693, allocations: 0 / 0.5845 GB, free: 34.75 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.4706, allocations: 1.012 MB / 0.5855 GB, free: 34.21 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.41e-05/0.4706, allocations: 112.2 kB / 0.5856 GB, free: 34.09 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.885e-05/0.4707, allocations: 18.55 kB / 0.5856 GB, free: 34.08 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003486/0.4711, allocations: 23.97 kB / 0.5856 GB, free: 34.05 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.957e-05/0.4712, allocations: 32.39 kB / 0.5857 GB, free: 34.02 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/0.4712, allocations: 8 kB / 0.5857 GB, free: 34.02 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.278e-05/0.4712, allocations: 99.83 kB / 0.5858 GB, free: 33.92 MB / 462.3 MB Notification: Performance of sort global known variables: time 6.21e-07/0.4712, allocations: 0 / 0.5858 GB, free: 33.92 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003329/0.4716, allocations: 159.8 kB / 0.5859 GB, free: 33.76 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 0.0001001/0.4717, allocations: 127.6 kB / 0.586 GB, free: 33.62 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009378/0.4726, allocations: 0.7987 MB / 0.5868 GB, free: 32.83 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.4726, allocations: 0 / 0.5868 GB, free: 32.83 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003604/0.473, allocations: 318.3 kB / 0.5871 GB, free: 32.52 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.4734, allocations: 63.97 kB / 0.5872 GB, free: 32.46 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.4757, allocations: 2.273 MB / 0.5894 GB, free: 30.16 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.4759, allocations: 0.7995 MB / 0.5902 GB, free: 29.33 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003814/0.4763, allocations: 186.8 kB / 0.5904 GB, free: 29.15 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.4764, allocations: 31.44 kB / 0.5904 GB, free: 29.12 MB / 462.3 MB Notification: Performance of SimCode: time 2.41e-07/0.4765, allocations: 0 / 0.5904 GB, free: 29.12 MB / 462.3 MB Notification: Performance of Templates: time 0.006379/0.4828, allocations: 5.4 MB / 0.5957 GB, free: 23.8 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches