Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001455/0.001456, allocations: 114.9 kB / 17.69 MB, free: 5.312 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.001743/0.001744, allocations: 191 kB / 18.63 MB, free: 4.379 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.347/1.347, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9353/0.9353, allocations: 119.3 MB / 411.8 MB, free: 9.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 67.91 kB / 0.4937 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4835/0.4848, allocations: 80.69 MB / 0.5725 GB, free: 43.96 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40): time 0.002807/0.4877, allocations: 1.341 MB / 0.5738 GB, free: 42.9 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002348/0.488, allocations: 54.92 kB / 0.5739 GB, free: 42.86 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.376e-05/0.488, allocations: 0 / 0.5739 GB, free: 42.86 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.4881, allocations: 9.453 kB / 0.5739 GB, free: 42.85 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.4883, allocations: 23.28 kB / 0.5739 GB, free: 42.83 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.4884, allocations: 20.14 kB / 0.5739 GB, free: 42.81 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006438/0.4891, allocations: 0.6538 MB / 0.5746 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 8.748e-05/0.4892, allocations: 13.88 kB / 0.5746 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002632/0.4895, allocations: 240.4 kB / 0.5748 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004916/0.49, allocations: 335.8 kB / 0.5751 GB, free: 42.15 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.4901, allocations: 35.97 kB / 0.5752 GB, free: 42.15 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.4902, allocations: 35.75 kB / 0.5752 GB, free: 42.15 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002906/0.4905, allocations: 271.6 kB / 0.5755 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003447/0.4908, allocations: 289.4 kB / 0.5757 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0005139/0.4913, allocations: 477.1 kB / 0.5762 GB, free: 41.54 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.4914, allocations: 2 kB / 0.5762 GB, free: 41.54 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.086e-06/0.4914, allocations: 0 / 0.5762 GB, free: 41.54 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.4914, allocations: 0 / 0.5762 GB, free: 41.54 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.003078/0.4945, allocations: 1.178 MB / 0.5774 GB, free: 40.74 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.4945, allocations: 13.48 kB / 0.5774 GB, free: 40.73 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.4947, allocations: 60.12 kB / 0.5774 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005379/0.4952, allocations: 327.8 kB / 0.5777 GB, free: 40.44 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.843e-05/0.4953, allocations: 59.42 kB / 0.5778 GB, free: 40.41 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.4955, allocations: 115.5 kB / 0.5779 GB, free: 40.36 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000974/0.4964, allocations: 0.6527 MB / 0.5785 GB, free: 39.98 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.4965, allocations: 5.094 kB / 0.5785 GB, free: 39.98 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.653e-05/0.4965, allocations: 19.66 kB / 0.5786 GB, free: 39.96 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.4965, allocations: 11.97 kB / 0.5786 GB, free: 39.96 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006703/0.4972, allocations: 398.9 kB / 0.579 GB, free: 39.79 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003572/0.5008, allocations: 1.792 MB / 0.5807 GB, free: 38.76 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007398/0.5082, allocations: 2.515 MB / 0.5832 GB, free: 37.73 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005535/0.5088, allocations: 370.5 kB / 0.5835 GB, free: 37.56 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.92e-05/0.5089, allocations: 8.875 kB / 0.5835 GB, free: 37.56 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.5089, allocations: 49.77 kB / 0.5836 GB, free: 37.5 MB / 462.3 MB Notification: Performance of pre-optimization done (n=82): time 3.577e-06/0.5089, allocations: 0 / 0.5836 GB, free: 37.5 MB / 462.3 MB Notification: Performance of matching and sorting (n=82): time 0.001706/0.5106, allocations: 1.106 MB / 0.5847 GB, free: 36.77 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.5107, allocations: 60.06 kB / 0.5847 GB, free: 36.7 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.5108, allocations: 149.8 kB / 0.5849 GB, free: 36.55 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.418e-05/0.5109, allocations: 49.7 kB / 0.5849 GB, free: 36.49 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/0.5109, allocations: 149.8 kB / 0.585 GB, free: 36.34 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/0.5111, allocations: 382.5 kB / 0.5854 GB, free: 35.96 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002376/0.5114, allocations: 238.9 kB / 0.5856 GB, free: 35.72 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.92e-05/0.5114, allocations: 362.8 kB / 0.586 GB, free: 35.36 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00054/0.512, allocations: 446.3 kB / 0.5864 GB, free: 34.92 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005545/0.5126, allocations: 463.5 kB / 0.5868 GB, free: 34.47 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.5136, allocations: 0.9843 MB / 0.5878 GB, free: 33.48 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5136, allocations: 4 kB / 0.5878 GB, free: 33.48 MB / 462.3 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.001379/0.515, allocations: 1.207 MB / 0.589 GB, free: 32.27 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.5151, allocations: 4 kB / 0.589 GB, free: 32.26 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.5151, allocations: 0 / 0.589 GB, free: 32.26 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.956e-05/0.5151, allocations: 8 kB / 0.589 GB, free: 32.25 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/0.5167, allocations: 447.5 kB / 0.5894 GB, free: 31.82 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.167e-05/0.5167, allocations: 8 kB / 0.5894 GB, free: 31.81 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004769/0.5172, allocations: 126.9 kB / 0.5896 GB, free: 31.68 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.307e-05/0.5173, allocations: 36 kB / 0.5896 GB, free: 31.65 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.0002242/0.5175, allocations: 209.5 kB / 0.5898 GB, free: 31.43 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.5176, allocations: 39.66 kB / 0.5898 GB, free: 31.39 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.5178, allocations: 95.38 kB / 0.5899 GB, free: 31.3 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.5178, allocations: 8 kB / 0.5899 GB, free: 31.29 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.5179, allocations: 0 / 0.5899 GB, free: 31.29 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.5179, allocations: 3.984 kB / 0.5899 GB, free: 31.29 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006622/0.5185, allocations: 0.6067 MB / 0.5905 GB, free: 30.63 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.5185, allocations: 0 / 0.5905 GB, free: 30.63 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00224/0.5208, allocations: 455.5 kB / 0.591 GB, free: 30.19 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.349e-05/0.5208, allocations: 4 kB / 0.591 GB, free: 30.18 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.5209, allocations: 43.95 kB / 0.591 GB, free: 30.14 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.5209, allocations: 4 kB / 0.591 GB, free: 30.14 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5209, allocations: 3.984 kB / 0.591 GB, free: 30.13 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/0.5224, allocations: 1.281 MB / 0.5923 GB, free: 28.84 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 7.987e-05/0.5225, allocations: 120.6 kB / 0.5924 GB, free: 28.7 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.5226, allocations: 43.95 kB / 0.5924 GB, free: 28.66 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004739/0.5231, allocations: 47.95 kB / 0.5925 GB, free: 28.61 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.5232, allocations: 48.58 kB / 0.5925 GB, free: 28.56 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-05/0.5233, allocations: 27.98 kB / 0.5925 GB, free: 28.54 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.957e-05/0.5233, allocations: 95.58 kB / 0.5926 GB, free: 28.44 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5233, allocations: 4 kB / 0.5926 GB, free: 28.44 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005109/0.5238, allocations: 227.8 kB / 0.5929 GB, free: 28.21 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.0001608/0.524, allocations: 163.6 kB / 0.593 GB, free: 28.05 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.5252, allocations: 0.9735 MB / 0.594 GB, free: 27.07 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5252, allocations: 0 / 0.594 GB, free: 27.07 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004858/0.5257, allocations: 451.5 kB / 0.5944 GB, free: 26.64 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.5261, allocations: 28 kB / 0.5944 GB, free: 26.61 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004923/0.531, allocations: 5.303 MB / 0.5996 GB, free: 21.28 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.5314, allocations: 0.9075 MB / 0.6005 GB, free: 20.34 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0006722/0.5321, allocations: 316.5 kB / 0.6008 GB, free: 20.03 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/0.5323, allocations: 43.44 kB / 0.6008 GB, free: 19.98 MB / 462.3 MB Notification: Performance of SimCode: time 8.02e-07/0.5323, allocations: 0 / 0.6008 GB, free: 19.98 MB / 462.3 MB Notification: Performance of Templates: time 0.009368/0.5417, allocations: 5.761 MB / 0.6065 GB, free: 14.26 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40 -s=ida -abortSlowSimulation -alarm=300 -s gbode -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches