Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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_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_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.001147/0.001147, allocations: 101.3 kB / 17.05 MB, free: 6.125 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.001023/0.001023, allocations: 196.1 kB / 18 MB, free: 5.199 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.336/1.336, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.07/1.07, allocations: 119.3 MB / 411.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 66 kB / 0.5724 GB, free: 38.81 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1658, allocations: 80.7 MB / 0.6512 GB, free: 11.53 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.002938/0.1688, allocations: 1.343 MB / 0.6525 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002754/0.1691, allocations: 59.78 kB / 0.6525 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.049e-05/0.1692, allocations: 0 / 0.6525 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.1693, allocations: 11.92 kB / 0.6526 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 9.813e-05/0.1695, allocations: 11.92 kB / 0.6526 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.1696, allocations: 23.95 kB / 0.6526 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003589/0.17, allocations: 351.4 kB / 0.6529 GB, free: 9.727 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 7.136e-05/0.1701, allocations: 11.92 kB / 0.6529 GB, free: 9.715 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.1703, allocations: 135.8 kB / 0.6531 GB, free: 9.582 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003453/0.1706, allocations: 171.6 kB / 0.6532 GB, free: 9.414 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.642e-05/0.1707, allocations: 16 kB / 0.6533 GB, free: 9.398 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 5.851e-05/0.1708, allocations: 20 kB / 0.6533 GB, free: 9.379 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.171, allocations: 147.7 kB / 0.6534 GB, free: 9.234 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.1712, allocations: 147.4 kB / 0.6536 GB, free: 9.09 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.1715, allocations: 247.2 kB / 0.6538 GB, free: 8.848 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1715, allocations: 4 kB / 0.6538 GB, free: 8.844 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1715, allocations: 0 / 0.6538 GB, free: 8.844 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.1715, allocations: 0 / 0.6538 GB, free: 8.844 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.00176/0.1733, allocations: 0.7454 MB / 0.6545 GB, free: 8.043 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.1733, allocations: 11.89 kB / 0.6545 GB, free: 8.031 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.104e-05/0.1734, allocations: 32.66 kB / 0.6546 GB, free: 8 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.1737, allocations: 248 kB / 0.6548 GB, free: 7.719 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/0.1738, allocations: 32.94 kB / 0.6548 GB, free: 7.688 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.1739, allocations: 64.17 kB / 0.6549 GB, free: 7.625 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00059/0.1745, allocations: 345.2 kB / 0.6552 GB, free: 7.285 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.1745, allocations: 192 / 0.6552 GB, free: 7.285 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.023e-05/0.1746, allocations: 15.94 kB / 0.6552 GB, free: 7.27 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.1746, allocations: 15.88 kB / 0.6552 GB, free: 7.254 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003677/0.175, allocations: 202.1 kB / 0.6554 GB, free: 7.055 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002027/0.177, allocations: 0.9943 MB / 0.6564 GB, free: 6.012 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003616/0.1806, allocations: 1.225 MB / 0.6576 GB, free: 4.777 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002839/0.1809, allocations: 184.8 kB / 0.6578 GB, free: 4.594 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.1809, allocations: 4 kB / 0.6578 GB, free: 4.59 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.181, allocations: 42.5 kB / 0.6578 GB, free: 4.539 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=42): time 1.903e-06/0.181, allocations: 0 / 0.6578 GB, free: 4.539 MB / 0.4983 GB Notification: Performance of matching and sorting (n=42): time 0.000981/0.182, allocations: 0.5707 MB / 0.6584 GB, free: 3.961 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.182, allocations: 59.39 kB / 0.6584 GB, free: 3.891 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.1821, allocations: 137.7 kB / 0.6586 GB, free: 3.746 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.1822, allocations: 37.7 kB / 0.6586 GB, free: 3.703 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.248e-05/0.1823, allocations: 113.2 kB / 0.6587 GB, free: 3.586 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.1825, allocations: 193.2 kB / 0.6589 GB, free: 3.395 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.1826, allocations: 126.3 kB / 0.659 GB, free: 3.266 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.1828, allocations: 338.8 kB / 0.6593 GB, free: 2.926 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.1832, allocations: 229.2 kB / 0.6596 GB, free: 2.703 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/0.1835, allocations: 229.7 kB / 0.6598 GB, free: 2.477 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006783/0.1842, allocations: 0.497 MB / 0.6603 GB, free: 1.977 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1842, allocations: 0 / 0.6603 GB, free: 1.977 MB / 0.4983 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008657/0.1851, allocations: 0.6218 MB / 0.6609 GB, free: 1.348 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.1851, allocations: 8 kB / 0.6609 GB, free: 1.34 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.1851, allocations: 0 / 0.6609 GB, free: 1.34 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.799e-05/0.1851, allocations: 7.938 kB / 0.6609 GB, free: 1.332 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008282/0.186, allocations: 219.8 kB / 0.6611 GB, free: 1.117 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.186, allocations: 4 kB / 0.6611 GB, free: 1.113 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002847/0.1863, allocations: 63.5 kB / 0.6612 GB, free: 1.051 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/0.1863, allocations: 16 kB / 0.6612 GB, free: 1.035 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.000184/0.1865, allocations: 162.5 kB / 0.6613 GB, free: 0.8672 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.326e-05/0.1866, allocations: 27.75 kB / 0.6614 GB, free: 0.8398 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001584/0.1868, allocations: 49.97 kB / 0.6614 GB, free: 0.7891 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.1868, allocations: 4 kB / 0.6614 GB, free: 0.7852 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.413e-06/0.1868, allocations: 0 / 0.6614 GB, free: 0.7852 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.1868, allocations: 3.984 kB / 0.6614 GB, free: 0.7812 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005383/0.1874, allocations: 385.1 kB / 0.6618 GB, free: 364 kB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.1874, allocations: 7.875 kB / 0.6618 GB, free: 356 kB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/0.1885, allocations: 231.8 kB / 0.662 GB, free: 124 kB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.1886, allocations: 0 / 0.662 GB, free: 124 kB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-05/0.1886, allocations: 23.97 kB / 0.662 GB, free: 100 kB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.1886, allocations: 4 kB / 0.662 GB, free: 96 kB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1886, allocations: 4 kB / 0.662 GB, free: 92 kB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.1897, allocations: 0.6985 MB / 0.6627 GB, free: 15.38 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 7.044e-05/0.1897, allocations: 100.8 kB / 0.6628 GB, free: 15.26 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.725e-05/0.1898, allocations: 23.97 kB / 0.6628 GB, free: 15.23 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.1901, allocations: 31.97 kB / 0.6629 GB, free: 15.2 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.878e-05/0.1902, allocations: 23.91 kB / 0.6629 GB, free: 15.18 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.1902, allocations: 19.97 kB / 0.6629 GB, free: 15.16 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 6e-05/0.1903, allocations: 91.59 kB / 0.663 GB, free: 15.07 MB / 0.5139 GB Notification: Performance of sort global known variables: time 2.8e-07/0.1903, allocations: 0 / 0.663 GB, free: 15.07 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003622/0.1907, allocations: 119.8 kB / 0.6631 GB, free: 14.95 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.0001712/0.1908, allocations: 131.7 kB / 0.6632 GB, free: 14.82 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0007752/0.1916, allocations: 499.3 kB / 0.6637 GB, free: 14.33 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1916, allocations: 0 / 0.6637 GB, free: 14.33 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003044/0.192, allocations: 223.8 kB / 0.6639 GB, free: 14.11 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.1923, allocations: 19.94 kB / 0.664 GB, free: 14.09 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003295/0.1956, allocations: 2.702 MB / 0.6666 GB, free: 11.36 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.196, allocations: 0.7959 MB / 0.6674 GB, free: 10.54 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0003535/0.1963, allocations: 162.8 kB / 0.6675 GB, free: 10.38 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.1964, allocations: 27.44 kB / 0.6676 GB, free: 10.35 MB / 0.5139 GB Notification: Performance of SimCode: time 3.5e-07/0.1965, allocations: 0 / 0.6676 GB, free: 10.35 MB / 0.5139 GB Notification: Performance of Templates: time 0.006697/0.2032, allocations: 3.179 MB / 0.6707 GB, free: 7.207 MB / 0.5139 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches