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.001497/0.001497, allocations: 112 kB / 17.74 MB, free: 5.344 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.001564/0.001564, allocations: 188.8 kB / 18.67 MB, free: 4.422 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.378/1.378, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.104/1.104, allocations: 119.3 MB / 411.8 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 70.16 kB / 0.573 GB, free: 38.86 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1746, allocations: 80.69 MB / 0.6518 GB, free: 11.56 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.002523/0.1772, allocations: 1.354 MB / 0.6532 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002537/0.1774, allocations: 59.83 kB / 0.6532 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.961e-05/0.1775, allocations: 0 / 0.6532 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.1776, allocations: 7.938 kB / 0.6532 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 9.928e-05/0.1777, allocations: 23.83 kB / 0.6532 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.1779, allocations: 11.98 kB / 0.6533 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003815/0.1783, allocations: 363.3 kB / 0.6536 GB, free: 9.738 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.535e-05/0.1784, allocations: 4 kB / 0.6536 GB, free: 9.734 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.1785, allocations: 127.8 kB / 0.6537 GB, free: 9.609 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002967/0.1788, allocations: 171.6 kB / 0.6539 GB, free: 9.441 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 5.989e-05/0.1789, allocations: 20 kB / 0.6539 GB, free: 9.422 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 5.418e-05/0.1789, allocations: 20 kB / 0.6539 GB, free: 9.402 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.1791, allocations: 147.6 kB / 0.6541 GB, free: 9.258 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.1793, allocations: 147.4 kB / 0.6542 GB, free: 9.113 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002653/0.1795, allocations: 251.2 kB / 0.6545 GB, free: 8.867 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1795, allocations: 0 / 0.6545 GB, free: 8.867 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1796, allocations: 0 / 0.6545 GB, free: 8.867 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.1796, allocations: 0 / 0.6545 GB, free: 8.867 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.001769/0.1813, allocations: 0.7532 MB / 0.6552 GB, free: 8.059 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1814, allocations: 11.89 kB / 0.6552 GB, free: 8.047 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.321e-05/0.1815, allocations: 32.66 kB / 0.6552 GB, free: 8.016 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.1818, allocations: 236.1 kB / 0.6555 GB, free: 7.746 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.705e-05/0.1818, allocations: 40.88 kB / 0.6555 GB, free: 7.707 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.362e-05/0.1819, allocations: 60.19 kB / 0.6556 GB, free: 7.648 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005697/0.1825, allocations: 349.2 kB / 0.6559 GB, free: 7.305 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.1825, allocations: 192 / 0.6559 GB, free: 7.305 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.1826, allocations: 11.94 kB / 0.6559 GB, free: 7.293 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1826, allocations: 11.94 kB / 0.6559 GB, free: 7.281 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003602/0.1829, allocations: 206.1 kB / 0.6561 GB, free: 7.078 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002015/0.185, allocations: 1.002 MB / 0.6571 GB, free: 6.027 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003632/0.1886, allocations: 1.209 MB / 0.6583 GB, free: 4.809 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003025/0.1889, allocations: 192.8 kB / 0.6584 GB, free: 4.617 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.189, allocations: 7.984 kB / 0.6585 GB, free: 4.609 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.189, allocations: 42.44 kB / 0.6585 GB, free: 4.559 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=42): time 4.328e-06/0.189, allocations: 4 kB / 0.6585 GB, free: 4.555 MB / 0.4983 GB Notification: Performance of matching and sorting (n=42): time 0.001046/0.1901, allocations: 0.5706 MB / 0.6591 GB, free: 3.977 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.1901, allocations: 59.41 kB / 0.6591 GB, free: 3.906 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.1902, allocations: 125.8 kB / 0.6592 GB, free: 3.773 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.71e-05/0.1903, allocations: 41.7 kB / 0.6593 GB, free: 3.727 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.62e-05/0.1904, allocations: 117.2 kB / 0.6594 GB, free: 3.605 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.1905, allocations: 189.2 kB / 0.6596 GB, free: 3.418 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.1907, allocations: 126.3 kB / 0.6597 GB, free: 3.289 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.1909, allocations: 350.8 kB / 0.66 GB, free: 2.938 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003463/0.1912, allocations: 221.2 kB / 0.6602 GB, free: 2.723 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003417/0.1916, allocations: 229.8 kB / 0.6605 GB, free: 2.496 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007141/0.1923, allocations: 0.497 MB / 0.6609 GB, free: 1.996 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.1923, allocations: 0 / 0.6609 GB, free: 1.996 MB / 0.4983 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008925/0.1932, allocations: 0.6295 MB / 0.6616 GB, free: 1.359 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1932, allocations: 4 kB / 0.6616 GB, free: 1.355 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.1933, allocations: 0 / 0.6616 GB, free: 1.355 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.1933, allocations: 4 kB / 0.6616 GB, free: 1.352 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008874/0.1942, allocations: 219.8 kB / 0.6618 GB, free: 1.137 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.1942, allocations: 4 kB / 0.6618 GB, free: 1.133 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/0.1945, allocations: 63.5 kB / 0.6618 GB, free: 1.07 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/0.1945, allocations: 16 kB / 0.6618 GB, free: 1.055 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.0001769/0.1947, allocations: 162.6 kB / 0.662 GB, free: 0.8867 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.284e-05/0.1948, allocations: 23.75 kB / 0.662 GB, free: 0.8633 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/0.1949, allocations: 53.95 kB / 0.6621 GB, free: 0.8086 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.1949, allocations: 8 kB / 0.6621 GB, free: 0.8008 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.195, allocations: 0 / 0.6621 GB, free: 0.8008 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.195, allocations: 0 / 0.6621 GB, free: 0.8008 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004965/0.1955, allocations: 385.1 kB / 0.6625 GB, free: 384 kB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.1955, allocations: 11.88 kB / 0.6625 GB, free: 372 kB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/0.1967, allocations: 223.8 kB / 0.6627 GB, free: 148 kB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.1967, allocations: 4 kB / 0.6627 GB, free: 144 kB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.9e-05/0.1967, allocations: 24.34 kB / 0.6627 GB, free: 120 kB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1967, allocations: 4 kB / 0.6627 GB, free: 116 kB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1967, allocations: 0 / 0.6627 GB, free: 116 kB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009871/0.1977, allocations: 0.7062 MB / 0.6634 GB, free: 15.39 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.1978, allocations: 104.7 kB / 0.6635 GB, free: 15.27 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.858e-05/0.1979, allocations: 23.98 kB / 0.6635 GB, free: 15.25 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/0.1982, allocations: 27.97 kB / 0.6635 GB, free: 15.22 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.325e-05/0.1983, allocations: 23.95 kB / 0.6636 GB, free: 15.2 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.1983, allocations: 12 kB / 0.6636 GB, free: 15.18 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 6.052e-05/0.1984, allocations: 95.27 kB / 0.6637 GB, free: 15.09 MB / 0.5139 GB Notification: Performance of sort global known variables: time 2.11e-07/0.1984, allocations: 0 / 0.6637 GB, free: 15.09 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003699/0.1987, allocations: 119.8 kB / 0.6638 GB, free: 14.97 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.0001525/0.1989, allocations: 127.7 kB / 0.6639 GB, free: 14.84 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0007364/0.1996, allocations: 499.3 kB / 0.6644 GB, free: 14.36 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1997, allocations: 4 kB / 0.6644 GB, free: 14.35 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003177/0.2, allocations: 227.7 kB / 0.6646 GB, free: 14.13 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.2003, allocations: 26.83 kB / 0.6646 GB, free: 14.11 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00334/0.2036, allocations: 2.723 MB / 0.6673 GB, free: 11.34 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.204, allocations: 0.7998 MB / 0.6681 GB, free: 10.52 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.2042, allocations: 35.38 kB / 0.6681 GB, free: 10.48 MB / 0.5139 GB Notification: Performance of SimCode: time 5.61e-07/0.2042, allocations: 4 kB / 0.6681 GB, free: 10.48 MB / 0.5139 GB Notification: Performance of Templates: time 0.006708/0.2109, allocations: 4.498 MB / 0.6725 GB, free: 5.992 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