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.00106/0.00106, allocations: 92.61 kB / 17.31 MB, free: 6.535 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.001271/0.001271, allocations: 178.9 kB / 18.21 MB, free: 5.684 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.405/1.405, allocations: 223.3 MB / 242.3 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.019/1.019, allocations: 120.5 MB / 413.8 MB, free: 9.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 8 kB / 0.4969 GB, free: 10.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.558/0.5583, allocations: 82.84 MB / 0.5778 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.001334/0.5597, allocations: 1.179 MB / 0.5789 GB, free: 40.86 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002811/0.56, allocations: 92.06 kB / 0.579 GB, free: 40.79 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.132e-05/0.5601, allocations: 3.938 kB / 0.579 GB, free: 40.79 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.5602, allocations: 9.109 kB / 0.579 GB, free: 40.78 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.5603, allocations: 62.77 kB / 0.5791 GB, free: 40.73 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.5605, allocations: 22.56 kB / 0.5791 GB, free: 40.71 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005887/0.5611, allocations: 0.7105 MB / 0.5798 GB, free: 40.34 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.312e-05/0.5612, allocations: 5.5 kB / 0.5798 GB, free: 40.34 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.5614, allocations: 201.8 kB / 0.58 GB, free: 40.26 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000432/0.5619, allocations: 307.1 kB / 0.5803 GB, free: 40.08 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.38e-05/0.5619, allocations: 34.25 kB / 0.5803 GB, free: 40.07 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.885e-05/0.562, allocations: 28.88 kB / 0.5804 GB, free: 40.07 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.5622, allocations: 190.6 kB / 0.5805 GB, free: 39.94 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002108/0.5624, allocations: 215.3 kB / 0.5807 GB, free: 39.8 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.5626, allocations: 232.6 kB / 0.581 GB, free: 39.68 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.5626, allocations: 0 / 0.581 GB, free: 39.68 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5627, allocations: 0 / 0.581 GB, free: 39.68 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.5627, allocations: 1.312 kB / 0.581 GB, free: 39.68 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.002149/0.5648, allocations: 0.8326 MB / 0.5818 GB, free: 39.08 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.5649, allocations: 9.219 kB / 0.5818 GB, free: 39.08 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.565, allocations: 35.94 kB / 0.5818 GB, free: 39.07 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.5654, allocations: 262.1 kB / 0.5821 GB, free: 38.82 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.532e-05/0.5654, allocations: 27.69 kB / 0.5821 GB, free: 38.8 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.5656, allocations: 48.88 kB / 0.5821 GB, free: 38.79 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007508/0.5663, allocations: 445.1 kB / 0.5826 GB, free: 38.53 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.5663, allocations: 192 / 0.5826 GB, free: 38.53 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.44e-05/0.5664, allocations: 15.94 kB / 0.5826 GB, free: 38.52 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.5664, allocations: 8.094 kB / 0.5826 GB, free: 38.52 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006242/0.567, allocations: 381 kB / 0.583 GB, free: 38.36 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002838/0.5699, allocations: 2.165 MB / 0.5851 GB, free: 36.48 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008906/0.5708, allocations: 489.2 kB / 0.5855 GB, free: 36.24 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000484/0.5713, allocations: 329.8 kB / 0.5858 GB, free: 36.08 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.827e-05/0.5714, allocations: 6.062 kB / 0.5859 GB, free: 36.08 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.5714, allocations: 44.47 kB / 0.5859 GB, free: 36.03 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 2.635e-06/0.5714, allocations: 1.531 kB / 0.5859 GB, free: 36.03 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.0015/0.5729, allocations: 0.8071 MB / 0.5867 GB, free: 35.66 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.573, allocations: 60.16 kB / 0.5867 GB, free: 35.59 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.5731, allocations: 134.7 kB / 0.5869 GB, free: 35.47 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.979e-05/0.5731, allocations: 40.08 kB / 0.5869 GB, free: 35.43 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.986e-05/0.5732, allocations: 125.7 kB / 0.587 GB, free: 35.3 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.5733, allocations: 199.9 kB / 0.5872 GB, free: 35.13 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.89e-05/0.5734, allocations: 71.77 kB / 0.5873 GB, free: 35.08 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.547e-05/0.5735, allocations: 338.5 kB / 0.5876 GB, free: 34.75 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004442/0.5739, allocations: 284.7 kB / 0.5879 GB, free: 34.62 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004648/0.5744, allocations: 335.4 kB / 0.5882 GB, free: 34.46 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009146/0.5753, allocations: 0.6058 MB / 0.5888 GB, free: 34.18 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.5753, allocations: 0 / 0.5888 GB, free: 34.18 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001078/0.5764, allocations: 0.735 MB / 0.5895 GB, free: 33.62 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.5765, allocations: 8.031 kB / 0.5895 GB, free: 33.61 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5765, allocations: 3.938 kB / 0.5895 GB, free: 33.61 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/0.5765, allocations: 4 kB / 0.5895 GB, free: 33.61 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.5775, allocations: 255.7 kB / 0.5898 GB, free: 33.36 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.5775, allocations: 4 kB / 0.5898 GB, free: 33.35 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004311/0.578, allocations: 59.5 kB / 0.5898 GB, free: 33.29 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/0.578, allocations: 20 kB / 0.5898 GB, free: 33.27 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.0001908/0.5782, allocations: 161.7 kB / 0.59 GB, free: 33.11 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.149e-05/0.5783, allocations: 31.59 kB / 0.59 GB, free: 33.07 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.5785, allocations: 74.28 kB / 0.5901 GB, free: 33.01 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.5785, allocations: 4 kB / 0.5901 GB, free: 33 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.5786, allocations: 0 / 0.5901 GB, free: 33 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.5786, allocations: 3.984 kB / 0.5901 GB, free: 33 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005014/0.5791, allocations: 473.3 kB / 0.5906 GB, free: 32.49 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.5791, allocations: 4 kB / 0.5906 GB, free: 32.48 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/0.5803, allocations: 263.7 kB / 0.5908 GB, free: 32.23 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.5803, allocations: 0 / 0.5908 GB, free: 32.23 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.208e-05/0.5803, allocations: 19.98 kB / 0.5908 GB, free: 32.21 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.5804, allocations: 0 / 0.5908 GB, free: 32.21 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.5804, allocations: 0 / 0.5908 GB, free: 32.21 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.5817, allocations: 1.013 MB / 0.5918 GB, free: 31.17 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 7.616e-05/0.5818, allocations: 108.7 kB / 0.5919 GB, free: 31.05 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.885e-05/0.5819, allocations: 15.98 kB / 0.5919 GB, free: 31.03 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000391/0.5823, allocations: 35.86 kB / 0.592 GB, free: 31 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.5824, allocations: 28.39 kB / 0.592 GB, free: 30.97 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.5824, allocations: 16 kB / 0.592 GB, free: 30.95 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.298e-05/0.5825, allocations: 103.2 kB / 0.5921 GB, free: 30.85 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5825, allocations: 0 / 0.5921 GB, free: 30.85 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004304/0.5829, allocations: 151.8 kB / 0.5923 GB, free: 30.7 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.0001403/0.5831, allocations: 123.1 kB / 0.5924 GB, free: 30.57 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0008917/0.584, allocations: 0.6387 MB / 0.593 GB, free: 29.94 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.584, allocations: 3.938 kB / 0.593 GB, free: 29.93 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003979/0.5844, allocations: 318.3 kB / 0.5933 GB, free: 29.62 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004728/0.5849, allocations: 71.89 kB / 0.5934 GB, free: 29.55 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/0.5877, allocations: 2.773 MB / 0.5961 GB, free: 26.74 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.5879, allocations: 0.7959 MB / 0.5969 GB, free: 25.92 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003207/0.5883, allocations: 31.44 kB / 0.5969 GB, free: 25.89 MB / 462.3 MB Notification: Performance of SimCode: time 1.132e-06/0.5883, allocations: 0 / 0.5969 GB, free: 25.89 MB / 462.3 MB Notification: Performance of Templates: time 0.007211/0.5955, allocations: 5.361 MB / 0.6021 GB, free: 20.54 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