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.0009536/0.0009535, allocations: 96.7 kB / 17.31 MB, free: 6.391 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.0008538/0.0008537, allocations: 177.2 kB / 18.21 MB, free: 5.551 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.315/1.315, allocations: 223.3 MB / 242.3 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9315/0.9315, allocations: 120.5 MB / 413.8 MB, free: 9.16 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.0003681, allocations: 11.98 kB / 0.4969 GB, free: 10.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5405/0.5409, allocations: 82.83 MB / 0.5778 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.001185/0.5421, allocations: 1.063 MB / 0.5788 GB, free: 41.19 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002029/0.5424, allocations: 59.78 kB / 0.5789 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.225e-05/0.5424, allocations: 5.188 kB / 0.5789 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.853e-05/0.5425, allocations: 7.984 kB / 0.5789 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 8.322e-05/0.5426, allocations: 19.34 kB / 0.5789 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001247/0.5427, allocations: 21.56 kB / 0.5789 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003059/0.543, allocations: 366.2 kB / 0.5793 GB, free: 40.92 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.422e-05/0.5431, allocations: 3.469 kB / 0.5793 GB, free: 40.92 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.5432, allocations: 128.5 kB / 0.5794 GB, free: 40.87 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.5435, allocations: 185.1 kB / 0.5796 GB, free: 40.75 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.778e-05/0.5435, allocations: 19.25 kB / 0.5796 GB, free: 40.75 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 4.865e-05/0.5436, allocations: 21.88 kB / 0.5796 GB, free: 40.75 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.5437, allocations: 134.6 kB / 0.5797 GB, free: 40.66 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.5439, allocations: 173.5 kB / 0.5799 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.544, allocations: 174 kB / 0.5801 GB, free: 40.45 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.544, allocations: 0 / 0.5801 GB, free: 40.45 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.204e-06/0.544, allocations: 5.312 kB / 0.5801 GB, free: 40.45 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.5441, allocations: 0 / 0.5801 GB, free: 40.45 MB / 462.3 MB 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.001335/0.5454, allocations: 0.6872 MB / 0.5807 GB, free: 39.91 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.5454, allocations: 9.406 kB / 0.5808 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.337e-05/0.5455, allocations: 27.28 kB / 0.5808 GB, free: 39.9 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.5458, allocations: 250.3 kB / 0.581 GB, free: 39.66 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.5458, allocations: 32.34 kB / 0.5811 GB, free: 39.64 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.569e-05/0.5459, allocations: 56.62 kB / 0.5811 GB, free: 39.62 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005109/0.5464, allocations: 352.4 kB / 0.5814 GB, free: 39.41 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.5465, allocations: 192 / 0.5814 GB, free: 39.41 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.5465, allocations: 14.69 kB / 0.5815 GB, free: 39.4 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.5465, allocations: 5.5 kB / 0.5815 GB, free: 39.4 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003621/0.5469, allocations: 204.4 kB / 0.5817 GB, free: 39.31 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/0.5489, allocations: 1.024 MB / 0.5827 GB, free: 38.66 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003607/0.5525, allocations: 1.221 MB / 0.5838 GB, free: 38.16 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/0.5528, allocations: 186.6 kB / 0.584 GB, free: 38.07 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.5528, allocations: 3.688 kB / 0.584 GB, free: 38.07 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.5529, allocations: 41.03 kB / 0.5841 GB, free: 38.02 MB / 462.3 MB Notification: Performance of pre-optimization done (n=42): time 1.363e-06/0.5529, allocations: 0.9062 kB / 0.5841 GB, free: 38.02 MB / 462.3 MB Notification: Performance of matching and sorting (n=42): time 0.0009918/0.5539, allocations: 0.5705 MB / 0.5846 GB, free: 37.75 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.5539, allocations: 60.03 kB / 0.5847 GB, free: 37.69 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.45e-05/0.554, allocations: 128 kB / 0.5848 GB, free: 37.57 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.554, allocations: 40.92 kB / 0.5848 GB, free: 37.53 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/0.5541, allocations: 116.3 kB / 0.585 GB, free: 37.41 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.5542, allocations: 196.3 kB / 0.5851 GB, free: 37.24 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.523e-05/0.5543, allocations: 74.58 kB / 0.5852 GB, free: 37.19 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.382e-05/0.5544, allocations: 340.3 kB / 0.5855 GB, free: 36.86 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003312/0.5547, allocations: 225.6 kB / 0.5858 GB, free: 36.76 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003204/0.555, allocations: 237.2 kB / 0.586 GB, free: 36.66 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006741/0.5557, allocations: 0.4899 MB / 0.5865 GB, free: 36.43 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5557, allocations: 0 / 0.5865 GB, free: 36.43 MB / 462.3 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008571/0.5566, allocations: 0.6251 MB / 0.5871 GB, free: 36.14 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.5566, allocations: 10.25 kB / 0.5871 GB, free: 36.14 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.5566, allocations: 0 / 0.5871 GB, free: 36.14 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.5566, allocations: 2.5 kB / 0.5871 GB, free: 36.14 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008544/0.5575, allocations: 225.2 kB / 0.5873 GB, free: 36.09 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.5575, allocations: 7.719 kB / 0.5873 GB, free: 36.08 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/0.5578, allocations: 62.58 kB / 0.5874 GB, free: 36.04 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.5578, allocations: 20.61 kB / 0.5874 GB, free: 36.03 MB / 462.3 MB 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.0001321/0.558, allocations: 157.9 kB / 0.5875 GB, free: 35.88 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.717e-05/0.558, allocations: 23.12 kB / 0.5876 GB, free: 35.87 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.5582, allocations: 55.22 kB / 0.5876 GB, free: 35.82 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.5582, allocations: 3.781 kB / 0.5876 GB, free: 35.82 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.5582, allocations: 1.281 kB / 0.5876 GB, free: 35.82 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.5582, allocations: 3.984 kB / 0.5876 GB, free: 35.81 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003872/0.5586, allocations: 388.3 kB / 0.588 GB, free: 35.49 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5586, allocations: 3.938 kB / 0.588 GB, free: 35.49 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.5597, allocations: 224.5 kB / 0.5882 GB, free: 35.28 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.5597, allocations: 0 / 0.5882 GB, free: 35.28 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.314e-05/0.5598, allocations: 27.95 kB / 0.5882 GB, free: 35.25 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.5598, allocations: 4 kB / 0.5882 GB, free: 35.25 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5598, allocations: 0 / 0.5882 GB, free: 35.25 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007367/0.5605, allocations: 0.7064 MB / 0.5889 GB, free: 34.54 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.317e-05/0.5606, allocations: 100.8 kB / 0.589 GB, free: 34.42 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.339e-05/0.5606, allocations: 23.97 kB / 0.589 GB, free: 34.39 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002649/0.5609, allocations: 27.97 kB / 0.5891 GB, free: 34.37 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.51e-05/0.561, allocations: 19.97 kB / 0.5891 GB, free: 34.35 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.561, allocations: 15.98 kB / 0.5891 GB, free: 34.33 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.524e-05/0.561, allocations: 91.27 kB / 0.5892 GB, free: 34.24 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.561, allocations: 0 / 0.5892 GB, free: 34.24 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003186/0.5614, allocations: 119.8 kB / 0.5893 GB, free: 34.12 MB / 462.3 MB 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.0001219/0.5615, allocations: 127.2 kB / 0.5894 GB, free: 33.99 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0005712/0.5621, allocations: 499.4 kB / 0.5899 GB, free: 33.5 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5621, allocations: 0 / 0.5899 GB, free: 33.5 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002399/0.5623, allocations: 223.8 kB / 0.5901 GB, free: 33.29 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.5626, allocations: 28.2 kB / 0.5901 GB, free: 33.26 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/0.5655, allocations: 3.388 MB / 0.5935 GB, free: 29.82 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.5657, allocations: 0.8026 MB / 0.5942 GB, free: 28.99 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.5658, allocations: 31.44 kB / 0.5943 GB, free: 28.96 MB / 462.3 MB Notification: Performance of SimCode: time 5.61e-07/0.5659, allocations: 0 / 0.5943 GB, free: 28.96 MB / 462.3 MB Notification: Performance of Templates: time 0.004952/0.5708, allocations: 4.429 MB / 0.5986 GB, free: 24.55 MB / 462.3 MB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches