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.00138/0.00138, allocations: 113.1 kB / 17.06 MB, free: 5.973 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.001469/0.001469, allocations: 200 kB / 18.01 MB, free: 5.055 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.442/1.442, allocations: 222.9 MB / 241.7 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.03/1.03, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 65.86 kB / 0.5724 GB, free: 38.85 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1625, allocations: 80.69 MB / 0.6512 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.002379/0.1649, allocations: 1.358 MB / 0.6525 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002412/0.1652, allocations: 55.84 kB / 0.6526 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.203e-05/0.1653, allocations: 0 / 0.6526 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.1654, allocations: 3.938 kB / 0.6526 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 9.606e-05/0.1655, allocations: 27.83 kB / 0.6526 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001538/0.1656, allocations: 15.98 kB / 0.6526 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003418/0.166, allocations: 363.3 kB / 0.6529 GB, free: 9.75 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.666e-05/0.1661, allocations: 4 kB / 0.6529 GB, free: 9.746 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.1662, allocations: 127.8 kB / 0.6531 GB, free: 9.621 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000289/0.1665, allocations: 179.6 kB / 0.6532 GB, free: 9.445 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 5.408e-05/0.1665, allocations: 16 kB / 0.6533 GB, free: 9.43 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 5.459e-05/0.1666, allocations: 20 kB / 0.6533 GB, free: 9.41 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.1667, allocations: 143.7 kB / 0.6534 GB, free: 9.27 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.1669, allocations: 143.4 kB / 0.6535 GB, free: 9.129 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.1672, allocations: 255.2 kB / 0.6538 GB, free: 8.879 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1672, allocations: 4 kB / 0.6538 GB, free: 8.875 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.104e-06/0.1672, allocations: 0 / 0.6538 GB, free: 8.875 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.1672, allocations: 0 / 0.6538 GB, free: 8.875 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.001777/0.169, allocations: 0.7493 MB / 0.6545 GB, free: 8.07 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.169, allocations: 15.83 kB / 0.6545 GB, free: 8.055 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.425e-05/0.1691, allocations: 32.66 kB / 0.6546 GB, free: 8.023 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.1694, allocations: 248.1 kB / 0.6548 GB, free: 7.742 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.1694, allocations: 24.94 kB / 0.6548 GB, free: 7.719 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.77e-05/0.1695, allocations: 64.17 kB / 0.6549 GB, free: 7.656 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005559/0.1701, allocations: 345.2 kB / 0.6552 GB, free: 7.316 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.1701, allocations: 4.188 kB / 0.6552 GB, free: 7.312 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.005e-05/0.1702, allocations: 19.88 kB / 0.6552 GB, free: 7.293 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1702, allocations: 4 kB / 0.6552 GB, free: 7.289 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003538/0.1705, allocations: 210.1 kB / 0.6555 GB, free: 7.082 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.1726, allocations: 1.002 MB / 0.6564 GB, free: 6.031 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003681/0.1762, allocations: 1.209 MB / 0.6576 GB, free: 4.812 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002805/0.1765, allocations: 188.8 kB / 0.6578 GB, free: 4.625 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.1766, allocations: 7.984 kB / 0.6578 GB, free: 4.617 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.1766, allocations: 42.5 kB / 0.6578 GB, free: 4.566 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=42): time 1.973e-06/0.1766, allocations: 0 / 0.6578 GB, free: 4.566 MB / 0.4983 GB Notification: Performance of matching and sorting (n=42): time 0.0009919/0.1776, allocations: 0.5706 MB / 0.6584 GB, free: 3.988 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.1777, allocations: 55.41 kB / 0.6584 GB, free: 3.922 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.827e-05/0.1778, allocations: 133.8 kB / 0.6586 GB, free: 3.781 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.1778, allocations: 33.7 kB / 0.6586 GB, free: 3.742 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 6.932e-05/0.1779, allocations: 121.2 kB / 0.6587 GB, free: 3.617 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.178, allocations: 197.2 kB / 0.6589 GB, free: 3.422 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.1782, allocations: 122.3 kB / 0.659 GB, free: 3.297 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1783, allocations: 342.8 kB / 0.6594 GB, free: 2.953 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/0.1787, allocations: 221.2 kB / 0.6596 GB, free: 2.738 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/0.179, allocations: 229.8 kB / 0.6598 GB, free: 2.512 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006939/0.1797, allocations: 0.5047 MB / 0.6603 GB, free: 2.004 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.1797, allocations: 4 kB / 0.6603 GB, free: 2 MB / 0.4983 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008852/0.1806, allocations: 0.6183 MB / 0.6609 GB, free: 1.375 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.1806, allocations: 8 kB / 0.6609 GB, free: 1.367 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1806, allocations: 0 / 0.6609 GB, free: 1.367 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.1807, allocations: 4 kB / 0.6609 GB, free: 1.363 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008737/0.1815, allocations: 227.7 kB / 0.6611 GB, free: 1.141 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/0.1816, allocations: 4 kB / 0.6611 GB, free: 1.137 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.1818, allocations: 59.5 kB / 0.6612 GB, free: 1.078 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/0.1819, allocations: 20 kB / 0.6612 GB, free: 1.059 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.0001639/0.1821, allocations: 158.6 kB / 0.6613 GB, free: 0.8945 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.513e-05/0.1821, allocations: 23.75 kB / 0.6614 GB, free: 0.8711 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/0.1823, allocations: 49.95 kB / 0.6614 GB, free: 0.8203 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.1823, allocations: 8 kB / 0.6614 GB, free: 0.8125 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.1823, allocations: 0 / 0.6614 GB, free: 0.8125 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.1823, allocations: 0 / 0.6614 GB, free: 0.8125 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004761/0.1828, allocations: 393 kB / 0.6618 GB, free: 388 kB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.1828, allocations: 3.938 kB / 0.6618 GB, free: 384 kB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.184, allocations: 223.8 kB / 0.662 GB, free: 160 kB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.1841, allocations: 0 / 0.662 GB, free: 160 kB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.296e-05/0.1841, allocations: 27.97 kB / 0.662 GB, free: 132 kB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.1841, allocations: 4 kB / 0.662 GB, free: 128 kB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1841, allocations: 3.938 kB / 0.662 GB, free: 124 kB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.1852, allocations: 0.7063 MB / 0.6627 GB, free: 15.4 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 7.001e-05/0.1852, allocations: 100.8 kB / 0.6628 GB, free: 15.28 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.003e-05/0.1853, allocations: 23.97 kB / 0.6629 GB, free: 15.26 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.1856, allocations: 23.98 kB / 0.6629 GB, free: 15.23 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.688e-05/0.1857, allocations: 27.95 kB / 0.6629 GB, free: 15.21 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.1857, allocations: 12 kB / 0.6629 GB, free: 15.2 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 5.991e-05/0.1858, allocations: 91.27 kB / 0.663 GB, free: 15.11 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1858, allocations: 0 / 0.663 GB, free: 15.11 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003617/0.1862, allocations: 119.8 kB / 0.6631 GB, free: 14.99 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.0001582/0.1863, allocations: 127.7 kB / 0.6632 GB, free: 14.86 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0007653/0.1871, allocations: 499.2 kB / 0.6637 GB, free: 14.37 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1871, allocations: 0 / 0.6637 GB, free: 14.37 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003208/0.1874, allocations: 223.8 kB / 0.6639 GB, free: 14.15 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.1878, allocations: 19.94 kB / 0.664 GB, free: 14.13 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003314/0.1911, allocations: 2.698 MB / 0.6666 GB, free: 11.4 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.1915, allocations: 0.804 MB / 0.6674 GB, free: 10.57 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0003902/0.1919, allocations: 158.8 kB / 0.6675 GB, free: 10.41 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.192, allocations: 27.44 kB / 0.6675 GB, free: 10.39 MB / 0.5139 GB Notification: Performance of SimCode: time 1.393e-06/0.192, allocations: 3.938 kB / 0.6676 GB, free: 10.38 MB / 0.5139 GB Notification: Performance of Templates: time 0.007237/0.1993, allocations: 3.178 MB / 0.6707 GB, free: 7.246 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20_res.mat","/var/lib/jenkins/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