Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.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_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.1.|cur.20.|cur.2.|cur.3.|cur.4.|cur.5.|der.cur.1..|der.cur.2..|der.cur.3..|der.cur.4..|der.cur.5..|der.vol.1..|der.vol.20..|der.vol.2..|der.vol.3..|der.vol.4..|der.vol.5..|time|time|vol.1.|vol.20.|vol.2.|vol.3.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20") translateModel(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.1.|cur.20.|cur.2.|cur.3.|cur.4.|cur.5.|der.cur.1..|der.cur.2..|der.cur.3..|der.cur.4..|der.cur.5..|der.vol.1..|der.vol.20..|der.vol.2..|der.vol.3..|der.vol.4..|der.vol.5..|time|time|vol.1.|vol.20.|vol.2.|vol.3.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 188.9 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.3/1.3, allocations: 222.9 MB / 240.9 MB, free: 11 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.001073/0.001073, allocations: 101.7 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.7866/0.7866, allocations: 119.3 MB / 460.6 MB, free: 9.578 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001027/0.001027, allocations: 55.92 kB / 0.5405 GB, free: 41.96 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1454, allocations: 80.68 MB / 0.6192 GB, free: 11.36 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.002863/0.1483, allocations: 1.391 MB / 0.6206 GB, free: 9.961 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002534/0.1486, allocations: 59.78 kB / 0.6207 GB, free: 9.902 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.407e-05/0.1487, allocations: 0 / 0.6207 GB, free: 9.902 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 9.232e-05/0.1488, allocations: 7.922 kB / 0.6207 GB, free: 9.895 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.1489, allocations: 15.92 kB / 0.6207 GB, free: 9.879 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001694/0.1491, allocations: 19.97 kB / 0.6207 GB, free: 9.859 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.1495, allocations: 319.4 kB / 0.621 GB, free: 9.547 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.74e-05/0.1495, allocations: 7.984 kB / 0.621 GB, free: 9.539 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.1497, allocations: 111.8 kB / 0.6211 GB, free: 9.43 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003132/0.15, allocations: 167.6 kB / 0.6213 GB, free: 9.266 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 6.156e-05/0.1501, allocations: 16 kB / 0.6213 GB, free: 9.25 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.102e-05/0.1501, allocations: 16 kB / 0.6213 GB, free: 9.234 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.1503, allocations: 115.7 kB / 0.6214 GB, free: 9.121 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000191/0.1505, allocations: 123.5 kB / 0.6215 GB, free: 9 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.1507, allocations: 199.6 kB / 0.6217 GB, free: 8.805 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1507, allocations: 0 / 0.6217 GB, free: 8.805 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1507, allocations: 4 kB / 0.6217 GB, free: 8.801 MB / 442.8 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.1508, allocations: 0 / 0.6217 GB, free: 8.801 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001612/0.1524, allocations: 0.6749 MB / 0.6224 GB, free: 8.074 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.1524, allocations: 8.031 kB / 0.6224 GB, free: 8.066 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.94e-05/0.1525, allocations: 32.73 kB / 0.6224 GB, free: 8.035 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003284/0.1528, allocations: 232 kB / 0.6227 GB, free: 7.77 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.1529, allocations: 20.38 kB / 0.6227 GB, free: 7.75 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.05e-05/0.153, allocations: 56.17 kB / 0.6227 GB, free: 7.695 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004628/0.1534, allocations: 281.7 kB / 0.623 GB, free: 7.414 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1535, allocations: 192 / 0.623 GB, free: 7.414 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.1535, allocations: 7.938 kB / 0.623 GB, free: 7.406 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.1535, allocations: 4 kB / 0.623 GB, free: 7.402 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000312/0.1538, allocations: 163.8 kB / 0.6232 GB, free: 7.242 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.1543, allocations: 381.2 kB / 0.6235 GB, free: 6.82 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003852/0.1582, allocations: 1.225 MB / 0.6247 GB, free: 5.586 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003098/0.1585, allocations: 188.8 kB / 0.6249 GB, free: 5.398 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.954e-05/0.1585, allocations: 4 kB / 0.6249 GB, free: 5.395 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.1586, allocations: 46.48 kB / 0.625 GB, free: 5.34 MB / 442.8 MB Notification: Performance of pre-optimization done (n=42): time 1.673e-06/0.1586, allocations: 0 / 0.625 GB, free: 5.34 MB / 442.8 MB Notification: Performance of matching and sorting (n=42): time 0.001017/0.1596, allocations: 0.564 MB / 0.6255 GB, free: 4.766 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.1596, allocations: 63.39 kB / 0.6256 GB, free: 4.691 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.1598, allocations: 129.8 kB / 0.6257 GB, free: 4.555 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.1598, allocations: 45.7 kB / 0.6257 GB, free: 4.504 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.1599, allocations: 93.14 kB / 0.6258 GB, free: 4.41 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.16, allocations: 189.3 kB / 0.626 GB, free: 4.223 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.1602, allocations: 130.3 kB / 0.6261 GB, free: 4.086 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1604, allocations: 338.8 kB / 0.6265 GB, free: 3.746 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003532/0.1608, allocations: 221.1 kB / 0.6267 GB, free: 3.531 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/0.1611, allocations: 237.7 kB / 0.6269 GB, free: 3.297 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006942/0.1618, allocations: 497.1 kB / 0.6274 GB, free: 2.812 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.1618, allocations: 4 kB / 0.6274 GB, free: 2.809 MB / 442.8 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009244/0.1628, allocations: 0.6219 MB / 0.628 GB, free: 2.18 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.1628, allocations: 7.938 kB / 0.628 GB, free: 2.172 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.1628, allocations: 0 / 0.628 GB, free: 2.172 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.1628, allocations: 4 kB / 0.628 GB, free: 2.168 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008808/0.1637, allocations: 231.7 kB / 0.6282 GB, free: 1.941 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.1637, allocations: 0 / 0.6282 GB, free: 1.941 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.164, allocations: 59.5 kB / 0.6283 GB, free: 1.883 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.164, allocations: 24 kB / 0.6283 GB, free: 1.859 MB / 442.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 (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 prepare postOptimizeDAE: time 0.0001498/0.1642, allocations: 149.7 kB / 0.6284 GB, free: 1.703 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/0.1642, allocations: 23.66 kB / 0.6285 GB, free: 1.68 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001629/0.1644, allocations: 53.95 kB / 0.6285 GB, free: 1.625 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1644, allocations: 8 kB / 0.6285 GB, free: 1.617 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1644, allocations: 0 / 0.6285 GB, free: 1.617 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.1644, allocations: 3.984 kB / 0.6285 GB, free: 1.613 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000398/0.1649, allocations: 365.1 kB / 0.6289 GB, free: 1.207 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1649, allocations: 0 / 0.6289 GB, free: 1.207 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/0.1661, allocations: 231.7 kB / 0.6291 GB, free: 0.9805 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.1661, allocations: 3.938 kB / 0.6291 GB, free: 0.9766 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.51e-05/0.1662, allocations: 27.97 kB / 0.6291 GB, free: 0.9492 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1662, allocations: 0 / 0.6291 GB, free: 0.9492 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1662, allocations: 0 / 0.6291 GB, free: 0.9492 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00865/0.1749, allocations: 4.425 MB / 0.6334 GB, free: 12.38 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.805e-05/0.175, allocations: 96.77 kB / 0.6335 GB, free: 12.27 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.504e-05/0.1751, allocations: 19.98 kB / 0.6335 GB, free: 12.25 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.1753, allocations: 28.34 kB / 0.6336 GB, free: 12.22 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.481e-05/0.1754, allocations: 27.95 kB / 0.6336 GB, free: 12.2 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.1755, allocations: 12 kB / 0.6336 GB, free: 12.18 MB / 458.8 MB Notification: Performance of sorting global known variables: time 7.21e-05/0.1755, allocations: 95.2 kB / 0.6337 GB, free: 12.09 MB / 458.8 MB Notification: Performance of sort global known variables: time 1e-07/0.1756, allocations: 4 kB / 0.6337 GB, free: 12.09 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0004676/0.176, allocations: 152 kB / 0.6339 GB, free: 11.94 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (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],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],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 (42): * Single equations (assignments): 42 * 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.0001661/0.1762, allocations: 127.2 kB / 0.634 GB, free: 11.8 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0008211/0.177, allocations: 495.3 kB / 0.6344 GB, free: 11.32 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.177, allocations: 4 kB / 0.6344 GB, free: 11.31 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003332/0.1774, allocations: 228.2 kB / 0.6347 GB, free: 11.09 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.1776, allocations: 24.97 kB / 0.6347 GB, free: 11.07 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003902/0.1815, allocations: 3.014 MB / 0.6376 GB, free: 8 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.1819, allocations: 0.7921 MB / 0.6384 GB, free: 7.188 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0004477/0.1824, allocations: 176.1 kB / 0.6386 GB, free: 7.02 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.1826, allocations: 31.44 kB / 0.6386 GB, free: 6.988 MB / 458.8 MB Notification: Performance of SimCode: time 7.52e-07/0.1826, allocations: 4 kB / 0.6386 GB, free: 6.984 MB / 458.8 MB Notification: Performance of Templates: time 0.009709/0.1923, allocations: 5.31 MB / 0.6438 GB, free: 1.711 MB / 458.8 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches