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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 190.4 kB / 17.27 MB, free: 4.5 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.381/1.381, 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.001174/0.001174, allocations: 106 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.9694/0.9694, allocations: 119.3 MB / 460.6 MB, free: 9.586 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001027/0.001027, allocations: 59.06 kB / 0.5405 GB, free: 41.89 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1517, allocations: 80.68 MB / 0.6192 GB, free: 11.37 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40): time 0.002641/0.1544, allocations: 1.386 MB / 0.6206 GB, free: 9.969 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002231/0.1546, allocations: 59.77 kB / 0.6207 GB, free: 9.91 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.7e-05/0.1547, allocations: 3.938 kB / 0.6207 GB, free: 9.906 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 8.707e-05/0.1548, allocations: 0 / 0.6207 GB, free: 9.906 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.1549, allocations: 15.92 kB / 0.6207 GB, free: 9.891 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.1551, allocations: 23.91 kB / 0.6207 GB, free: 9.867 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004834/0.1556, allocations: 0.5617 MB / 0.6213 GB, free: 9.305 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.024e-05/0.1556, allocations: 11.98 kB / 0.6213 GB, free: 9.293 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/0.1559, allocations: 211.7 kB / 0.6215 GB, free: 9.086 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004993/0.1564, allocations: 303 kB / 0.6218 GB, free: 8.793 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.1566, allocations: 32 kB / 0.6218 GB, free: 8.762 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.659e-05/0.1567, allocations: 32 kB / 0.6218 GB, free: 8.73 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002056/0.1569, allocations: 223.5 kB / 0.622 GB, free: 8.512 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002924/0.1572, allocations: 231.2 kB / 0.6222 GB, free: 8.285 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000368/0.1576, allocations: 391 kB / 0.6226 GB, free: 7.902 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1576, allocations: 0 / 0.6226 GB, free: 7.902 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1576, allocations: 0 / 0.6226 GB, free: 7.902 MB / 442.8 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.1576, allocations: 4 kB / 0.6226 GB, free: 7.898 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.002668/0.1603, allocations: 1.034 MB / 0.6236 GB, free: 6.809 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.1603, allocations: 12.03 kB / 0.6236 GB, free: 6.797 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.1605, allocations: 44.56 kB / 0.6237 GB, free: 6.754 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004963/0.161, allocations: 295.9 kB / 0.624 GB, free: 6.426 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/0.161, allocations: 45.03 kB / 0.624 GB, free: 6.383 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.1612, allocations: 108 kB / 0.6241 GB, free: 6.277 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008644/0.1621, allocations: 0.5139 MB / 0.6246 GB, free: 5.758 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.1621, allocations: 192 / 0.6246 GB, free: 5.758 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.836e-05/0.1621, allocations: 15.94 kB / 0.6246 GB, free: 5.742 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.1622, allocations: 8 kB / 0.6246 GB, free: 5.734 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005471/0.1627, allocations: 310.4 kB / 0.6249 GB, free: 5.43 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007638/0.1635, allocations: 0.5821 MB / 0.6255 GB, free: 4.797 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007617/0.1711, allocations: 2.511 MB / 0.628 GB, free: 2.273 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006315/0.1718, allocations: 374.6 kB / 0.6283 GB, free: 1.906 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.885e-05/0.1719, allocations: 12.59 kB / 0.6283 GB, free: 1.895 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.1719, allocations: 43.22 kB / 0.6284 GB, free: 1.844 MB / 442.8 MB Notification: Performance of pre-optimization done (n=82): time 2.995e-06/0.1719, allocations: 0 / 0.6284 GB, free: 1.844 MB / 442.8 MB Notification: Performance of matching and sorting (n=82): time 0.001939/0.1739, allocations: 1.101 MB / 0.6294 GB, free: 0.7344 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.1739, allocations: 64 kB / 0.6295 GB, free: 0.6602 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.1741, allocations: 153.7 kB / 0.6297 GB, free: 0.5 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 6.679e-05/0.1741, allocations: 49.7 kB / 0.6297 GB, free: 456 kB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/0.1742, allocations: 106.1 kB / 0.6298 GB, free: 348 kB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003072/0.1745, allocations: 374.6 kB / 0.6302 GB, free: 15.97 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003107/0.1748, allocations: 234.9 kB / 0.6304 GB, free: 15.73 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.175, allocations: 366.8 kB / 0.6307 GB, free: 15.37 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00069/0.1757, allocations: 442.3 kB / 0.6312 GB, free: 14.93 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006826/0.1764, allocations: 471.5 kB / 0.6316 GB, free: 14.47 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.1779, allocations: 0.9805 MB / 0.6326 GB, free: 13.49 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.1779, allocations: 0 / 0.6326 GB, free: 13.49 MB / 458.8 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.001779/0.1797, allocations: 1.203 MB / 0.6337 GB, free: 12.28 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.1797, allocations: 11.94 kB / 0.6337 GB, free: 12.27 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.1797, allocations: 0 / 0.6337 GB, free: 12.27 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.1797, allocations: 4 kB / 0.6338 GB, free: 12.27 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/0.1815, allocations: 451.5 kB / 0.6342 GB, free: 11.82 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.963e-05/0.1815, allocations: 8 kB / 0.6342 GB, free: 11.82 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000574/0.1821, allocations: 122.9 kB / 0.6343 GB, free: 11.7 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.489e-05/0.1822, allocations: 40 kB / 0.6343 GB, free: 11.66 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.0002531/0.1825, allocations: 193.5 kB / 0.6345 GB, free: 11.46 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.1826, allocations: 43.56 kB / 0.6346 GB, free: 11.41 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003066/0.1829, allocations: 91.39 kB / 0.6347 GB, free: 11.32 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.1829, allocations: 8 kB / 0.6347 GB, free: 11.31 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.1829, allocations: 0 / 0.6347 GB, free: 11.31 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.1829, allocations: 3.984 kB / 0.6347 GB, free: 11.3 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007096/0.1837, allocations: 0.556 MB / 0.6352 GB, free: 10.7 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.1837, allocations: 0 / 0.6352 GB, free: 10.7 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002465/0.1861, allocations: 451.6 kB / 0.6356 GB, free: 10.26 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.818e-05/0.1862, allocations: 7.922 kB / 0.6356 GB, free: 10.25 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/0.1863, allocations: 55.94 kB / 0.6357 GB, free: 10.2 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.1863, allocations: 0 / 0.6357 GB, free: 10.2 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1863, allocations: 7.938 kB / 0.6357 GB, free: 10.19 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01679/0.2031, allocations: 8.018 MB / 0.6435 GB, free: 2.016 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.174e-05/0.2032, allocations: 112.6 kB / 0.6436 GB, free: 1.887 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.2034, allocations: 43.95 kB / 0.6437 GB, free: 1.844 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005375/0.204, allocations: 51.94 kB / 0.6437 GB, free: 1.793 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.2041, allocations: 48.95 kB / 0.6438 GB, free: 1.746 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.217e-05/0.2042, allocations: 27.98 kB / 0.6438 GB, free: 1.719 MB / 458.8 MB Notification: Performance of sorting global known variables: time 6.161e-05/0.2043, allocations: 103.2 kB / 0.6439 GB, free: 1.617 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2043, allocations: 0 / 0.6439 GB, free: 1.617 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0006972/0.205, allocations: 300 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.0002221/0.2052, allocations: 165.7 kB / 0.6444 GB, free: 1.141 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.001645/0.2069, allocations: 0.9657 MB / 0.6453 GB, free: 180 kB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2069, allocations: 0 / 0.6453 GB, free: 180 kB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0006566/0.2075, allocations: 447.5 kB / 0.6457 GB, free: 15.74 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.2078, allocations: 33.03 kB / 0.6458 GB, free: 15.71 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006928/0.2148, allocations: 5.817 MB / 0.6514 GB, free: 9.844 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.2152, allocations: 0.8928 MB / 0.6523 GB, free: 8.922 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.0009629/0.2162, allocations: 358.9 kB / 0.6527 GB, free: 8.57 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003463/0.2165, allocations: 59.44 kB / 0.6527 GB, free: 8.512 MB / 474.8 MB Notification: Performance of SimCode: time 8.42e-07/0.2166, allocations: 3.938 kB / 0.6527 GB, free: 8.508 MB / 474.8 MB Notification: Performance of Templates: time 0.01814/0.2347, allocations: 10.3 MB / 0.6628 GB, free: 14.23 MB / 490.8 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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