Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.CocurrentHeatExchangerEquations_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.10..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.10..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 111.4 kB / 17.29 MB, free: 6.059 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.001116/0.001116, allocations: 197.3 kB / 18.21 MB, free: 5.145 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.232/1.232, allocations: 222.9 MB / 241.9 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8801/0.8801, allocations: 119.3 MB / 411.4 MB, free: 9.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 59.91 kB / 0.4924 GB, free: 12.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.483/0.4844, allocations: 80.69 MB / 0.5712 GB, free: 43.86 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.002404/0.4868, allocations: 1.521 MB / 0.5727 GB, free: 42.66 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002688/0.4871, allocations: 86.48 kB / 0.5728 GB, free: 42.59 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.81e-05/0.4871, allocations: 0 / 0.5728 GB, free: 42.59 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.4873, allocations: 13.59 kB / 0.5728 GB, free: 42.58 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.4874, allocations: 61.47 kB / 0.5729 GB, free: 42.53 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.4876, allocations: 30.23 kB / 0.5729 GB, free: 42.51 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005031/0.4881, allocations: 0.572 MB / 0.5734 GB, free: 42.2 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.601e-05/0.4882, allocations: 4.531 kB / 0.5735 GB, free: 42.2 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.4884, allocations: 209.2 kB / 0.5737 GB, free: 42.11 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003582/0.4887, allocations: 305.9 kB / 0.5739 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.5e-05/0.4888, allocations: 29.44 kB / 0.574 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.419e-05/0.4889, allocations: 29.19 kB / 0.574 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.4891, allocations: 186.8 kB / 0.5742 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.4893, allocations: 197.6 kB / 0.5744 GB, free: 41.7 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.4895, allocations: 227.3 kB / 0.5746 GB, free: 41.58 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4895, allocations: 1.062 kB / 0.5746 GB, free: 41.58 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4895, allocations: 0 / 0.5746 GB, free: 41.58 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.4895, allocations: 0 / 0.5746 GB, free: 41.58 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.002104/0.4916, allocations: 0.8501 MB / 0.5754 GB, free: 40.96 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.4916, allocations: 12.64 kB / 0.5754 GB, free: 40.96 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9e-05/0.4917, allocations: 31.81 kB / 0.5755 GB, free: 40.95 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.492, allocations: 265.9 kB / 0.5757 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.492, allocations: 27.06 kB / 0.5757 GB, free: 40.68 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.83e-05/0.4921, allocations: 48.72 kB / 0.5758 GB, free: 40.66 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006785/0.4928, allocations: 446.7 kB / 0.5762 GB, free: 40.41 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.4928, allocations: 192 / 0.5762 GB, free: 40.41 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.275e-05/0.4929, allocations: 18.69 kB / 0.5762 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.4929, allocations: 6.656 kB / 0.5762 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005961/0.4935, allocations: 378.5 kB / 0.5766 GB, free: 40.23 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002587/0.4961, allocations: 2.154 MB / 0.5787 GB, free: 38.34 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008435/0.497, allocations: 483.2 kB / 0.5792 GB, free: 38.11 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004725/0.4974, allocations: 329.7 kB / 0.5795 GB, free: 37.95 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.776e-05/0.4975, allocations: 8.969 kB / 0.5795 GB, free: 37.95 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.4975, allocations: 40.78 kB / 0.5795 GB, free: 37.9 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 1.493e-06/0.4975, allocations: 0.9375 kB / 0.5795 GB, free: 37.9 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.00137/0.4989, allocations: 0.8074 MB / 0.5803 GB, free: 37.53 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.4989, allocations: 56.91 kB / 0.5804 GB, free: 37.46 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.802e-05/0.499, allocations: 135.3 kB / 0.5805 GB, free: 37.34 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.476e-05/0.4991, allocations: 44.17 kB / 0.5805 GB, free: 37.29 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.738e-05/0.4991, allocations: 120.8 kB / 0.5806 GB, free: 37.18 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.4993, allocations: 201.1 kB / 0.5808 GB, free: 37 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.4994, allocations: 114.1 kB / 0.5809 GB, free: 36.93 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.664e-05/0.4995, allocations: 339.7 kB / 0.5813 GB, free: 36.6 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004283/0.4999, allocations: 280.4 kB / 0.5815 GB, free: 36.48 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004564/0.5004, allocations: 340 kB / 0.5819 GB, free: 36.31 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008804/0.5013, allocations: 0.6096 MB / 0.5825 GB, free: 36.03 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5013, allocations: 3.938 kB / 0.5825 GB, free: 36.02 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00112/0.5024, allocations: 0.7317 MB / 0.5832 GB, free: 35.68 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.5025, allocations: 5.312 kB / 0.5832 GB, free: 35.68 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.5025, allocations: 1.094 kB / 0.5832 GB, free: 35.68 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.5025, allocations: 2.344 kB / 0.5832 GB, free: 35.68 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.5036, allocations: 262.5 kB / 0.5834 GB, free: 35.63 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.5036, allocations: 2.625 kB / 0.5834 GB, free: 35.63 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004068/0.504, allocations: 60.69 kB / 0.5835 GB, free: 35.59 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.457e-05/0.5041, allocations: 16.56 kB / 0.5835 GB, free: 35.58 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.0001519/0.5042, allocations: 159.8 kB / 0.5837 GB, free: 35.44 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-05/0.5043, allocations: 27.41 kB / 0.5837 GB, free: 35.42 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/0.5045, allocations: 76.38 kB / 0.5838 GB, free: 35.36 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.5045, allocations: 5.594 kB / 0.5838 GB, free: 35.36 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/0.5045, allocations: 3.984 kB / 0.5838 GB, free: 35.35 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.5045, allocations: 0 / 0.5838 GB, free: 35.35 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005274/0.5051, allocations: 474.4 kB / 0.5842 GB, free: 34.98 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.5051, allocations: 1.156 kB / 0.5842 GB, free: 34.98 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001353/0.5064, allocations: 264.2 kB / 0.5845 GB, free: 34.93 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.5064, allocations: 2.281 kB / 0.5845 GB, free: 34.93 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.675e-05/0.5065, allocations: 25.05 kB / 0.5845 GB, free: 34.91 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.5065, allocations: 2.125 kB / 0.5845 GB, free: 34.91 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5065, allocations: 1.312 kB / 0.5845 GB, free: 34.91 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.5079, allocations: 1.004 MB / 0.5855 GB, free: 34.38 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.291e-05/0.508, allocations: 108.2 kB / 0.5856 GB, free: 34.26 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.633e-05/0.5081, allocations: 24.89 kB / 0.5856 GB, free: 34.24 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004016/0.5085, allocations: 39.25 kB / 0.5857 GB, free: 34.21 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.5086, allocations: 26.27 kB / 0.5857 GB, free: 34.2 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/0.5086, allocations: 12.84 kB / 0.5857 GB, free: 34.2 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.601e-05/0.5087, allocations: 106.4 kB / 0.5858 GB, free: 34.11 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.5087, allocations: 1.25 kB / 0.5858 GB, free: 34.11 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004126/0.5091, allocations: 148 kB / 0.5859 GB, free: 34.06 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.0001274/0.5093, allocations: 123.1 kB / 0.5861 GB, free: 33.93 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.5103, allocations: 0.8026 MB / 0.5868 GB, free: 33.12 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5103, allocations: 0 / 0.5868 GB, free: 33.12 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003792/0.5107, allocations: 326.3 kB / 0.5871 GB, free: 32.81 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.5111, allocations: 64 kB / 0.5872 GB, free: 32.75 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/0.5136, allocations: 2.395 MB / 0.5895 GB, free: 30.32 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.5138, allocations: 0.8034 MB / 0.5903 GB, free: 29.48 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002456/0.5141, allocations: 31.44 kB / 0.5904 GB, free: 29.45 MB / 462.3 MB Notification: Performance of SimCode: time 4.91e-07/0.5141, allocations: 0 / 0.5904 GB, free: 29.45 MB / 462.3 MB Notification: Performance of Templates: time 0.005538/0.5196, allocations: 5.395 MB / 0.5956 GB, free: 24.07 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches