Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.00209/0.00209, 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.487/1.487, 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.001199/0.001199, allocations: 95.06 kB / 291.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.8919/0.8919, allocations: 119.3 MB / 460.6 MB, free: 9.594 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 59.84 kB / 0.5405 GB, free: 41.88 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1748, allocations: 80.68 MB / 0.6192 GB, free: 11.39 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.002497/0.1774, allocations: 1.398 MB / 0.6206 GB, free: 9.977 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002199/0.1776, allocations: 51.86 kB / 0.6207 GB, free: 9.926 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.516e-05/0.1776, allocations: 0 / 0.6207 GB, free: 9.926 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 9.41e-05/0.1777, allocations: 7.922 kB / 0.6207 GB, free: 9.918 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.1779, allocations: 15.91 kB / 0.6207 GB, free: 9.902 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.178, allocations: 19.97 kB / 0.6207 GB, free: 9.883 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003205/0.1784, allocations: 323.4 kB / 0.621 GB, free: 9.566 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.257e-05/0.1784, allocations: 8 kB / 0.621 GB, free: 9.559 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.1786, allocations: 115.8 kB / 0.6211 GB, free: 9.445 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002965/0.1789, allocations: 167.6 kB / 0.6213 GB, free: 9.281 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 5.566e-05/0.1789, allocations: 16 kB / 0.6213 GB, free: 9.266 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.718e-05/0.179, allocations: 16 kB / 0.6213 GB, free: 9.25 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.1791, allocations: 115.7 kB / 0.6214 GB, free: 9.137 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.1792, allocations: 115.6 kB / 0.6215 GB, free: 9.023 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.1794, allocations: 203.5 kB / 0.6217 GB, free: 8.824 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1795, allocations: 0 / 0.6217 GB, free: 8.824 MB / 442.8 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1795, allocations: 4 kB / 0.6217 GB, free: 8.82 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.1795, allocations: 4 kB / 0.6217 GB, free: 8.816 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.001507/0.181, allocations: 0.671 MB / 0.6224 GB, free: 8.094 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.181, allocations: 12.03 kB / 0.6224 GB, free: 8.082 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.335e-05/0.1811, allocations: 24.75 kB / 0.6224 GB, free: 8.059 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.1814, allocations: 236 kB / 0.6227 GB, free: 7.789 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.1815, allocations: 20.38 kB / 0.6227 GB, free: 7.77 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.152e-05/0.1816, allocations: 68.09 kB / 0.6227 GB, free: 7.703 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004676/0.182, allocations: 273.8 kB / 0.623 GB, free: 7.43 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.1821, allocations: 4.188 kB / 0.623 GB, free: 7.426 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.1821, allocations: 7.938 kB / 0.623 GB, free: 7.418 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1821, allocations: 7.938 kB / 0.623 GB, free: 7.41 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002952/0.1824, allocations: 159.9 kB / 0.6232 GB, free: 7.254 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004833/0.1829, allocations: 377.2 kB / 0.6235 GB, free: 6.836 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003776/0.1867, allocations: 1.221 MB / 0.6247 GB, free: 5.605 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003173/0.187, allocations: 192.7 kB / 0.6249 GB, free: 5.414 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.109e-05/0.1871, allocations: 4 kB / 0.6249 GB, free: 5.41 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.1871, allocations: 42.56 kB / 0.625 GB, free: 5.359 MB / 442.8 MB Notification: Performance of pre-optimization done (n=42): time 1.753e-06/0.1871, allocations: 0 / 0.625 GB, free: 5.359 MB / 442.8 MB Notification: Performance of matching and sorting (n=42): time 0.001007/0.1881, allocations: 0.5679 MB / 0.6255 GB, free: 4.781 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.1882, allocations: 55.41 kB / 0.6256 GB, free: 4.715 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.709e-05/0.1883, allocations: 137.8 kB / 0.6257 GB, free: 4.57 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.1883, allocations: 41.7 kB / 0.6257 GB, free: 4.523 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.846e-05/0.1884, allocations: 93.14 kB / 0.6258 GB, free: 4.43 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.1886, allocations: 189.3 kB / 0.626 GB, free: 4.242 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.1887, allocations: 134.3 kB / 0.6261 GB, free: 4.102 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1889, allocations: 342.8 kB / 0.6265 GB, free: 3.758 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003469/0.1892, allocations: 217.2 kB / 0.6267 GB, free: 3.547 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/0.1896, allocations: 237.7 kB / 0.6269 GB, free: 3.312 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007077/0.1903, allocations: 497.1 kB / 0.6274 GB, free: 2.828 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.1903, allocations: 4 kB / 0.6274 GB, free: 2.824 MB / 442.8 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.000947/0.1913, allocations: 0.6219 MB / 0.628 GB, free: 2.195 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.1913, allocations: 7.938 kB / 0.628 GB, free: 2.188 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.1913, allocations: 4 kB / 0.628 GB, free: 2.184 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.1913, allocations: 4 kB / 0.628 GB, free: 2.18 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008821/0.1922, allocations: 231.7 kB / 0.6282 GB, free: 1.953 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.1922, allocations: 0 / 0.6282 GB, free: 1.953 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002665/0.1925, allocations: 59.5 kB / 0.6283 GB, free: 1.895 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/0.1926, allocations: 24 kB / 0.6283 GB, free: 1.871 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.0001453/0.1927, allocations: 145.7 kB / 0.6284 GB, free: 1.719 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.1928, allocations: 31.59 kB / 0.6285 GB, free: 1.688 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.1929, allocations: 45.97 kB / 0.6285 GB, free: 1.641 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.1929, allocations: 11.98 kB / 0.6285 GB, free: 1.629 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.1929, allocations: 384 / 0.6285 GB, free: 1.629 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.193, allocations: 0 / 0.6285 GB, free: 1.629 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00038/0.1933, allocations: 361.2 kB / 0.6289 GB, free: 1.227 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1934, allocations: 0 / 0.6289 GB, free: 1.227 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/0.1946, allocations: 231.7 kB / 0.6291 GB, free: 1 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.1946, allocations: 3.938 kB / 0.6291 GB, free: 0.9961 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.414e-05/0.1947, allocations: 27.97 kB / 0.6291 GB, free: 0.9688 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.1947, allocations: 0 / 0.6291 GB, free: 0.9688 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1947, allocations: 0 / 0.6291 GB, free: 0.9688 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008464/0.2032, allocations: 4.425 MB / 0.6334 GB, free: 12.4 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/0.2033, allocations: 96.77 kB / 0.6335 GB, free: 12.29 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.576e-05/0.2033, allocations: 19.98 kB / 0.6335 GB, free: 12.27 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.2036, allocations: 23.97 kB / 0.6336 GB, free: 12.25 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.233e-05/0.2037, allocations: 43.88 kB / 0.6336 GB, free: 12.2 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/0.2037, allocations: 12 kB / 0.6336 GB, free: 12.19 MB / 458.8 MB Notification: Performance of sorting global known variables: time 6.856e-05/0.2038, allocations: 91.27 kB / 0.6337 GB, free: 12.1 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2038, allocations: 0 / 0.6337 GB, free: 12.1 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0004814/0.2043, allocations: 152 kB / 0.6339 GB, free: 11.95 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.0001663/0.2045, allocations: 127.2 kB / 0.634 GB, free: 11.82 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.000779/0.2053, allocations: 495.3 kB / 0.6344 GB, free: 11.33 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2053, allocations: 0 / 0.6344 GB, free: 11.33 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003157/0.2056, allocations: 240.2 kB / 0.6347 GB, free: 11.1 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.2058, allocations: 21.03 kB / 0.6347 GB, free: 11.08 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00383/0.2097, allocations: 3.002 MB / 0.6376 GB, free: 8.023 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.2101, allocations: 0.7921 MB / 0.6384 GB, free: 7.211 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0004363/0.2105, allocations: 176.1 kB / 0.6386 GB, free: 7.043 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.2107, allocations: 35.38 kB / 0.6386 GB, free: 7.008 MB / 458.8 MB Notification: Performance of SimCode: time 4.61e-07/0.2107, allocations: 0 / 0.6386 GB, free: 7.008 MB / 458.8 MB Notification: Performance of Templates: time 0.009062/0.2198, allocations: 5.318 MB / 0.6438 GB, free: 1.723 MB / 458.8 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches