Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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_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_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.001269/0.001275, allocations: 112.5 kB / 17.07 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.00118/0.00118, allocations: 200 kB / 18 MB, free: 5.059 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.356/1.356, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9222/0.9222, allocations: 119.3 MB / 411.2 MB, free: 9.445 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 66.66 kB / 0.5724 GB, free: 38.87 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1538, 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.002469/0.1564, allocations: 1.323 MB / 0.6525 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002526/0.1566, allocations: 63.78 kB / 0.6525 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.049e-05/0.1567, allocations: 0 / 0.6525 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.1568, allocations: 7.922 kB / 0.6525 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 9.649e-05/0.1569, allocations: 15.86 kB / 0.6525 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.1571, allocations: 23.89 kB / 0.6526 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.1573, allocations: 207.5 kB / 0.6528 GB, free: 9.914 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.246e-05/0.1574, allocations: 0 / 0.6528 GB, free: 9.914 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 7.708e-05/0.1575, allocations: 75.89 kB / 0.6528 GB, free: 9.84 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.1577, allocations: 95.78 kB / 0.6529 GB, free: 9.746 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.407e-05/0.1577, allocations: 8 kB / 0.6529 GB, free: 9.738 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 3.464e-05/0.1578, allocations: 12 kB / 0.6529 GB, free: 9.727 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 8.422e-05/0.1578, allocations: 75.77 kB / 0.653 GB, free: 9.652 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 9.043e-05/0.1579, allocations: 83.62 kB / 0.6531 GB, free: 9.57 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.1581, allocations: 131.6 kB / 0.6532 GB, free: 9.441 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1581, allocations: 0 / 0.6532 GB, free: 9.441 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1581, allocations: 0 / 0.6532 GB, free: 9.441 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.1581, 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.001005/0.1591, allocations: 0.5302 MB / 0.6537 GB, free: 8.859 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.1592, allocations: 15.89 kB / 0.6538 GB, free: 8.844 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.1592, allocations: 16.75 kB / 0.6538 GB, free: 8.828 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.1594, allocations: 224.1 kB / 0.654 GB, free: 8.57 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.1595, allocations: 12.38 kB / 0.654 GB, free: 8.559 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.295e-05/0.1595, allocations: 32.28 kB / 0.654 GB, free: 8.527 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/0.1598, allocations: 186.6 kB / 0.6542 GB, free: 8.34 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.1599, allocations: 4.172 kB / 0.6542 GB, free: 8.336 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.1599, allocations: 15.94 kB / 0.6542 GB, free: 8.32 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1599, allocations: 0 / 0.6542 GB, free: 8.32 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002004/0.1601, allocations: 111.8 kB / 0.6543 GB, free: 8.211 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.1612, allocations: 0.6057 MB / 0.6549 GB, free: 7.555 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.1629, allocations: 0.5723 MB / 0.6555 GB, free: 6.973 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.163, allocations: 96.81 kB / 0.6556 GB, free: 6.875 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.1631, allocations: 4 kB / 0.6556 GB, free: 6.871 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.1631, allocations: 30.94 kB / 0.6556 GB, free: 6.832 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=22): time 1.112e-06/0.1631, allocations: 0 / 0.6556 GB, free: 6.832 MB / 0.4983 GB Notification: Performance of matching and sorting (n=22): time 0.0005459/0.1636, allocations: 312.5 kB / 0.6559 GB, free: 6.523 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.1637, allocations: 51.41 kB / 0.656 GB, free: 6.461 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.915e-05/0.1638, allocations: 141.7 kB / 0.6561 GB, free: 6.312 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.1638, allocations: 29.7 kB / 0.6561 GB, free: 6.277 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.1639, allocations: 104.6 kB / 0.6562 GB, free: 6.172 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 7.281e-05/0.1639, allocations: 98.56 kB / 0.6563 GB, free: 6.074 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.581e-05/0.164, allocations: 69.69 kB / 0.6564 GB, free: 6 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1642, allocations: 326.8 kB / 0.6567 GB, free: 5.672 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.1643, allocations: 107.9 kB / 0.6568 GB, free: 5.566 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.1645, allocations: 123.7 kB / 0.6569 GB, free: 5.445 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/0.1648, allocations: 253.7 kB / 0.6572 GB, free: 5.195 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.1649, allocations: 7.938 kB / 0.6572 GB, free: 5.188 MB / 0.4983 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004337/0.1653, allocations: 333.6 kB / 0.6575 GB, free: 4.855 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1653, allocations: 4 kB / 0.6575 GB, free: 4.852 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1653, allocations: 0 / 0.6575 GB, free: 4.852 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.1653, allocations: 7.984 kB / 0.6575 GB, free: 4.844 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004354/0.1658, allocations: 107.9 kB / 0.6576 GB, free: 4.738 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1658, allocations: 3.938 kB / 0.6576 GB, free: 4.734 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.1659, allocations: 31.73 kB / 0.6576 GB, free: 4.703 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.166, allocations: 12 kB / 0.6576 GB, free: 4.691 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.000104/0.1661, allocations: 142.6 kB / 0.6578 GB, free: 4.543 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.1661, allocations: 11.91 kB / 0.6578 GB, free: 4.531 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.379e-05/0.1662, allocations: 24.84 kB / 0.6578 GB, free: 4.504 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1662, allocations: 0 / 0.6578 GB, free: 4.504 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1662, allocations: 4 kB / 0.6578 GB, free: 4.5 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.1662, allocations: 3.984 kB / 0.6578 GB, free: 4.496 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.1665, allocations: 277.3 kB / 0.6581 GB, free: 4.176 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1665, allocations: 0 / 0.6581 GB, free: 4.176 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005925/0.1671, allocations: 119.9 kB / 0.6582 GB, free: 4.059 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.1671, allocations: 4 kB / 0.6582 GB, free: 4.055 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.1672, allocations: 7.984 kB / 0.6582 GB, free: 4.047 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1672, allocations: 3.984 kB / 0.6582 GB, free: 4.043 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1672, allocations: 4 kB / 0.6582 GB, free: 4.039 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005279/0.1677, allocations: 430.5 kB / 0.6586 GB, free: 3.605 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-05/0.1678, allocations: 96.94 kB / 0.6587 GB, free: 3.492 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/0.1678, allocations: 11.98 kB / 0.6587 GB, free: 3.48 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.168, allocations: 12 kB / 0.6587 GB, free: 3.469 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.168, allocations: 15.97 kB / 0.6588 GB, free: 3.453 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.168, allocations: 4 kB / 0.6588 GB, free: 3.449 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 6.603e-05/0.1681, allocations: 103.6 kB / 0.6589 GB, free: 3.348 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1681, allocations: 0 / 0.6589 GB, free: 3.348 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002651/0.1684, allocations: 59.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.000114/0.1685, allocations: 125.6 kB / 0.659 GB, free: 3.16 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0003874/0.1689, allocations: 243.8 kB / 0.6593 GB, free: 2.922 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1689, allocations: 0 / 0.6593 GB, free: 2.922 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.1691, allocations: 115.8 kB / 0.6594 GB, free: 2.809 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.1693, allocations: 15.94 kB / 0.6594 GB, free: 2.793 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.171, allocations: 1.395 MB / 0.6608 GB, free: 1.363 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.1713, allocations: 0.7397 MB / 0.6615 GB, free: 0.5938 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.000155/0.1715, allocations: 73.47 kB / 0.6616 GB, free: 0.5234 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.372e-05/0.1716, allocations: 23.44 kB / 0.6616 GB, free: 0.5 MB / 0.4983 GB Notification: Performance of SimCode: time 2.4e-07/0.1716, allocations: 7.875 kB / 0.6616 GB, free: 0.4922 MB / 0.4983 GB Notification: Performance of Templates: time 0.00429/0.1759, allocations: 1.786 MB / 0.6633 GB, free: 14.75 MB / 0.5139 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches