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.001384/0.001384, allocations: 114.4 kB / 17.07 MB, free: 5.965 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.001791/0.001791, allocations: 194.8 kB / 18.01 MB, free: 5.051 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.572/1.572, 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 1.407/1.407, allocations: 119.3 MB / 411.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 66.28 kB / 0.5724 GB, free: 38.82 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1999, 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.00285/0.2028, allocations: 1.349 MB / 0.6525 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002727/0.203, allocations: 59.78 kB / 0.6526 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.349e-05/0.2031, allocations: 0 / 0.6526 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.2032, allocations: 7.922 kB / 0.6526 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.2034, allocations: 19.84 kB / 0.6526 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.2036, allocations: 15.97 kB / 0.6526 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004435/0.204, allocations: 363.3 kB / 0.653 GB, free: 9.738 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 7.87e-05/0.2041, allocations: 4 kB / 0.653 GB, free: 9.734 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.2042, allocations: 127.8 kB / 0.6531 GB, free: 9.609 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003256/0.2046, allocations: 171.6 kB / 0.6532 GB, free: 9.441 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 9.018e-05/0.2047, allocations: 23.94 kB / 0.6533 GB, free: 9.418 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 6.131e-05/0.2047, allocations: 20 kB / 0.6533 GB, free: 9.398 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.2049, allocations: 139.7 kB / 0.6534 GB, free: 9.262 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002125/0.2051, allocations: 151.3 kB / 0.6536 GB, free: 9.113 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003652/0.2055, allocations: 255 kB / 0.6538 GB, free: 8.863 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.2055, allocations: 0 / 0.6538 GB, free: 8.863 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2055, allocations: 4 kB / 0.6538 GB, free: 8.859 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.391e-05/0.2056, allocations: 0 / 0.6538 GB, free: 8.859 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.001999/0.2076, allocations: 0.753 MB / 0.6545 GB, free: 8.051 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.2076, allocations: 8.031 kB / 0.6546 GB, free: 8.043 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.387e-05/0.2077, allocations: 32.8 kB / 0.6546 GB, free: 8.012 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004304/0.2082, allocations: 240.1 kB / 0.6548 GB, free: 7.738 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.551e-05/0.2082, allocations: 32.94 kB / 0.6548 GB, free: 7.707 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.2083, allocations: 60.27 kB / 0.6549 GB, free: 7.648 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000629/0.209, allocations: 349.2 kB / 0.6552 GB, free: 7.305 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.209, allocations: 192 / 0.6552 GB, free: 7.305 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.331e-05/0.209, allocations: 19.94 kB / 0.6553 GB, free: 7.285 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.2091, allocations: 11.92 kB / 0.6553 GB, free: 7.273 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003955/0.2095, allocations: 210.1 kB / 0.6555 GB, free: 7.066 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002434/0.2119, allocations: 0.9944 MB / 0.6564 GB, free: 6.023 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004369/0.2163, allocations: 1.217 MB / 0.6576 GB, free: 4.797 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003544/0.2167, allocations: 188.8 kB / 0.6578 GB, free: 4.609 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 4.907e-05/0.2167, allocations: 4 kB / 0.6578 GB, free: 4.605 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.2168, allocations: 38.5 kB / 0.6578 GB, free: 4.559 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=42): time 2.355e-06/0.2168, allocations: 0 / 0.6578 GB, free: 4.559 MB / 0.4983 GB Notification: Performance of matching and sorting (n=42): time 0.001456/0.2182, allocations: 0.5707 MB / 0.6584 GB, free: 3.98 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.034e-05/0.2183, allocations: 59.41 kB / 0.6585 GB, free: 3.91 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.2185, allocations: 129.8 kB / 0.6586 GB, free: 3.773 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.745e-05/0.2186, allocations: 46.08 kB / 0.6586 GB, free: 3.723 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.2187, allocations: 125.2 kB / 0.6587 GB, free: 3.594 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.2189, allocations: 202.3 kB / 0.6589 GB, free: 3.395 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002082/0.2191, allocations: 126.3 kB / 0.6591 GB, free: 3.266 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0002111/0.2193, allocations: 342.8 kB / 0.6594 GB, free: 2.922 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003798/0.2197, allocations: 221.2 kB / 0.6596 GB, free: 2.707 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003796/0.2201, allocations: 237.7 kB / 0.6598 GB, free: 2.473 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007856/0.2209, allocations: 0.4931 MB / 0.6603 GB, free: 1.977 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.2209, allocations: 4 kB / 0.6603 GB, free: 1.973 MB / 0.4983 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001217/0.2221, allocations: 0.6297 MB / 0.6609 GB, free: 1.336 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.2222, allocations: 7.281 kB / 0.6609 GB, free: 1.332 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.2222, allocations: 0 / 0.6609 GB, free: 1.332 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.249e-05/0.2222, allocations: 4 kB / 0.6609 GB, free: 1.328 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009555/0.2232, allocations: 219.8 kB / 0.6611 GB, free: 1.113 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.2232, allocations: 4 kB / 0.6611 GB, free: 1.109 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003555/0.2236, allocations: 63.64 kB / 0.6612 GB, free: 1.047 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.193e-05/0.2237, allocations: 19.98 kB / 0.6612 GB, free: 1.027 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.0002351/0.2239, allocations: 162.5 kB / 0.6614 GB, free: 0.8594 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.139e-05/0.224, allocations: 27.8 kB / 0.6614 GB, free: 0.832 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.2242, allocations: 53.97 kB / 0.6615 GB, free: 0.7773 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.2242, allocations: 4 kB / 0.6615 GB, free: 0.7734 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.2242, allocations: 4 kB / 0.6615 GB, free: 0.7695 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.2242, allocations: 3.984 kB / 0.6615 GB, free: 0.7656 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00081/0.225, allocations: 377.3 kB / 0.6618 GB, free: 356 kB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.2251, allocations: 11.88 kB / 0.6618 GB, free: 344 kB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001963/0.227, allocations: 223.8 kB / 0.6621 GB, free: 120 kB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.868e-06/0.2271, allocations: 4 kB / 0.6621 GB, free: 116 kB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.243e-05/0.2272, allocations: 19.98 kB / 0.6621 GB, free: 96 kB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/0.2272, allocations: 3.984 kB / 0.6621 GB, free: 92 kB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.2272, allocations: 0 / 0.6621 GB, free: 92 kB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002404/0.2296, allocations: 0.7065 MB / 0.6628 GB, free: 15.37 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.2297, allocations: 108.8 kB / 0.6629 GB, free: 15.24 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.2299, allocations: 23.97 kB / 0.6629 GB, free: 15.22 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003939/0.2303, allocations: 27.97 kB / 0.6629 GB, free: 15.19 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.2304, allocations: 19.97 kB / 0.6629 GB, free: 15.17 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.378e-05/0.2305, allocations: 15.98 kB / 0.663 GB, free: 15.16 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0001024/0.2306, allocations: 91.28 kB / 0.663 GB, free: 15.07 MB / 0.5139 GB Notification: Performance of sort global known variables: time 5.31e-07/0.2306, allocations: 288 / 0.663 GB, free: 15.07 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0007188/0.2313, allocations: 112 kB / 0.6632 GB, free: 14.96 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.000312/0.2317, allocations: 131.7 kB / 0.6633 GB, free: 14.82 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001475/0.2331, allocations: 0.4915 MB / 0.6638 GB, free: 14.33 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.2332, allocations: 0 / 0.6638 GB, free: 14.33 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005092/0.2337, allocations: 223.7 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.0005152/0.2342, 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.005798/0.24, allocations: 2.724 MB / 0.6667 GB, free: 11.33 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006715/0.2407, allocations: 0.7959 MB / 0.6674 GB, free: 10.51 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0007058/0.2414, 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.0001735/0.2416, allocations: 27.44 kB / 0.6676 GB, free: 10.33 MB / 0.5139 GB Notification: Performance of SimCode: time 4.81e-07/0.2416, allocations: 0 / 0.6676 GB, free: 10.33 MB / 0.5139 GB Notification: Performance of Templates: time 0.01059/0.2522, allocations: 3.182 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