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.0008874/0.0008874, allocations: 95.94 kB / 16.3 MB, free: 5.992 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.0009255/0.0009255, allocations: 181.6 kB / 17.2 MB, free: 5.906 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.3/1.3, allocations: 223.2 MB / 241.1 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7754/0.7754, allocations: 120.5 MB / 412.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.000337, allocations: 8 kB / 0.4955 GB, free: 9.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1653, allocations: 82.84 MB / 0.5764 GB, free: 6.805 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40): time 0.001782/0.1671, allocations: 1.037 MB / 0.5774 GB, free: 5.758 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003518/0.1675, allocations: 60.16 kB / 0.5774 GB, free: 5.699 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.249e-05/0.1676, allocations: 4 kB / 0.5774 GB, free: 5.695 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.1677, allocations: 7.922 kB / 0.5774 GB, free: 5.688 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.261e-05/0.1678, allocations: 7.984 kB / 0.5775 GB, free: 5.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.168, allocations: 31.95 kB / 0.5775 GB, free: 5.648 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004731/0.1685, allocations: 435.2 kB / 0.5779 GB, free: 5.223 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.597e-05/0.1686, allocations: 11.94 kB / 0.5779 GB, free: 5.211 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003905/0.169, allocations: 239.7 kB / 0.5781 GB, free: 4.977 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005659/0.1696, allocations: 311.4 kB / 0.5784 GB, free: 4.672 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.1697, allocations: 36 kB / 0.5785 GB, free: 4.637 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.1699, allocations: 36 kB / 0.5785 GB, free: 4.602 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002837/0.1701, allocations: 267.5 kB / 0.5788 GB, free: 4.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002141/0.1704, allocations: 109.5 kB / 0.5789 GB, free: 4.227 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003516/0.1707, allocations: 331.2 kB / 0.5792 GB, free: 3.902 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1707, allocations: 0 / 0.5792 GB, free: 3.902 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1708, allocations: 0 / 0.5792 GB, free: 3.902 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.692e-05/0.1708, allocations: 0 / 0.5792 GB, free: 3.902 MB / 446.1 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.002759/0.1735, allocations: 1.046 MB / 0.5802 GB, free: 2.805 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.1736, allocations: 8.031 kB / 0.5802 GB, free: 2.797 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002182/0.1738, allocations: 63.42 kB / 0.5803 GB, free: 2.734 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006588/0.1745, allocations: 322.4 kB / 0.5806 GB, free: 2.379 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.042e-05/0.1746, allocations: 53 kB / 0.5806 GB, free: 2.324 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002297/0.1748, allocations: 115.7 kB / 0.5807 GB, free: 2.211 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.1759, allocations: 0.6465 MB / 0.5814 GB, free: 1.559 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.176, allocations: 4 kB / 0.5814 GB, free: 1.555 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.999e-05/0.176, allocations: 20 kB / 0.5814 GB, free: 1.535 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.176, allocations: 12 kB / 0.5814 GB, free: 1.523 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006805/0.1767, allocations: 399.7 kB / 0.5818 GB, free: 1.133 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4711/0.6479, allocations: 1.828 MB / 0.5836 GB, free: 15.45 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008167/0.6561, allocations: 2.507 MB / 0.586 GB, free: 15.4 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.6562, allocations: 12.22 kB / 0.586 GB, free: 15.39 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.6562, allocations: 41.16 kB / 0.5861 GB, free: 15.36 MB / 446.3 MB Notification: Performance of pre-optimization done (n=82): time 2.514e-06/0.6563, allocations: 0 / 0.5861 GB, free: 15.36 MB / 446.3 MB Notification: Performance of matching and sorting (n=82): time 0.002356/0.6586, allocations: 1.113 MB / 0.5872 GB, free: 15.28 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.6587, allocations: 60.78 kB / 0.5872 GB, free: 15.21 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.6588, allocations: 145.3 kB / 0.5874 GB, free: 15.09 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 6.43e-05/0.6589, allocations: 53.3 kB / 0.5874 GB, free: 15.04 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 8.164e-05/0.659, allocations: 156.6 kB / 0.5876 GB, free: 14.92 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.00023/0.6592, allocations: 379.1 kB / 0.5879 GB, free: 14.63 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.6592, allocations: 25.69 kB / 0.5879 GB, free: 14.61 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 9.691e-05/0.6593, allocations: 371 kB / 0.5883 GB, free: 14.28 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007356/0.6601, allocations: 439.5 kB / 0.5887 GB, free: 14.17 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007458/0.6608, allocations: 456.6 kB / 0.5891 GB, free: 14.05 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000813/0.6617, allocations: 0.5174 MB / 0.5897 GB, free: 13.87 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.6617, allocations: 1.219 kB / 0.5897 GB, free: 13.87 MB / 446.3 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.001941/0.6636, allocations: 1.196 MB / 0.5908 GB, free: 13.48 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.6637, allocations: 9.156 kB / 0.5908 GB, free: 13.48 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.6637, allocations: 0.75 kB / 0.5908 GB, free: 13.48 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/0.6637, allocations: 5.625 kB / 0.5908 GB, free: 13.48 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/0.6654, allocations: 447.5 kB / 0.5913 GB, free: 13.45 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.543e-05/0.6654, allocations: 12.12 kB / 0.5913 GB, free: 13.45 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005217/0.666, allocations: 119 kB / 0.5914 GB, free: 13.38 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.558e-05/0.6661, allocations: 33.78 kB / 0.5914 GB, free: 13.37 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002586/0.6663, allocations: 215.4 kB / 0.5916 GB, free: 13.21 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.762e-05/0.6664, allocations: 30.69 kB / 0.5917 GB, free: 13.2 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002264/0.6666, allocations: 93.66 kB / 0.5917 GB, free: 13.11 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.6667, allocations: 7.984 kB / 0.5918 GB, free: 13.11 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.781e-05/0.6667, allocations: 1.031 kB / 0.5918 GB, free: 13.11 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.6667, allocations: 11.61 kB / 0.5918 GB, free: 13.1 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007876/0.6675, allocations: 0.6132 MB / 0.5924 GB, free: 12.79 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.6675, allocations: 1.375 kB / 0.5924 GB, free: 12.79 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002329/0.6698, allocations: 446.6 kB / 0.5928 GB, free: 12.76 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.428e-05/0.6699, allocations: 3.188 kB / 0.5928 GB, free: 12.76 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001269/0.67, allocations: 52.44 kB / 0.5928 GB, free: 12.75 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.67, allocations: 2.594 kB / 0.5928 GB, free: 12.75 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.67, allocations: 1.344 kB / 0.5928 GB, free: 12.75 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.6718, allocations: 1.276 MB / 0.5941 GB, free: 12.25 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.091e-05/0.6718, allocations: 120.5 kB / 0.5942 GB, free: 12.13 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.672, allocations: 46.95 kB / 0.5943 GB, free: 12.12 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004806/0.6724, allocations: 52.02 kB / 0.5943 GB, free: 12.1 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.6726, allocations: 48.52 kB / 0.5943 GB, free: 12.09 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-05/0.6726, allocations: 23.53 kB / 0.5944 GB, free: 12.09 MB / 446.3 MB Notification: Performance of sorting global known variables: time 4.321e-05/0.6727, allocations: 96.05 kB / 0.5945 GB, free: 12.01 MB / 446.3 MB Notification: Performance of sort global known variables: time 2e-07/0.6727, allocations: 0 / 0.5945 GB, free: 12.01 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0005341/0.6732, allocations: 235.8 kB / 0.5947 GB, free: 11.96 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001851/0.6734, allocations: 168.1 kB / 0.5948 GB, free: 11.84 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.001555/0.675, allocations: 0.9635 MB / 0.5958 GB, free: 11.59 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.675, allocations: 0 / 0.5958 GB, free: 11.59 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006607/0.6757, allocations: 448 kB / 0.5962 GB, free: 11.46 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.6759, allocations: 13.86 kB / 0.5962 GB, free: 11.45 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006352/0.6823, allocations: 6.518 MB / 0.6026 GB, free: 6.824 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.6827, allocations: 0.9273 MB / 0.6035 GB, free: 6.113 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0007088/0.6834, allocations: 318.1 kB / 0.6038 GB, free: 6.059 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.6836, allocations: 44.19 kB / 0.6038 GB, free: 6.055 MB / 446.3 MB Notification: Performance of SimCode: time 7.01e-07/0.6836, allocations: 0 / 0.6038 GB, free: 6.055 MB / 446.3 MB Notification: Performance of Templates: time 0.009299/0.6929, allocations: 5.396 MB / 0.6091 GB, free: 3.691 MB / 446.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.makefile Environment - environmentSimulation: (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 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches