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.001597/0.001597, 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.001529/0.001529, 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.602/1.602, 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.389/1.389, allocations: 119.3 MB / 411.2 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 60.97 kB / 0.5724 GB, free: 38.84 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1904, 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_20): time 0.002654/0.1931, allocations: 1.346 MB / 0.6525 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002655/0.1934, allocations: 59.78 kB / 0.6526 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.443e-05/0.1935, allocations: 0 / 0.6526 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.1936, allocations: 7.922 kB / 0.6526 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.1937, allocations: 19.91 kB / 0.6526 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001777/0.1939, allocations: 23.91 kB / 0.6526 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000377/0.1943, allocations: 355.4 kB / 0.6529 GB, free: 9.754 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.464e-05/0.1944, allocations: 4 kB / 0.653 GB, free: 9.75 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.1946, allocations: 127.8 kB / 0.6531 GB, free: 9.625 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003831/0.195, allocations: 175.6 kB / 0.6532 GB, free: 9.453 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 8.576e-05/0.1951, allocations: 20 kB / 0.6533 GB, free: 9.434 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 5.924e-05/0.1951, allocations: 16 kB / 0.6533 GB, free: 9.418 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001769/0.1953, allocations: 139.7 kB / 0.6534 GB, free: 9.281 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002474/0.1956, allocations: 147.4 kB / 0.6535 GB, free: 9.137 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.1959, allocations: 255.2 kB / 0.6538 GB, free: 8.887 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1959, allocations: 4 kB / 0.6538 GB, free: 8.883 MB / 0.4983 GB Notification: Performance of FrontEnd: time 4.388e-06/0.1959, allocations: 0 / 0.6538 GB, free: 8.883 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.507e-05/0.1959, allocations: 3.938 kB / 0.6538 GB, free: 8.879 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.001981/0.1979, allocations: 0.7493 MB / 0.6545 GB, free: 8.074 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.198, allocations: 15.89 kB / 0.6545 GB, free: 8.059 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.247e-05/0.1981, allocations: 28.66 kB / 0.6546 GB, free: 8.031 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.1984, allocations: 244.1 kB / 0.6548 GB, free: 7.754 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.746e-05/0.1985, allocations: 36.92 kB / 0.6548 GB, free: 7.719 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.1986, allocations: 56.19 kB / 0.6549 GB, free: 7.664 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005927/0.1992, allocations: 353.2 kB / 0.6552 GB, free: 7.316 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.1992, allocations: 4.188 kB / 0.6552 GB, free: 7.312 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/0.1992, allocations: 15.88 kB / 0.6553 GB, free: 7.297 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.1992, allocations: 8 kB / 0.6553 GB, free: 7.289 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003708/0.1996, allocations: 202.1 kB / 0.6555 GB, free: 7.09 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002146/0.2018, allocations: 1.002 MB / 0.6564 GB, free: 6.039 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003815/0.2056, allocations: 1.217 MB / 0.6576 GB, free: 4.812 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/0.2059, allocations: 184.8 kB / 0.6578 GB, free: 4.629 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 4.141e-05/0.206, allocations: 7.984 kB / 0.6578 GB, free: 4.621 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.206, allocations: 38.5 kB / 0.6578 GB, free: 4.574 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=42): time 1.873e-06/0.206, allocations: 0 / 0.6578 GB, free: 4.574 MB / 0.4983 GB Notification: Performance of matching and sorting (n=42): time 0.001068/0.2071, allocations: 0.5707 MB / 0.6584 GB, free: 3.996 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.2072, allocations: 59.34 kB / 0.6585 GB, free: 3.926 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.2073, allocations: 133.8 kB / 0.6586 GB, free: 3.785 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.2073, allocations: 37.7 kB / 0.6586 GB, free: 3.742 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.45e-05/0.2074, allocations: 117.2 kB / 0.6587 GB, free: 3.621 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.2076, allocations: 193.2 kB / 0.6589 GB, free: 3.43 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/0.2078, allocations: 126.3 kB / 0.659 GB, free: 3.301 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.2079, allocations: 338.8 kB / 0.6594 GB, free: 2.961 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/0.2083, allocations: 221.2 kB / 0.6596 GB, free: 2.746 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003575/0.2086, allocations: 237.7 kB / 0.6598 GB, free: 2.512 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007216/0.2094, allocations: 0.4931 MB / 0.6603 GB, free: 2.016 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2094, allocations: 384 / 0.6603 GB, free: 2.016 MB / 0.4983 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009131/0.2103, allocations: 0.6295 MB / 0.6609 GB, free: 1.379 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.2103, allocations: 4 kB / 0.6609 GB, free: 1.375 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.2103, allocations: 0 / 0.6609 GB, free: 1.375 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.2104, allocations: 7.938 kB / 0.6609 GB, free: 1.367 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009169/0.2113, allocations: 227.7 kB / 0.6611 GB, free: 1.145 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.2113, allocations: 4 kB / 0.6611 GB, free: 1.141 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/0.2116, allocations: 55.52 kB / 0.6612 GB, free: 1.086 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.175e-05/0.2116, allocations: 19.98 kB / 0.6612 GB, free: 1.066 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.0001923/0.2118, allocations: 162.6 kB / 0.6613 GB, free: 0.8984 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.51e-05/0.2119, allocations: 23.75 kB / 0.6614 GB, free: 0.875 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.212, allocations: 45.97 kB / 0.6614 GB, free: 0.8281 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.212, allocations: 8 kB / 0.6614 GB, free: 0.8203 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.2121, allocations: 0 / 0.6614 GB, free: 0.8203 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.2121, allocations: 7.984 kB / 0.6614 GB, free: 0.8125 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005055/0.2126, allocations: 389 kB / 0.6618 GB, free: 392 kB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2126, allocations: 3.938 kB / 0.6618 GB, free: 388 kB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/0.2138, allocations: 223.8 kB / 0.662 GB, free: 164 kB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.2139, allocations: 3.984 kB / 0.662 GB, free: 160 kB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.838e-05/0.2139, allocations: 31.97 kB / 0.6621 GB, free: 128 kB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.2139, allocations: 3.984 kB / 0.6621 GB, free: 124 kB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2139, allocations: 0 / 0.6621 GB, free: 124 kB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.215, allocations: 0.7024 MB / 0.6627 GB, free: 15.4 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.281e-05/0.2151, allocations: 100.8 kB / 0.6628 GB, free: 15.28 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.783e-05/0.2151, allocations: 31.97 kB / 0.6629 GB, free: 15.25 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.2154, allocations: 23.97 kB / 0.6629 GB, free: 15.23 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.725e-05/0.2155, allocations: 23.97 kB / 0.6629 GB, free: 15.2 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.2155, allocations: 11.98 kB / 0.6629 GB, free: 15.19 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 6.563e-05/0.2156, allocations: 99.27 kB / 0.663 GB, free: 15.09 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2156, allocations: 0 / 0.663 GB, free: 15.09 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003788/0.216, allocations: 119.8 kB / 0.6631 GB, free: 14.98 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.0001558/0.2162, allocations: 123.7 kB / 0.6633 GB, free: 14.85 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0008108/0.217, allocations: 495.3 kB / 0.6637 GB, free: 14.37 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.217, allocations: 0 / 0.6637 GB, free: 14.37 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003263/0.2173, 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.0003211/0.2177, allocations: 23.92 kB / 0.664 GB, free: 14.12 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003563/0.2212, allocations: 2.694 MB / 0.6666 GB, free: 11.4 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004771/0.2217, allocations: 0.7986 MB / 0.6674 GB, free: 10.58 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0003645/0.2221, allocations: 162.8 kB / 0.6675 GB, free: 10.42 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.2222, allocations: 31.38 kB / 0.6676 GB, free: 10.39 MB / 0.5139 GB Notification: Performance of SimCode: time 5.61e-07/0.2222, allocations: 0 / 0.6676 GB, free: 10.39 MB / 0.5139 GB Notification: Performance of Templates: time 0.00751/0.2298, allocations: 3.178 MB / 0.6707 GB, free: 7.25 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