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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009659/0.000966, allocations: 103.3 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.9085/0.9085, allocations: 119.3 MB / 460.6 MB, free: 9.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009791/0.0009791, allocations: 51.92 kB / 0.5405 GB, free: 41.91 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1402, allocations: 80.69 MB / 0.6193 GB, free: 11.35 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40): time 0.002783/0.143, allocations: 1.382 MB / 0.6206 GB, free: 9.957 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002392/0.1433, allocations: 59.78 kB / 0.6207 GB, free: 9.898 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.063e-05/0.1433, allocations: 4 kB / 0.6207 GB, free: 9.895 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 9.698e-05/0.1434, allocations: 0 / 0.6207 GB, free: 9.895 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.1436, allocations: 15.86 kB / 0.6207 GB, free: 9.879 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.1438, allocations: 23.95 kB / 0.6207 GB, free: 9.855 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005268/0.1443, allocations: 0.5655 MB / 0.6213 GB, free: 9.289 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.963e-05/0.1444, allocations: 4 kB / 0.6213 GB, free: 9.285 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003315/0.1447, allocations: 207.8 kB / 0.6215 GB, free: 9.082 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005531/0.1453, allocations: 307 kB / 0.6217 GB, free: 8.785 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.1454, allocations: 36 kB / 0.6218 GB, free: 8.75 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.599e-05/0.1455, allocations: 32 kB / 0.6218 GB, free: 8.719 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002318/0.1458, allocations: 219.5 kB / 0.622 GB, free: 8.504 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003419/0.1461, allocations: 235.1 kB / 0.6222 GB, free: 8.273 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003878/0.1465, allocations: 391 kB / 0.6226 GB, free: 7.891 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1465, allocations: 0 / 0.6226 GB, free: 7.891 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1465, allocations: 0 / 0.6226 GB, free: 7.891 MB / 442.8 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.1466, allocations: 0 / 0.6226 GB, free: 7.891 MB / 442.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.002851/0.1494, allocations: 1.035 MB / 0.6236 GB, free: 6.801 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.1495, allocations: 12.03 kB / 0.6236 GB, free: 6.789 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.1496, allocations: 44.56 kB / 0.6237 GB, free: 6.746 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005569/0.1502, allocations: 303.8 kB / 0.624 GB, free: 6.41 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.646e-05/0.1502, allocations: 45.03 kB / 0.624 GB, free: 6.367 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/0.1504, allocations: 99.98 kB / 0.6241 GB, free: 6.27 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009211/0.1514, allocations: 0.51 MB / 0.6246 GB, free: 5.754 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.1514, allocations: 8.188 kB / 0.6246 GB, free: 5.746 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.893e-05/0.1515, allocations: 15.94 kB / 0.6246 GB, free: 5.73 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.1515, allocations: 8 kB / 0.6246 GB, free: 5.723 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006074/0.1521, allocations: 310.3 kB / 0.6249 GB, free: 5.418 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007977/0.1529, allocations: 0.5821 MB / 0.6255 GB, free: 4.785 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007618/0.1605, allocations: 2.507 MB / 0.628 GB, free: 2.266 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005371/0.1611, allocations: 378.6 kB / 0.6283 GB, free: 1.895 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.221e-05/0.1611, allocations: 8.656 kB / 0.6283 GB, free: 1.887 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.1612, allocations: 43.22 kB / 0.6284 GB, free: 1.836 MB / 442.8 MB Notification: Performance of pre-optimization done (n=82): time 2.144e-06/0.1612, allocations: 4 kB / 0.6284 GB, free: 1.832 MB / 442.8 MB Notification: Performance of matching and sorting (n=82): time 0.00207/0.1633, allocations: 1.109 MB / 0.6295 GB, free: 0.7148 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.1633, allocations: 60.06 kB / 0.6295 GB, free: 0.6445 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.1635, allocations: 141.8 kB / 0.6296 GB, free: 0.4961 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 5.516e-05/0.1635, allocations: 49.7 kB / 0.6297 GB, free: 452 kB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/0.1636, allocations: 102.1 kB / 0.6298 GB, free: 348 kB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002791/0.1639, allocations: 382.6 kB / 0.6302 GB, free: 15.96 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002808/0.1642, allocations: 235 kB / 0.6304 GB, free: 15.73 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1643, allocations: 366.8 kB / 0.6307 GB, free: 15.36 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006663/0.165, allocations: 446.3 kB / 0.6312 GB, free: 14.92 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006672/0.1657, allocations: 463.5 kB / 0.6316 GB, free: 14.47 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001391/0.1671, allocations: 0.9766 MB / 0.6325 GB, free: 13.49 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.1671, allocations: 4 kB / 0.6326 GB, free: 13.49 MB / 458.8 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.001763/0.1688, allocations: 1.215 MB / 0.6337 GB, free: 12.27 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.1689, allocations: 7.938 kB / 0.6337 GB, free: 12.26 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1689, allocations: 4 kB / 0.6338 GB, free: 12.25 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.1689, allocations: 4.375 kB / 0.6338 GB, free: 12.25 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/0.1706, allocations: 443.5 kB / 0.6342 GB, free: 11.82 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.113e-05/0.1707, allocations: 8 kB / 0.6342 GB, free: 11.81 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005695/0.1712, allocations: 122.9 kB / 0.6343 GB, free: 11.69 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.637e-05/0.1713, allocations: 47.92 kB / 0.6343 GB, free: 11.64 MB / 458.8 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.0002219/0.1715, allocations: 197.5 kB / 0.6345 GB, free: 11.44 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.79e-05/0.1716, allocations: 39.56 kB / 0.6346 GB, free: 11.4 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003248/0.172, allocations: 91.39 kB / 0.6347 GB, free: 11.3 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.172, allocations: 8 kB / 0.6347 GB, free: 11.29 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.505e-06/0.172, allocations: 0 / 0.6347 GB, free: 11.29 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.172, allocations: 11.98 kB / 0.6347 GB, free: 11.28 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006723/0.1727, allocations: 0.5521 MB / 0.6352 GB, free: 10.68 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1727, allocations: 0 / 0.6352 GB, free: 10.68 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002413/0.1751, allocations: 451.6 kB / 0.6357 GB, free: 10.24 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.291e-05/0.1751, allocations: 7.938 kB / 0.6357 GB, free: 10.23 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.1753, allocations: 47.95 kB / 0.6357 GB, free: 10.18 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.1753, allocations: 7.938 kB / 0.6357 GB, free: 10.18 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1753, allocations: 0 / 0.6357 GB, free: 10.18 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01617/0.1914, allocations: 8.018 MB / 0.6435 GB, free: 2.004 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.487e-05/0.1916, allocations: 116.6 kB / 0.6437 GB, free: 1.871 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/0.1918, allocations: 47.95 kB / 0.6437 GB, free: 1.824 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005372/0.1923, allocations: 47.95 kB / 0.6437 GB, free: 1.777 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.1925, allocations: 56.58 kB / 0.6438 GB, free: 1.723 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-05/0.1925, allocations: 19.98 kB / 0.6438 GB, free: 1.703 MB / 458.8 MB Notification: Performance of sorting global known variables: time 5.901e-05/0.1926, allocations: 95.27 kB / 0.6439 GB, free: 1.609 MB / 458.8 MB Notification: Performance of sort global known variables: time 1e-07/0.1926, allocations: 0 / 0.6439 GB, free: 1.609 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0006823/0.1933, allocations: 304 kB / 0.6442 GB, free: 1.312 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 80 (cur[1],cur[2],cur[3],cur[4],cur[5],cur[6],cur[7],cur[8],cur[9],cur[10],cur[11],cur[12],cur[13],cur[14],cur[15],cur[16],cur[17],cur[18],cur[19],cur[20],cur[21],cur[22],cur[23],cur[24],cur[25],cur[26],cur[27],cur[28],cur[29],cur[30],cur[31],cur[32],cur[33],cur[34],cur[35],cur[36],cur[37],cur[38],cur[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.0002255/0.1935, allocations: 161.7 kB / 0.6444 GB, free: 1.145 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.001502/0.195, allocations: 0.9735 MB / 0.6453 GB, free: 176 kB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1951, allocations: 4 kB / 0.6453 GB, free: 172 kB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0006418/0.1957, allocations: 447.5 kB / 0.6457 GB, free: 15.73 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.196, allocations: 33.03 kB / 0.6458 GB, free: 15.7 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007028/0.203, allocations: 5.814 MB / 0.6514 GB, free: 9.84 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.2035, allocations: 0.8889 MB / 0.6523 GB, free: 8.922 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.00117/0.2047, allocations: 362.9 kB / 0.6527 GB, free: 8.566 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004197/0.2051, allocations: 55.38 kB / 0.6527 GB, free: 8.512 MB / 474.8 MB Notification: Performance of SimCode: time 7.92e-07/0.2051, allocations: 288 / 0.6527 GB, free: 8.512 MB / 474.8 MB Notification: Performance of Templates: time 0.01596/0.2211, allocations: 10.32 MB / 0.6628 GB, free: 14.22 MB / 490.8 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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