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.002005/0.002005, allocations: 106.3 kB / 17.06 MB, free: 6.016 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.002137/0.002137, allocations: 192.7 kB / 18 MB, free: 5.102 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.59/1.59, 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.254/1.254, allocations: 119.3 MB / 411.2 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002602/0.002602, allocations: 67.11 kB / 0.5724 GB, free: 38.81 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1762, allocations: 80.69 MB / 0.6512 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.002563/0.1788, allocations: 1.346 MB / 0.6525 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002701/0.1791, allocations: 59.77 kB / 0.6526 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.077e-05/0.1792, allocations: 0 / 0.6526 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.923e-05/0.1793, allocations: 7.938 kB / 0.6526 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 9.679e-05/0.1794, allocations: 23.89 kB / 0.6526 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001546/0.1796, allocations: 11.98 kB / 0.6526 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004021/0.18, allocations: 363.3 kB / 0.653 GB, free: 9.742 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.134e-05/0.1801, allocations: 4 kB / 0.653 GB, free: 9.738 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.1802, allocations: 131.8 kB / 0.6531 GB, free: 9.609 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002983/0.1805, allocations: 171.6 kB / 0.6532 GB, free: 9.441 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.503e-05/0.1806, allocations: 20 kB / 0.6533 GB, free: 9.422 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 5.786e-05/0.1807, allocations: 16 kB / 0.6533 GB, free: 9.406 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.1808, allocations: 147.7 kB / 0.6534 GB, free: 9.262 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.181, allocations: 147.4 kB / 0.6536 GB, free: 9.117 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002901/0.1813, allocations: 251 kB / 0.6538 GB, free: 8.871 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1813, allocations: 0 / 0.6538 GB, free: 8.871 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1813, allocations: 0 / 0.6538 GB, free: 8.871 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.1813, allocations: 0 / 0.6538 GB, free: 8.871 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.001915/0.1833, allocations: 0.753 MB / 0.6545 GB, free: 8.062 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.1833, allocations: 15.89 kB / 0.6546 GB, free: 8.047 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.279e-05/0.1834, allocations: 28.8 kB / 0.6546 GB, free: 8.02 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/0.1837, allocations: 252 kB / 0.6548 GB, free: 7.734 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.1838, allocations: 28.94 kB / 0.6548 GB, free: 7.707 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.1839, allocations: 68.27 kB / 0.6549 GB, free: 7.641 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000613/0.1845, allocations: 345.2 kB / 0.6552 GB, free: 7.301 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/0.1846, allocations: 4.188 kB / 0.6552 GB, free: 7.297 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.166e-05/0.1846, allocations: 15.88 kB / 0.6553 GB, free: 7.281 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.1846, allocations: 11.94 kB / 0.6553 GB, free: 7.27 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/0.185, allocations: 202.1 kB / 0.6555 GB, free: 7.07 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00216/0.1872, allocations: 0.9984 MB / 0.6564 GB, free: 6.023 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003995/0.1912, allocations: 1.217 MB / 0.6576 GB, free: 4.797 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003327/0.1916, allocations: 188.8 kB / 0.6578 GB, free: 4.609 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 3.901e-05/0.1916, allocations: 4 kB / 0.6578 GB, free: 4.605 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.1917, allocations: 42.5 kB / 0.6579 GB, free: 4.555 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=42): time 2.154e-06/0.1917, allocations: 0 / 0.6579 GB, free: 4.555 MB / 0.4983 GB Notification: Performance of matching and sorting (n=42): time 0.001117/0.1928, allocations: 0.5708 MB / 0.6584 GB, free: 3.977 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.1928, allocations: 55.41 kB / 0.6585 GB, free: 3.91 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.193, allocations: 133.8 kB / 0.6586 GB, free: 3.77 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.516e-05/0.193, allocations: 37.7 kB / 0.6586 GB, free: 3.727 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 9.717e-05/0.1931, allocations: 129.2 kB / 0.6587 GB, free: 3.594 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.1933, allocations: 198.3 kB / 0.6589 GB, free: 3.398 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001861/0.1935, allocations: 126.3 kB / 0.6591 GB, free: 3.27 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1937, allocations: 342.8 kB / 0.6594 GB, free: 2.926 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/0.194, allocations: 229.2 kB / 0.6596 GB, free: 2.703 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/0.1944, allocations: 229.8 kB / 0.6598 GB, free: 2.477 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007729/0.1952, allocations: 0.497 MB / 0.6603 GB, free: 1.977 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1952, allocations: 0 / 0.6603 GB, free: 1.977 MB / 0.4983 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009994/0.1962, allocations: 0.6259 MB / 0.6609 GB, free: 1.344 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.1962, allocations: 4 kB / 0.6609 GB, free: 1.34 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.1962, allocations: 0 / 0.6609 GB, free: 1.34 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.1963, allocations: 7.938 kB / 0.6609 GB, free: 1.332 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009264/0.1972, allocations: 220.1 kB / 0.6611 GB, free: 1.117 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.1972, allocations: 4 kB / 0.6611 GB, free: 1.113 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002608/0.1975, allocations: 59.64 kB / 0.6612 GB, free: 1.055 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.959e-05/0.1975, allocations: 20 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.0001933/0.1977, allocations: 166.5 kB / 0.6614 GB, free: 0.8633 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.834e-05/0.1978, allocations: 27.8 kB / 0.6614 GB, free: 0.8359 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001616/0.198, allocations: 53.95 kB / 0.6615 GB, free: 0.7812 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.198, allocations: 4 kB / 0.6615 GB, free: 0.7773 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.198, allocations: 0 / 0.6615 GB, free: 0.7773 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.198, allocations: 4 kB / 0.6615 GB, free: 0.7734 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005057/0.1985, allocations: 381.2 kB / 0.6618 GB, free: 360 kB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1985, allocations: 3.938 kB / 0.6618 GB, free: 356 kB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/0.1998, allocations: 227.8 kB / 0.662 GB, free: 128 kB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1998, allocations: 0 / 0.662 GB, free: 128 kB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.566e-05/0.1999, allocations: 27.97 kB / 0.6621 GB, free: 100 kB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1999, allocations: 4 kB / 0.6621 GB, free: 96 kB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1999, allocations: 0 / 0.6621 GB, free: 96 kB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.201, allocations: 0.7026 MB / 0.6628 GB, free: 15.38 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 7.236e-05/0.201, allocations: 108.8 kB / 0.6629 GB, free: 15.25 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.603e-05/0.2011, allocations: 19.98 kB / 0.6629 GB, free: 15.23 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/0.2014, allocations: 31.95 kB / 0.6629 GB, free: 15.2 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.005e-05/0.2015, allocations: 31.89 kB / 0.6629 GB, free: 15.17 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.2015, allocations: 12 kB / 0.663 GB, free: 15.16 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 7.253e-05/0.2016, allocations: 95.27 kB / 0.6631 GB, free: 15.06 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2016, allocations: 0 / 0.6631 GB, free: 15.06 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003818/0.202, allocations: 112 kB / 0.6632 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.0001591/0.2022, allocations: 123.7 kB / 0.6633 GB, free: 14.82 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0008262/0.203, allocations: 499.3 kB / 0.6638 GB, free: 14.34 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.203, allocations: 4 kB / 0.6638 GB, free: 14.34 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003571/0.2034, allocations: 227.8 kB / 0.664 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.0002963/0.2037, allocations: 22.83 kB / 0.664 GB, free: 14.1 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/0.2073, allocations: 2.724 MB / 0.6667 GB, free: 11.34 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/0.2078, allocations: 0.8023 MB / 0.6674 GB, free: 10.52 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0003922/0.2082, allocations: 158.8 kB / 0.6676 GB, free: 10.36 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.2083, allocations: 27.44 kB / 0.6676 GB, free: 10.33 MB / 0.5139 GB Notification: Performance of SimCode: time 6.41e-07/0.2083, allocations: 0 / 0.6676 GB, free: 10.33 MB / 0.5139 GB Notification: Performance of Templates: time 0.00733/0.2157, allocations: 3.18 MB / 0.6707 GB, free: 7.188 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20_res.mat","/var/lib/jenkins1/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