Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.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.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.1.|cur.2.|cur.3.|cur.40.|cur.4.|cur.5.|der.cur.1..|der.cur.2..|der.cur.3..|der.cur.4..|der.cur.5..|der.vol.1..|der.vol.2..|der.vol.3..|der.vol.40..|der.vol.4..|der.vol.5..|time|time|vol.1.|vol.2.|vol.3.|vol.40.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40") translateModel(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.1.|cur.2.|cur.3.|cur.40.|cur.4.|cur.5.|der.cur.1..|der.cur.2..|der.cur.3..|der.cur.4..|der.cur.5..|der.vol.1..|der.vol.2..|der.vol.3..|der.vol.40..|der.vol.4..|der.vol.5..|time|time|vol.1.|vol.2.|vol.3.|vol.40.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, 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.001353/0.001353, 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.359/1.359, 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 1.072/1.072, allocations: 119.3 MB / 411.3 MB, free: 9.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.89 kB / 0.4924 GB, free: 12.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6037/0.6049, allocations: 80.68 MB / 0.5712 GB, free: 43.89 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40): time 0.002466/0.6074, allocations: 1.402 MB / 0.5726 GB, free: 42.79 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002826/0.6077, allocations: 66.16 kB / 0.5726 GB, free: 42.74 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.316e-05/0.6078, allocations: 3.938 kB / 0.5726 GB, free: 42.74 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.6079, allocations: 3.938 kB / 0.5727 GB, free: 42.73 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.6081, allocations: 16.28 kB / 0.5727 GB, free: 42.72 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.6083, allocations: 15.94 kB / 0.5727 GB, free: 42.71 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0007158/0.609, allocations: 0.6527 MB / 0.5733 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 8.677e-05/0.6091, allocations: 6.938 kB / 0.5733 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003044/0.6094, allocations: 243.3 kB / 0.5736 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000542/0.6099, allocations: 346.6 kB / 0.5739 GB, free: 42.06 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.6101, allocations: 35.41 kB / 0.5739 GB, free: 42.06 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.6102, allocations: 36.12 kB / 0.574 GB, free: 42.06 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0003034/0.6105, allocations: 275.9 kB / 0.5742 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003097/0.6108, allocations: 280.5 kB / 0.5745 GB, free: 41.72 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003576/0.6112, allocations: 340.4 kB / 0.5748 GB, free: 41.55 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.6112, allocations: 1.188 kB / 0.5748 GB, free: 41.55 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6112, allocations: 0 / 0.5748 GB, free: 41.55 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.6112, allocations: 0 / 0.5748 GB, free: 41.55 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002832/0.614, allocations: 1.129 MB / 0.5759 GB, free: 40.78 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.6141, allocations: 13.64 kB / 0.5759 GB, free: 40.77 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.6142, allocations: 60.12 kB / 0.576 GB, free: 40.75 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004146/0.6147, allocations: 323.3 kB / 0.5763 GB, free: 40.48 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.331e-05/0.6147, allocations: 58.69 kB / 0.5764 GB, free: 40.45 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/0.6149, allocations: 120.2 kB / 0.5765 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.616, allocations: 0.6487 MB / 0.5771 GB, free: 40.02 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.616, allocations: 5.562 kB / 0.5771 GB, free: 40.02 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.647e-05/0.6161, allocations: 20.06 kB / 0.5771 GB, free: 40 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.6161, allocations: 14.98 kB / 0.5771 GB, free: 40 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006843/0.6168, allocations: 399 kB / 0.5775 GB, free: 39.83 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00394/0.6207, allocations: 1.789 MB / 0.5793 GB, free: 38.8 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008031/0.6288, allocations: 2.51 MB / 0.5817 GB, free: 37.78 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006057/0.6294, allocations: 372.5 kB / 0.5821 GB, free: 37.6 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 7.401e-05/0.6295, allocations: 12.36 kB / 0.5821 GB, free: 37.6 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.6295, allocations: 42.28 kB / 0.5821 GB, free: 37.55 MB / 462.3 MB Notification: Performance of pre-optimization done (n=82): time 3.457e-06/0.6296, allocations: 4.938 kB / 0.5821 GB, free: 37.55 MB / 462.3 MB Notification: Performance of matching and sorting (n=82): time 0.002017/0.6316, allocations: 1.109 MB / 0.5832 GB, free: 37.04 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.6316, allocations: 60.19 kB / 0.5833 GB, free: 36.98 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.6317, allocations: 140.2 kB / 0.5834 GB, free: 36.86 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.682e-05/0.6318, allocations: 54.23 kB / 0.5835 GB, free: 36.8 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 7.519e-05/0.6319, allocations: 156.4 kB / 0.5836 GB, free: 36.66 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/0.6321, allocations: 381.4 kB / 0.584 GB, free: 36.32 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003035/0.6325, allocations: 233.6 kB / 0.5842 GB, free: 36.18 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.9e-05/0.6326, allocations: 370.8 kB / 0.5845 GB, free: 35.8 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005317/0.6331, allocations: 438.3 kB / 0.585 GB, free: 35.38 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005298/0.6336, allocations: 471.5 kB / 0.5854 GB, free: 34.91 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.6347, allocations: 0.9804 MB / 0.5864 GB, free: 33.93 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6347, allocations: 0 / 0.5864 GB, free: 33.93 MB / 462.3 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.001411/0.6361, allocations: 1.207 MB / 0.5875 GB, free: 32.71 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.6362, allocations: 14.48 kB / 0.5876 GB, free: 32.7 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.6362, allocations: 4 kB / 0.5876 GB, free: 32.7 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.6362, allocations: 4 kB / 0.5876 GB, free: 32.7 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/0.6378, allocations: 447.5 kB / 0.588 GB, free: 32.26 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.6378, allocations: 4 kB / 0.588 GB, free: 32.25 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004644/0.6383, allocations: 126.9 kB / 0.5881 GB, free: 32.13 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-05/0.6384, allocations: 36 kB / 0.5882 GB, free: 32.09 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (162): * Single equations (assignments): 162 * 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.0002589/0.6386, allocations: 205.5 kB / 0.5884 GB, free: 31.88 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.482e-05/0.6387, allocations: 35.66 kB / 0.5884 GB, free: 31.85 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.6389, allocations: 91.39 kB / 0.5885 GB, free: 31.76 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.639, allocations: 8 kB / 0.5885 GB, free: 31.75 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.81e-05/0.639, allocations: 4 kB / 0.5885 GB, free: 31.75 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.639, allocations: 7.984 kB / 0.5885 GB, free: 31.74 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006483/0.6396, allocations: 0.6106 MB / 0.5891 GB, free: 31.08 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.6397, allocations: 0 / 0.5891 GB, free: 31.08 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002333/0.642, allocations: 455.5 kB / 0.5895 GB, free: 30.63 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-06/0.642, allocations: 0 / 0.5895 GB, free: 30.63 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.363e-05/0.6421, allocations: 51.94 kB / 0.5896 GB, free: 30.58 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.6421, allocations: 384 / 0.5896 GB, free: 30.58 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6421, allocations: 4 kB / 0.5896 GB, free: 30.58 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.6436, allocations: 1.269 MB / 0.5908 GB, free: 29.3 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.634e-05/0.6437, allocations: 120.6 kB / 0.5909 GB, free: 29.16 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.6438, allocations: 47.89 kB / 0.591 GB, free: 29.11 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004941/0.6443, allocations: 51.94 kB / 0.591 GB, free: 29.06 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.6444, allocations: 48.58 kB / 0.5911 GB, free: 29.02 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.226e-05/0.6445, allocations: 27.98 kB / 0.5911 GB, free: 28.99 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.242e-05/0.6445, allocations: 99.2 kB / 0.5912 GB, free: 28.89 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.6445, allocations: 0 / 0.5912 GB, free: 28.89 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000492/0.645, allocations: 231.8 kB / 0.5914 GB, free: 28.66 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 80 (cur_x[1],cur_x[2],cur_x[3],cur_x[4],cur_x[5],cur_x[6],cur_x[7],cur_x[8],cur_x[9],cur_x[10],cur_x[11],cur_x[12],cur_x[13],cur_x[14],cur_x[15],cur_x[16],cur_x[17],cur_x[18],cur_x[19],cur_x[20],cur_x[21],cur_x[22],cur_x[23],cur_x[24],cur_x[25],cur_x[26],cur_x[27],cur_x[28],cur_x[29],cur_x[30],cur_x[31],cur_x[32],cur_x[33],cur_x[34],cur_x[35],cur_x[36],cur_x[37],cur_x[38],cur_x[39],vol[1],vol[2],vol[3],vol[4],vol[5],vol[6],vol[7],vol[8],vol[9],vol[10],vol[11],vol[12],vol[13],vol[14],vol[15],vol[16],vol[17],vol[18],vol[19],vol[20],vol[21],vol[22],vol[23],vol[24],vol[25],vol[26],vol[27],vol[28],vol[29],vol[30],vol[31],vol[32],vol[33],vol[34],vol[35],vol[36],vol[37],vol[38],vol[39],vol[40],vvol) * 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 (82): * Single equations (assignments): 82 * 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.0001844/0.6452, allocations: 163 kB / 0.5916 GB, free: 28.5 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001758/0.647, allocations: 1.403 MB / 0.5929 GB, free: 27.09 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.647, allocations: 0 / 0.5929 GB, free: 27.09 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004862/0.6475, allocations: 447.5 kB / 0.5934 GB, free: 26.66 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.6479, allocations: 28 kB / 0.5934 GB, free: 26.63 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0055/0.6534, allocations: 5.551 MB / 0.5988 GB, free: 21.04 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.6537, allocations: 0.9075 MB / 0.5997 GB, free: 20.11 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003482/0.654, allocations: 47.44 kB / 0.5997 GB, free: 20.06 MB / 462.3 MB Notification: Performance of SimCode: time 1.072e-06/0.6541, allocations: 0 / 0.5997 GB, free: 20.06 MB / 462.3 MB Notification: Performance of Templates: time 0.01054/0.6646, allocations: 8.615 MB / 0.6082 GB, free: 11.46 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.sim & ./ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches