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.001247/0.001247, allocations: 106.9 kB / 17.16 MB, free: 6.082 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.00124/0.00124, allocations: 194.9 kB / 18.08 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.318/1.318, allocations: 222.9 MB / 241.8 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8758/0.8758, allocations: 119.3 MB / 411.2 MB, free: 9.793 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 59.91 kB / 0.4922 GB, free: 12.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.472/0.4733, allocations: 80.68 MB / 0.571 GB, free: 43.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.002204/0.4756, allocations: 1.514 MB / 0.5725 GB, free: 42.19 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002504/0.4758, allocations: 99.08 kB / 0.5726 GB, free: 42.11 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.078e-05/0.4759, allocations: 1.156 kB / 0.5726 GB, free: 42.11 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.476, allocations: 13.02 kB / 0.5726 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.4761, allocations: 62.02 kB / 0.5727 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.4763, allocations: 26.52 kB / 0.5727 GB, free: 42.03 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005184/0.4769, allocations: 0.7684 MB / 0.5734 GB, free: 41.63 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.115e-05/0.4769, allocations: 5.125 kB / 0.5734 GB, free: 41.63 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.4771, allocations: 252.3 kB / 0.5737 GB, free: 41.51 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003558/0.4775, allocations: 314.4 kB / 0.574 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 8.105e-05/0.4776, allocations: 28.41 kB / 0.574 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.959e-05/0.4777, allocations: 33.84 kB / 0.574 GB, free: 41.33 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.4778, allocations: 182.7 kB / 0.5742 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.478, allocations: 197.7 kB / 0.5744 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.4782, allocations: 224.6 kB / 0.5746 GB, free: 40.98 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.4782, allocations: 0 / 0.5746 GB, free: 40.98 MB / 462.3 MB Notification: Performance of FrontEnd: time 8.02e-07/0.4782, allocations: 1.344 kB / 0.5746 GB, free: 40.98 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.4782, allocations: 0 / 0.5746 GB, free: 40.98 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.002201/0.4804, allocations: 0.8486 MB / 0.5754 GB, free: 40.36 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.4805, allocations: 9.844 kB / 0.5755 GB, free: 40.36 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.56e-05/0.4806, allocations: 36.06 kB / 0.5755 GB, free: 40.35 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.4808, allocations: 253.3 kB / 0.5757 GB, free: 40.11 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.4809, allocations: 31.09 kB / 0.5758 GB, free: 40.09 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.779e-05/0.481, allocations: 53.08 kB / 0.5758 GB, free: 40.07 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007045/0.4817, allocations: 446.5 kB / 0.5762 GB, free: 39.81 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.4817, allocations: 192 / 0.5762 GB, free: 39.81 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.437e-05/0.4818, allocations: 14.44 kB / 0.5763 GB, free: 39.8 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.4818, allocations: 7.406 kB / 0.5763 GB, free: 39.8 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005978/0.4824, allocations: 377.6 kB / 0.5766 GB, free: 39.64 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002573/0.485, allocations: 2.159 MB / 0.5787 GB, free: 37.75 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007753/0.4857, allocations: 479.5 kB / 0.5792 GB, free: 37.52 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004713/0.4862, allocations: 322.9 kB / 0.5795 GB, free: 37.36 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.413e-05/0.4863, allocations: 9.953 kB / 0.5795 GB, free: 37.36 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.4863, allocations: 44.78 kB / 0.5795 GB, free: 37.31 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 1.583e-06/0.4863, allocations: 0 / 0.5795 GB, free: 37.31 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001448/0.4878, allocations: 0.8026 MB / 0.5803 GB, free: 36.94 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.4878, allocations: 56.47 kB / 0.5804 GB, free: 36.87 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.883e-05/0.4879, allocations: 131 kB / 0.5805 GB, free: 36.75 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.4879, allocations: 36.48 kB / 0.5805 GB, free: 36.71 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.134e-05/0.488, allocations: 125.5 kB / 0.5807 GB, free: 36.59 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.4881, allocations: 200.2 kB / 0.5809 GB, free: 36.42 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.4883, allocations: 119.7 kB / 0.581 GB, free: 36.35 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.166e-05/0.4884, allocations: 343.6 kB / 0.5813 GB, free: 36.01 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004031/0.4888, allocations: 275 kB / 0.5816 GB, free: 35.89 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004424/0.4892, allocations: 334.9 kB / 0.5819 GB, free: 35.73 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008562/0.4901, allocations: 0.6089 MB / 0.5825 GB, free: 35.45 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4901, allocations: 1.281 kB / 0.5825 GB, free: 35.45 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001138/0.4912, allocations: 0.7234 MB / 0.5832 GB, free: 35.11 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.4913, allocations: 5.062 kB / 0.5832 GB, free: 35.11 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.4913, allocations: 1.25 kB / 0.5832 GB, free: 35.11 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.4913, allocations: 10.45 kB / 0.5832 GB, free: 35.1 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.4924, allocations: 257.2 kB / 0.5834 GB, free: 35.05 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.4924, allocations: 7.312 kB / 0.5834 GB, free: 35.05 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003864/0.4928, allocations: 60.83 kB / 0.5835 GB, free: 35.01 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.605e-05/0.4929, allocations: 17.31 kB / 0.5835 GB, free: 35 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.0001476/0.493, allocations: 167.5 kB / 0.5837 GB, free: 34.85 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.077e-05/0.4931, allocations: 23.75 kB / 0.5837 GB, free: 34.84 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.4933, allocations: 76.66 kB / 0.5838 GB, free: 34.77 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.4933, allocations: 4.219 kB / 0.5838 GB, free: 34.77 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.4933, allocations: 4 kB / 0.5838 GB, free: 34.77 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.4933, allocations: 4.953 kB / 0.5838 GB, free: 34.77 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005126/0.4938, allocations: 469.8 kB / 0.5842 GB, free: 34.4 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4938, allocations: 1.094 kB / 0.5842 GB, free: 34.4 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/0.4952, allocations: 264.7 kB / 0.5845 GB, free: 34.34 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.4952, allocations: 1.188 kB / 0.5845 GB, free: 34.34 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.549e-05/0.4952, allocations: 22.58 kB / 0.5845 GB, free: 34.33 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.4952, allocations: 1.219 kB / 0.5845 GB, free: 34.33 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.4952, allocations: 5.156 kB / 0.5845 GB, free: 34.33 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.4967, allocations: 1.003 MB / 0.5855 GB, free: 33.79 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.173e-05/0.4967, allocations: 108.4 kB / 0.5856 GB, free: 33.68 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.279e-05/0.4968, allocations: 16.77 kB / 0.5856 GB, free: 33.67 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003849/0.4972, allocations: 31.91 kB / 0.5857 GB, free: 33.65 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.4973, allocations: 30.3 kB / 0.5857 GB, free: 33.63 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.879e-05/0.4973, allocations: 12.53 kB / 0.5857 GB, free: 33.63 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.281e-05/0.4974, allocations: 106.1 kB / 0.5858 GB, free: 33.54 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4974, allocations: 3.938 kB / 0.5858 GB, free: 33.54 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004304/0.4978, allocations: 147.8 kB / 0.5859 GB, free: 33.52 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.0001204/0.4979, allocations: 117.9 kB / 0.5861 GB, free: 33.41 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009539/0.4989, allocations: 0.63 MB / 0.5867 GB, free: 33.16 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4989, allocations: 4.062 kB / 0.5867 GB, free: 33.15 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003972/0.4993, allocations: 320.1 kB / 0.587 GB, free: 32.86 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.4997, allocations: 75.7 kB / 0.587 GB, free: 32.79 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.5024, allocations: 2.42 MB / 0.5894 GB, free: 30.33 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.5025, allocations: 0.792 MB / 0.5902 GB, free: 29.51 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/0.5028, allocations: 31.44 kB / 0.5902 GB, free: 29.48 MB / 462.3 MB Notification: Performance of SimCode: time 2.41e-07/0.5028, allocations: 0 / 0.5902 GB, free: 29.48 MB / 462.3 MB Notification: Performance of Templates: time 0.005422/0.5082, allocations: 5.393 MB / 0.5955 GB, free: 24.1 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