Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.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_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.10.|cur.1.|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.10..|der.vol.1..|der.vol.2..|der.vol.3..|der.vol.4..|der.vol.5..|time|time|vol.10.|vol.1.|vol.2.|vol.3.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10") translateModel(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.10.|cur.1.|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.10..|der.vol.1..|der.vol.2..|der.vol.3..|der.vol.4..|der.vol.5..|time|time|vol.10.|vol.1.|vol.2.|vol.3.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 112.2 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.001064/0.001065, 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.413/1.413, allocations: 222.9 MB / 241.7 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.022/1.022, allocations: 119.3 MB / 411.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 61.19 kB / 0.5724 GB, free: 38.84 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1601, allocations: 80.7 MB / 0.6512 GB, free: 11.56 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10): time 0.002303/0.1624, allocations: 1.339 MB / 0.6525 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002376/0.1627, allocations: 51.86 kB / 0.6525 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.08e-05/0.1628, allocations: 0 / 0.6525 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.1629, allocations: 7.922 kB / 0.6525 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 9.951e-05/0.163, allocations: 19.84 kB / 0.6526 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.1631, allocations: 19.97 kB / 0.6526 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002304/0.1634, allocations: 203.5 kB / 0.6528 GB, free: 9.918 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.407e-05/0.1635, allocations: 4 kB / 0.6528 GB, free: 9.914 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 8.027e-05/0.1635, allocations: 71.88 kB / 0.6528 GB, free: 9.844 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.1637, allocations: 99.73 kB / 0.6529 GB, free: 9.746 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 4.097e-05/0.1638, allocations: 8 kB / 0.6529 GB, free: 9.738 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 3.335e-05/0.1638, allocations: 8 kB / 0.6529 GB, free: 9.73 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.1639, allocations: 75.83 kB / 0.653 GB, free: 9.656 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 9.405e-05/0.164, allocations: 75.64 kB / 0.6531 GB, free: 9.582 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.1642, allocations: 139.6 kB / 0.6532 GB, free: 9.445 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1642, allocations: 4 kB / 0.6532 GB, free: 9.441 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1642, allocations: 0 / 0.6532 GB, free: 9.441 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.1642, allocations: 0 / 0.6532 GB, free: 9.441 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001104/0.1653, allocations: 0.5302 MB / 0.6537 GB, free: 8.859 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.1654, allocations: 15.88 kB / 0.6538 GB, free: 8.844 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.166e-05/0.1654, allocations: 24.75 kB / 0.6538 GB, free: 8.82 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.1657, allocations: 216 kB / 0.654 GB, free: 8.57 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.1657, allocations: 20.38 kB / 0.654 GB, free: 8.551 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.348e-05/0.1658, allocations: 28.28 kB / 0.654 GB, free: 8.523 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/0.1661, allocations: 186.6 kB / 0.6542 GB, free: 8.336 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.1661, allocations: 4.172 kB / 0.6542 GB, free: 8.332 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.1662, allocations: 11.88 kB / 0.6542 GB, free: 8.32 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.485e-06/0.1662, allocations: 4 kB / 0.6542 GB, free: 8.316 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/0.1664, allocations: 107.9 kB / 0.6543 GB, free: 8.211 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.1675, allocations: 0.5978 MB / 0.6549 GB, free: 7.562 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/0.1693, allocations: 0.5762 MB / 0.6555 GB, free: 6.977 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.1695, allocations: 100.8 kB / 0.6556 GB, free: 6.875 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.1695, allocations: 4 kB / 0.6556 GB, free: 6.871 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.1695, allocations: 34.94 kB / 0.6556 GB, free: 6.828 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=22): time 1.482e-06/0.1696, allocations: 0 / 0.6556 GB, free: 6.828 MB / 0.4983 GB Notification: Performance of matching and sorting (n=22): time 0.0005842/0.1701, allocations: 316.2 kB / 0.6559 GB, free: 6.516 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.1702, allocations: 55.41 kB / 0.656 GB, free: 6.449 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.354e-05/0.1703, allocations: 121.8 kB / 0.6561 GB, free: 6.32 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.1703, allocations: 33.7 kB / 0.6561 GB, free: 6.281 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.194e-05/0.1704, allocations: 100.6 kB / 0.6562 GB, free: 6.18 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 8.052e-05/0.1705, allocations: 106.5 kB / 0.6563 GB, free: 6.074 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.333e-05/0.1706, allocations: 73.69 kB / 0.6564 GB, free: 5.996 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.1707, allocations: 326.8 kB / 0.6567 GB, free: 5.668 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.1709, allocations: 107.9 kB / 0.6568 GB, free: 5.562 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.171, allocations: 115.7 kB / 0.6569 GB, free: 5.449 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.1714, allocations: 253.7 kB / 0.6572 GB, free: 5.199 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1714, allocations: 3.938 kB / 0.6572 GB, free: 5.195 MB / 0.4983 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004865/0.1719, allocations: 341.5 kB / 0.6575 GB, free: 4.855 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1719, allocations: 7.125 kB / 0.6575 GB, free: 4.852 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.172, allocations: 384 / 0.6575 GB, free: 4.852 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.172, allocations: 7.938 kB / 0.6575 GB, free: 4.844 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004772/0.1725, allocations: 115.9 kB / 0.6576 GB, free: 4.73 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.1725, allocations: 0 / 0.6576 GB, free: 4.73 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.1726, allocations: 31.67 kB / 0.6576 GB, free: 4.699 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.1727, allocations: 12 kB / 0.6577 GB, free: 4.688 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 (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 prepare postOptimizeDAE: time 0.0001502/0.1728, allocations: 142.6 kB / 0.6578 GB, free: 4.539 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/0.1729, allocations: 7.906 kB / 0.6578 GB, free: 4.531 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.366e-05/0.173, allocations: 24.84 kB / 0.6578 GB, free: 4.504 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.173, allocations: 8 kB / 0.6578 GB, free: 4.496 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.173, allocations: 0 / 0.6578 GB, free: 4.496 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.173, allocations: 0 / 0.6578 GB, free: 4.496 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/0.1733, allocations: 277.3 kB / 0.6581 GB, free: 4.176 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1733, allocations: 0 / 0.6581 GB, free: 4.176 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006441/0.174, allocations: 115.9 kB / 0.6582 GB, free: 4.062 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.174, allocations: 0 / 0.6582 GB, free: 4.062 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-05/0.174, allocations: 11.98 kB / 0.6582 GB, free: 4.051 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.174, allocations: 0 / 0.6582 GB, free: 4.051 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.174, allocations: 7.984 kB / 0.6582 GB, free: 4.043 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005896/0.1746, allocations: 434.3 kB / 0.6586 GB, free: 3.605 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 6.952e-05/0.1747, allocations: 88.95 kB / 0.6587 GB, free: 3.5 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.738e-05/0.1748, allocations: 15.98 kB / 0.6587 GB, free: 3.484 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.1749, allocations: 11.98 kB / 0.6587 GB, free: 3.473 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.175, allocations: 15.92 kB / 0.6588 GB, free: 3.457 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.175, allocations: 7.984 kB / 0.6588 GB, free: 3.449 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 6.418e-05/0.1751, allocations: 95.27 kB / 0.6589 GB, free: 3.355 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1751, allocations: 0 / 0.6589 GB, free: 3.355 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002871/0.1754, allocations: 67.91 kB / 0.6589 GB, free: 3.289 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (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],vol[1],vol[2],vol[3],vol[4],vol[5],vol[6],vol[7],vol[8],vol[9],vol[10],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 (22): * Single equations (assignments): 22 * 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.0001423/0.1755, allocations: 113.9 kB / 0.659 GB, free: 3.172 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0004469/0.176, allocations: 251.7 kB / 0.6593 GB, free: 2.926 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.176, allocations: 0 / 0.6593 GB, free: 2.926 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.1762, allocations: 111.9 kB / 0.6594 GB, free: 2.816 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.1765, allocations: 11.94 kB / 0.6594 GB, free: 2.805 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.1785, allocations: 1.41 MB / 0.6608 GB, free: 1.363 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/0.1789, allocations: 0.7477 MB / 0.6615 GB, free: 0.5859 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.0001691/0.1791, allocations: 77.41 kB / 0.6616 GB, free: 0.5117 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.829e-05/0.1792, allocations: 19.44 kB / 0.6616 GB, free: 0.4922 MB / 0.4983 GB Notification: Performance of SimCode: time 2.51e-07/0.1792, allocations: 4 kB / 0.6616 GB, free: 500 kB / 0.4983 GB Notification: Performance of Templates: time 0.005096/0.1843, allocations: 1.773 MB / 0.6633 GB, free: 14.75 MB / 0.5139 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches