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.0009241/0.0009242, allocations: 93.58 kB / 17.31 MB, free: 5.59 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.0009498/0.0009499, allocations: 182.8 kB / 18.21 MB, free: 5.191 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.296/1.296, allocations: 223.3 MB / 242.3 MB, free: 14.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9214/0.9214, allocations: 120.5 MB / 413.8 MB, free: 9.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003385, allocations: 8 kB / 0.4969 GB, free: 10.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.533/0.5333, allocations: 82.83 MB / 0.5778 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40): time 0.001146/0.5345, allocations: 1.071 MB / 0.5788 GB, free: 40.96 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001815/0.5347, allocations: 59.52 kB / 0.5789 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.076e-05/0.5347, allocations: 0 / 0.5789 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.629e-05/0.5348, allocations: 11.86 kB / 0.5789 GB, free: 40.9 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 7.777e-05/0.5349, allocations: 17.09 kB / 0.5789 GB, free: 40.89 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001191/0.5351, allocations: 16.91 kB / 0.5789 GB, free: 40.88 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004783/0.5355, allocations: 0.6564 MB / 0.5796 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.213e-05/0.5356, allocations: 5.5 kB / 0.5796 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.5358, allocations: 243.8 kB / 0.5798 GB, free: 40.43 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003937/0.5362, allocations: 342.3 kB / 0.5801 GB, free: 40.23 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 8.455e-05/0.5363, allocations: 35.5 kB / 0.5802 GB, free: 40.23 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.398e-05/0.5364, allocations: 35.72 kB / 0.5802 GB, free: 40.23 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.000201/0.5366, allocations: 276.3 kB / 0.5805 GB, free: 40.05 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.5368, allocations: 313.9 kB / 0.5808 GB, free: 39.85 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.5371, allocations: 336.6 kB / 0.5811 GB, free: 39.68 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.5371, allocations: 0 / 0.5811 GB, free: 39.68 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5371, allocations: 0.9062 kB / 0.5811 GB, free: 39.68 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.5371, allocations: 0 / 0.5811 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00239/0.5395, allocations: 1.047 MB / 0.5821 GB, free: 38.97 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.5396, allocations: 10.34 kB / 0.5821 GB, free: 38.97 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.5397, allocations: 53.03 kB / 0.5822 GB, free: 38.95 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003782/0.5401, allocations: 332 kB / 0.5825 GB, free: 38.67 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.199e-05/0.5401, allocations: 58.88 kB / 0.5825 GB, free: 38.64 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.5403, allocations: 114.9 kB / 0.5826 GB, free: 38.59 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009212/0.5412, allocations: 0.6544 MB / 0.5833 GB, free: 38.22 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.5412, allocations: 192 / 0.5833 GB, free: 38.22 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.558e-05/0.5413, allocations: 19.69 kB / 0.5833 GB, free: 38.2 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.5413, allocations: 12.66 kB / 0.5833 GB, free: 38.2 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000598/0.5419, allocations: 398.7 kB / 0.5837 GB, free: 38.03 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00357/0.5455, allocations: 1.843 MB / 0.5855 GB, free: 36.99 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007022/0.5525, allocations: 2.515 MB / 0.5879 GB, free: 35.53 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004353/0.553, allocations: 370.6 kB / 0.5883 GB, free: 35.17 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.258e-05/0.553, allocations: 8.656 kB / 0.5883 GB, free: 35.16 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.5531, allocations: 51.09 kB / 0.5884 GB, free: 35.1 MB / 462.3 MB Notification: Performance of pre-optimization done (n=82): time 2.384e-06/0.5531, allocations: 0 / 0.5884 GB, free: 35.1 MB / 462.3 MB Notification: Performance of matching and sorting (n=82): time 0.001475/0.5546, allocations: 1.097 MB / 0.5894 GB, free: 34 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.5546, allocations: 60.06 kB / 0.5895 GB, free: 33.93 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.277e-05/0.5547, allocations: 145.8 kB / 0.5896 GB, free: 33.77 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 5.678e-05/0.5547, allocations: 49.7 kB / 0.5897 GB, free: 33.72 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/0.5548, allocations: 157.7 kB / 0.5898 GB, free: 33.56 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/0.555, allocations: 378.5 kB / 0.5902 GB, free: 33.18 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.5551, allocations: 137.6 kB / 0.5903 GB, free: 33.04 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.23e-05/0.5552, allocations: 367.2 kB / 0.5907 GB, free: 32.68 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005376/0.5557, allocations: 446.3 kB / 0.5911 GB, free: 32.24 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/0.5562, allocations: 471.4 kB / 0.5915 GB, free: 31.78 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.5573, allocations: 0.9766 MB / 0.5925 GB, free: 30.8 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5574, allocations: 3.938 kB / 0.5925 GB, free: 30.79 MB / 462.3 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.00138/0.5587, allocations: 1.211 MB / 0.5937 GB, free: 29.57 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.5588, allocations: 4 kB / 0.5937 GB, free: 29.57 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.5588, allocations: 0 / 0.5937 GB, free: 29.57 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.5588, allocations: 8 kB / 0.5937 GB, free: 29.56 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/0.5603, allocations: 447.5 kB / 0.5941 GB, free: 29.12 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.5604, allocations: 8 kB / 0.5941 GB, free: 29.12 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004763/0.5608, allocations: 115 kB / 0.5942 GB, free: 29 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.222e-05/0.5609, allocations: 36 kB / 0.5943 GB, free: 28.97 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.0002143/0.5611, allocations: 213.5 kB / 0.5945 GB, free: 28.75 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.789e-05/0.5612, allocations: 35.56 kB / 0.5945 GB, free: 28.71 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.5615, allocations: 99.39 kB / 0.5946 GB, free: 28.62 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.5615, allocations: 8 kB / 0.5946 GB, free: 28.61 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.5615, allocations: 0 / 0.5946 GB, free: 28.61 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.5615, allocations: 3.984 kB / 0.5946 GB, free: 28.61 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006111/0.5621, allocations: 0.6107 MB / 0.5952 GB, free: 27.95 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.5621, allocations: 0 / 0.5952 GB, free: 27.95 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002126/0.5643, allocations: 447.5 kB / 0.5956 GB, free: 27.51 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.5643, allocations: 4 kB / 0.5956 GB, free: 27.51 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.029e-05/0.5644, allocations: 51.94 kB / 0.5957 GB, free: 27.46 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.5644, allocations: 4 kB / 0.5957 GB, free: 27.45 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.5644, allocations: 0 / 0.5957 GB, free: 27.45 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.5658, allocations: 1.277 MB / 0.5969 GB, free: 26.16 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.5658, allocations: 120.5 kB / 0.5971 GB, free: 26.02 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.312e-05/0.5659, allocations: 39.95 kB / 0.5971 GB, free: 25.98 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004772/0.5664, allocations: 55.94 kB / 0.5971 GB, free: 25.93 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.5665, allocations: 48.58 kB / 0.5972 GB, free: 25.88 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.382e-05/0.5666, allocations: 23.98 kB / 0.5972 GB, free: 25.86 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.12e-05/0.5666, allocations: 91.28 kB / 0.5973 GB, free: 25.77 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5666, allocations: 3.938 kB / 0.5973 GB, free: 25.77 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004424/0.5671, allocations: 227.8 kB / 0.5975 GB, free: 25.54 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.0001724/0.5673, allocations: 171 kB / 0.5977 GB, free: 25.37 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.5684, allocations: 0.9657 MB / 0.5986 GB, free: 24.4 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5684, allocations: 288 / 0.5986 GB, free: 24.4 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004726/0.5689, allocations: 455.4 kB / 0.5991 GB, free: 23.96 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.5693, allocations: 35.88 kB / 0.5991 GB, free: 23.92 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00543/0.5747, allocations: 6.602 MB / 0.6055 GB, free: 17.28 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.575, allocations: 0.9117 MB / 0.6064 GB, free: 16.34 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000299/0.5753, allocations: 51.44 kB / 0.6065 GB, free: 16.29 MB / 462.3 MB Notification: Performance of SimCode: time 4.71e-07/0.5753, allocations: 0 / 0.6065 GB, free: 16.29 MB / 462.3 MB Notification: Performance of Templates: time 0.008491/0.5838, allocations: 8.528 MB / 0.6148 GB, free: 7.781 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