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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 116.5 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.001844/0.001844, allocations: 190.2 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.337/1.337, 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.058/1.058, allocations: 119.3 MB / 411.8 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 66.34 kB / 0.573 GB, free: 38.84 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1509, allocations: 80.69 MB / 0.6518 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40): time 0.002239/0.1532, allocations: 1.354 MB / 0.6532 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002241/0.1535, allocations: 55.8 kB / 0.6532 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.471e-05/0.1535, allocations: 0 / 0.6532 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.6e-05/0.1536, allocations: 11.92 kB / 0.6532 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 8.414e-05/0.1537, allocations: 19.91 kB / 0.6532 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001429/0.1539, allocations: 23.84 kB / 0.6533 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005601/0.1544, allocations: 0.6553 MB / 0.6539 GB, free: 9.461 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.538e-05/0.1545, allocations: 8 kB / 0.6539 GB, free: 9.453 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.1547, allocations: 239.7 kB / 0.6541 GB, free: 9.219 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004721/0.1552, allocations: 334 kB / 0.6545 GB, free: 8.891 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 8.718e-05/0.1553, allocations: 32 kB / 0.6545 GB, free: 8.859 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 8.912e-05/0.1554, allocations: 36 kB / 0.6545 GB, free: 8.824 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002176/0.1556, allocations: 280 kB / 0.6548 GB, free: 8.551 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002665/0.1559, allocations: 282.9 kB / 0.6551 GB, free: 8.273 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004028/0.1563, allocations: 482.4 kB / 0.6555 GB, free: 7.801 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1563, allocations: 4 kB / 0.6555 GB, free: 7.797 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.734e-06/0.1563, allocations: 0 / 0.6555 GB, free: 7.797 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.1563, allocations: 0 / 0.6555 GB, free: 7.797 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002939/0.1592, allocations: 1.187 MB / 0.6567 GB, free: 6.555 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.1593, allocations: 15.89 kB / 0.6567 GB, free: 6.539 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.1594, allocations: 56.47 kB / 0.6568 GB, free: 6.484 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004239/0.1598, allocations: 323.6 kB / 0.6571 GB, free: 6.129 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.562e-05/0.1599, allocations: 53.38 kB / 0.6571 GB, free: 6.078 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.1601, allocations: 116.1 kB / 0.6572 GB, free: 5.965 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.1611, allocations: 0.6509 MB / 0.6579 GB, free: 5.309 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.1611, allocations: 192 / 0.6579 GB, free: 5.309 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.987e-05/0.1612, allocations: 23.94 kB / 0.6579 GB, free: 5.285 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.1612, allocations: 12 kB / 0.6579 GB, free: 5.273 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006473/0.1619, allocations: 395.7 kB / 0.6583 GB, free: 4.887 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003644/0.1655, allocations: 1.793 MB / 0.66 GB, free: 3.043 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007621/0.1732, allocations: 2.515 MB / 0.6625 GB, free: 0.5156 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005869/0.1738, allocations: 366.6 kB / 0.6628 GB, free: 160 kB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 6.112e-05/0.1739, allocations: 12.66 kB / 0.6628 GB, free: 144 kB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.1739, allocations: 47.16 kB / 0.6629 GB, free: 88 kB / 0.4983 GB Notification: Performance of pre-optimization done (n=82): time 2.765e-06/0.1739, allocations: 0 / 0.6629 GB, free: 88 kB / 0.4983 GB Notification: Performance of matching and sorting (n=82): time 0.001818/0.1757, allocations: 1.101 MB / 0.664 GB, free: 14.98 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.1758, allocations: 60.06 kB / 0.664 GB, free: 14.9 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.1759, allocations: 149.7 kB / 0.6642 GB, free: 14.75 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 8.815e-05/0.176, allocations: 53.7 kB / 0.6642 GB, free: 14.69 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 8.761e-05/0.1761, allocations: 149.8 kB / 0.6644 GB, free: 14.54 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002907/0.1764, allocations: 382.4 kB / 0.6647 GB, free: 14.16 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003179/0.1767, allocations: 234.9 kB / 0.6649 GB, free: 13.93 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1769, allocations: 362.8 kB / 0.6653 GB, free: 13.56 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006797/0.1776, allocations: 450.3 kB / 0.6657 GB, free: 13.12 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006754/0.1783, allocations: 463.5 kB / 0.6662 GB, free: 12.67 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.1797, allocations: 0.9805 MB / 0.6671 GB, free: 11.69 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.1797, allocations: 0 / 0.6671 GB, free: 11.69 MB / 0.5139 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.001828/0.1815, allocations: 1.207 MB / 0.6683 GB, free: 10.48 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.1815, allocations: 4 kB / 0.6683 GB, free: 10.47 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.1816, allocations: 4 kB / 0.6683 GB, free: 10.47 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.035e-05/0.1816, allocations: 11.94 kB / 0.6683 GB, free: 10.46 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001748/0.1833, allocations: 447.5 kB / 0.6687 GB, free: 10.02 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.82e-05/0.1834, allocations: 4 kB / 0.6688 GB, free: 10.02 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005649/0.184, allocations: 119 kB / 0.6689 GB, free: 9.898 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.375e-05/0.184, allocations: 36 kB / 0.6689 GB, free: 9.863 MB / 0.5139 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 (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.0002834/0.1843, allocations: 214.4 kB / 0.6691 GB, free: 9.645 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.1845, allocations: 39.56 kB / 0.6691 GB, free: 9.605 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.1847, allocations: 91.39 kB / 0.6692 GB, free: 9.512 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.1847, allocations: 8 kB / 0.6692 GB, free: 9.504 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-05/0.1848, allocations: 0 / 0.6692 GB, free: 9.504 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.1848, allocations: 7.922 kB / 0.6692 GB, free: 9.496 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007834/0.1856, allocations: 0.6068 MB / 0.6698 GB, free: 8.836 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.1856, allocations: 0 / 0.6698 GB, free: 8.836 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002383/0.188, allocations: 451.5 kB / 0.6703 GB, free: 8.395 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/0.188, allocations: 4 kB / 0.6703 GB, free: 8.391 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/0.1881, allocations: 55.94 kB / 0.6703 GB, free: 8.336 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.1881, allocations: 4 kB / 0.6703 GB, free: 8.332 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1881, allocations: 0 / 0.6703 GB, free: 8.332 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/0.19, allocations: 1.269 MB / 0.6716 GB, free: 7.047 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 9.212e-05/0.1901, allocations: 116.6 kB / 0.6717 GB, free: 6.914 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.1902, allocations: 47.95 kB / 0.6717 GB, free: 6.867 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000519/0.1907, allocations: 47.94 kB / 0.6718 GB, free: 6.82 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.1909, allocations: 56.58 kB / 0.6718 GB, free: 6.766 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.261e-05/0.1909, allocations: 23.98 kB / 0.6718 GB, free: 6.742 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 6.787e-05/0.191, allocations: 95.59 kB / 0.6719 GB, free: 6.648 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.2e-07/0.191, allocations: 0 / 0.6719 GB, free: 6.648 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0005328/0.1915, allocations: 235.7 kB / 0.6722 GB, free: 6.418 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 80 (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],cur_x[20],cur_x[21],cur_x[22],cur_x[23],cur_x[24],cur_x[25],cur_x[26],cur_x[27],cur_x[28],cur_x[29],cur_x[30],cur_x[31],cur_x[32],cur_x[33],cur_x[34],cur_x[35],cur_x[36],cur_x[37],cur_x[38],cur_x[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.0002174/0.1918, allocations: 171.5 kB / 0.6723 GB, free: 6.242 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001547/0.1933, allocations: 0.9696 MB / 0.6733 GB, free: 5.273 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1933, allocations: 0 / 0.6733 GB, free: 5.273 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.000612/0.1939, allocations: 451.4 kB / 0.6737 GB, free: 4.832 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.1943, allocations: 32 kB / 0.6737 GB, free: 4.801 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006768/0.2011, allocations: 5.332 MB / 0.6789 GB, free: 15.43 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005626/0.2017, allocations: 0.9151 MB / 0.6798 GB, free: 14.49 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003761/0.2021, allocations: 55.38 kB / 0.6799 GB, free: 14.44 MB / 0.5295 GB Notification: Performance of SimCode: time 6.31e-07/0.2021, allocations: 3.938 kB / 0.6799 GB, free: 14.43 MB / 0.5295 GB Notification: Performance of Templates: time 0.01557/0.2177, allocations: 8.666 MB / 0.6884 GB, free: 5.789 MB / 0.5295 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches