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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 108.1 kB / 17.74 MB, free: 5.359 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.001305/0.001305, allocations: 192.8 kB / 18.67 MB, free: 4.434 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.551/1.551, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.13/1.13, allocations: 119.3 MB / 411.8 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 57.31 kB / 0.573 GB, free: 39 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1722, allocations: 80.71 MB / 0.6518 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.002672/0.175, allocations: 1.35 MB / 0.6532 GB, free: 10.32 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002615/0.1753, allocations: 51.8 kB / 0.6532 GB, free: 10.27 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.95e-05/0.1753, allocations: 0 / 0.6532 GB, free: 10.27 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.1755, allocations: 11.92 kB / 0.6532 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 9.785e-05/0.1756, allocations: 15.91 kB / 0.6532 GB, free: 10.24 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.1757, allocations: 23.89 kB / 0.6533 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003591/0.1761, allocations: 355.4 kB / 0.6536 GB, free: 9.867 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.354e-05/0.1762, allocations: 11.98 kB / 0.6536 GB, free: 9.855 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.1763, allocations: 123.8 kB / 0.6537 GB, free: 9.734 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.1766, allocations: 179.6 kB / 0.6539 GB, free: 9.559 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 5.704e-05/0.1767, allocations: 20 kB / 0.6539 GB, free: 9.539 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 5.235e-05/0.1767, allocations: 20 kB / 0.6539 GB, free: 9.52 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.1769, allocations: 135.7 kB / 0.6541 GB, free: 9.387 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.177, allocations: 151.3 kB / 0.6542 GB, free: 9.238 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003602/0.1774, allocations: 247.2 kB / 0.6545 GB, free: 8.996 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 1.206e-05/0.1774, allocations: 0 / 0.6545 GB, free: 8.996 MB / 0.4983 GB Notification: Performance of FrontEnd: time 4.148e-06/0.1775, allocations: 0 / 0.6545 GB, free: 8.996 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 2.017e-05/0.1775, allocations: 4 kB / 0.6545 GB, free: 8.992 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001719/0.1792, allocations: 0.7532 MB / 0.6552 GB, free: 8.184 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.1793, allocations: 11.89 kB / 0.6552 GB, free: 8.172 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.777e-05/0.1794, allocations: 32.66 kB / 0.6552 GB, free: 8.141 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.1797, allocations: 240.1 kB / 0.6555 GB, free: 7.867 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.1797, allocations: 28.94 kB / 0.6555 GB, free: 7.84 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.565e-05/0.1798, allocations: 60.19 kB / 0.6555 GB, free: 7.781 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005546/0.1804, allocations: 349.2 kB / 0.6559 GB, free: 7.438 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.1804, allocations: 192 / 0.6559 GB, free: 7.438 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.4e-05/0.1804, allocations: 15.88 kB / 0.6559 GB, free: 7.422 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.1804, allocations: 12 kB / 0.6559 GB, free: 7.41 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003658/0.1808, allocations: 206.1 kB / 0.6561 GB, free: 7.207 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/0.1829, allocations: 1.002 MB / 0.6571 GB, free: 6.156 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003559/0.1865, allocations: 1.209 MB / 0.6583 GB, free: 4.938 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003221/0.1868, allocations: 196.8 kB / 0.6585 GB, free: 4.742 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 7.675e-05/0.1869, allocations: 4 kB / 0.6585 GB, free: 4.738 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.925e-05/0.187, allocations: 42.44 kB / 0.6585 GB, free: 4.688 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=42): time 4.388e-06/0.187, allocations: 0 / 0.6585 GB, free: 4.688 MB / 0.4983 GB Notification: Performance of matching and sorting (n=42): time 0.001085/0.1881, allocations: 0.5706 MB / 0.6591 GB, free: 4.109 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.1882, allocations: 59.41 kB / 0.6591 GB, free: 4.039 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.1883, allocations: 125.8 kB / 0.6592 GB, free: 3.906 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.339e-05/0.1883, allocations: 41.7 kB / 0.6593 GB, free: 3.859 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 6.692e-05/0.1884, allocations: 117.2 kB / 0.6594 GB, free: 3.738 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.1885, allocations: 193.2 kB / 0.6596 GB, free: 3.547 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.1887, allocations: 126.3 kB / 0.6597 GB, free: 3.418 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1889, allocations: 342.8 kB / 0.66 GB, free: 3.074 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000331/0.1892, allocations: 225.1 kB / 0.6602 GB, free: 2.855 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003259/0.1895, allocations: 229.8 kB / 0.6604 GB, free: 2.629 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000674/0.1902, allocations: 0.497 MB / 0.6609 GB, free: 2.129 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1902, allocations: 0 / 0.6609 GB, free: 2.129 MB / 0.4983 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008739/0.1911, allocations: 0.6296 MB / 0.6615 GB, free: 1.492 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1911, allocations: 4 kB / 0.6616 GB, free: 1.488 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.1911, allocations: 3.984 kB / 0.6616 GB, free: 1.484 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.1912, allocations: 4 kB / 0.6616 GB, free: 1.48 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008837/0.192, allocations: 219.8 kB / 0.6618 GB, free: 1.266 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.169e-05/0.1921, allocations: 11.98 kB / 0.6618 GB, free: 1.254 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002938/0.1924, allocations: 63.5 kB / 0.6618 GB, free: 1.191 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/0.1925, allocations: 16 kB / 0.6619 GB, free: 1.176 MB / 0.4983 GB 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.0001675/0.1926, allocations: 158.6 kB / 0.662 GB, free: 1.012 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-05/0.1927, allocations: 23.75 kB / 0.662 GB, free: 0.9883 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.1929, allocations: 49.97 kB / 0.6621 GB, free: 0.9375 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/0.1929, allocations: 8 kB / 0.6621 GB, free: 0.9297 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.1929, allocations: 0 / 0.6621 GB, free: 0.9297 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.1929, allocations: 7.984 kB / 0.6621 GB, free: 0.9219 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004553/0.1934, allocations: 389 kB / 0.6625 GB, free: 0.4922 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.1934, allocations: 7.938 kB / 0.6625 GB, free: 496 kB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/0.1945, allocations: 223.8 kB / 0.6627 GB, free: 272 kB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.1946, allocations: 4 kB / 0.6627 GB, free: 268 kB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.061e-05/0.1946, allocations: 24.34 kB / 0.6627 GB, free: 244 kB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.1946, allocations: 0 / 0.6627 GB, free: 244 kB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1946, allocations: 0 / 0.6627 GB, free: 244 kB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009648/0.1956, allocations: 0.7024 MB / 0.6634 GB, free: 15.52 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/0.1957, allocations: 112.7 kB / 0.6635 GB, free: 15.39 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.1e-05/0.1957, allocations: 19.98 kB / 0.6635 GB, free: 15.37 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/0.196, allocations: 19.97 kB / 0.6635 GB, free: 15.35 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.056e-05/0.1961, allocations: 27.95 kB / 0.6636 GB, free: 15.32 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.1961, allocations: 16 kB / 0.6636 GB, free: 15.3 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 5.846e-05/0.1962, allocations: 95.27 kB / 0.6637 GB, free: 15.21 MB / 0.5139 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1962, allocations: 0 / 0.6637 GB, free: 15.21 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003522/0.1965, allocations: 119.8 kB / 0.6638 GB, free: 15.09 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (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],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.0001553/0.1967, allocations: 127.7 kB / 0.6639 GB, free: 14.96 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0008815/0.1976, allocations: 499.3 kB / 0.6644 GB, free: 14.48 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1976, allocations: 0 / 0.6644 GB, free: 14.48 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002959/0.1979, allocations: 223.8 kB / 0.6646 GB, free: 14.26 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.1982, allocations: 27.11 kB / 0.6646 GB, free: 14.23 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/0.2015, allocations: 2.727 MB / 0.6673 GB, free: 11.47 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005404/0.2021, allocations: 0.8037 MB / 0.6681 GB, free: 10.64 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.2022, allocations: 27.44 kB / 0.6681 GB, free: 10.61 MB / 0.5139 GB Notification: Performance of SimCode: time 3.9e-07/0.2023, allocations: 0 / 0.6681 GB, free: 10.61 MB / 0.5139 GB Notification: Performance of Templates: time 0.006627/0.2089, allocations: 4.549 MB / 0.6725 GB, free: 6.074 MB / 0.5139 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches