Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.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_40,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.1.|cur.2.|cur.3.|cur.40.|cur.4.|cur.5.|der.cur.1..|der.cur.2..|der.cur.3..|der.cur.4..|der.cur.5..|der.vol.1..|der.vol.2..|der.vol.3..|der.vol.40..|der.vol.4..|der.vol.5..|time|time|vol.1.|vol.2.|vol.3.|vol.40.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40") translateModel(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.1.|cur.2.|cur.3.|cur.40.|cur.4.|cur.5.|der.cur.1..|der.cur.2..|der.cur.3..|der.cur.4..|der.cur.5..|der.vol.1..|der.vol.2..|der.vol.3..|der.vol.40..|der.vol.4..|der.vol.5..|time|time|vol.1.|vol.2.|vol.3.|vol.40.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.00161/0.00161, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.457/1.457, allocations: 222.9 MB / 242.2 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.112/1.112, allocations: 119.3 MB / 411.7 MB, free: 9.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.91 kB / 0.493 GB, free: 12.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5823/0.5836, allocations: 80.69 MB / 0.5718 GB, free: 43.71 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40): time 0.002558/0.5862, allocations: 1.344 MB / 0.5731 GB, free: 42.64 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002278/0.5865, allocations: 62.56 kB / 0.5731 GB, free: 42.6 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.5865, allocations: 0 / 0.5731 GB, free: 42.6 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.5867, allocations: 9.203 kB / 0.5731 GB, free: 42.59 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.5869, allocations: 18.62 kB / 0.5732 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.587, allocations: 20.09 kB / 0.5732 GB, free: 42.56 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000522/0.5875, allocations: 0.6573 MB / 0.5738 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.054e-05/0.5876, allocations: 5.469 kB / 0.5738 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.5878, allocations: 237.4 kB / 0.574 GB, free: 42.11 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004162/0.5882, allocations: 316.7 kB / 0.5744 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.811e-05/0.5883, allocations: 35.69 kB / 0.5744 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.5884, allocations: 35.94 kB / 0.5744 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002301/0.5887, allocations: 280.4 kB / 0.5747 GB, free: 41.74 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002923/0.589, allocations: 280.4 kB / 0.575 GB, free: 41.57 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000469/0.5895, allocations: 486.8 kB / 0.5754 GB, free: 41.3 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5895, allocations: 1.25 kB / 0.5754 GB, free: 41.3 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5895, allocations: 0 / 0.5754 GB, free: 41.3 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.5895, allocations: 0 / 0.5754 GB, free: 41.3 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002575/0.5921, allocations: 1.129 MB / 0.5765 GB, free: 40.53 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.5921, allocations: 12.92 kB / 0.5765 GB, free: 40.52 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.5923, allocations: 59.56 kB / 0.5766 GB, free: 40.5 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.5927, allocations: 324.1 kB / 0.5769 GB, free: 40.23 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.826e-05/0.5928, allocations: 59.56 kB / 0.577 GB, free: 40.2 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/0.593, allocations: 123.2 kB / 0.5771 GB, free: 40.14 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.594, allocations: 0.6452 MB / 0.5777 GB, free: 39.78 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.594, allocations: 192 / 0.5777 GB, free: 39.78 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.273e-05/0.5941, allocations: 24.34 kB / 0.5777 GB, free: 39.76 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.5941, allocations: 11.34 kB / 0.5777 GB, free: 39.76 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007113/0.5948, allocations: 402.8 kB / 0.5781 GB, free: 39.58 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003834/0.5986, allocations: 1.789 MB / 0.5799 GB, free: 38.55 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007633/0.6063, allocations: 2.518 MB / 0.5823 GB, free: 37.52 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005989/0.6069, allocations: 371.3 kB / 0.5827 GB, free: 37.35 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.925e-05/0.607, allocations: 12.5 kB / 0.5827 GB, free: 37.34 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.607, allocations: 43.09 kB / 0.5827 GB, free: 37.3 MB / 462.3 MB Notification: Performance of pre-optimization done (n=82): time 3.847e-06/0.607, allocations: 0 / 0.5827 GB, free: 37.3 MB / 462.3 MB Notification: Performance of matching and sorting (n=82): time 0.002063/0.6091, allocations: 1.109 MB / 0.5838 GB, free: 36.79 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.6092, allocations: 60.88 kB / 0.5839 GB, free: 36.73 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.6093, allocations: 138.9 kB / 0.584 GB, free: 36.61 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.161e-05/0.6094, allocations: 55.89 kB / 0.5841 GB, free: 36.55 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.815e-05/0.6094, allocations: 150.7 kB / 0.5842 GB, free: 36.41 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/0.6097, allocations: 379 kB / 0.5846 GB, free: 36.08 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002758/0.6099, allocations: 233.3 kB / 0.5848 GB, free: 35.92 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.016e-05/0.61, allocations: 366.8 kB / 0.5851 GB, free: 35.55 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005363/0.6106, allocations: 446.3 kB / 0.5856 GB, free: 35.12 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005322/0.6111, allocations: 471.5 kB / 0.586 GB, free: 34.66 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.6123, allocations: 0.9766 MB / 0.587 GB, free: 33.68 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6123, allocations: 0 / 0.587 GB, free: 33.68 MB / 462.3 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.001442/0.6137, allocations: 1.207 MB / 0.5881 GB, free: 32.46 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.6138, allocations: 8 kB / 0.5882 GB, free: 32.46 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.6138, allocations: 4 kB / 0.5882 GB, free: 32.45 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.6138, allocations: 7.984 kB / 0.5882 GB, free: 32.45 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.6153, allocations: 447.5 kB / 0.5886 GB, free: 32.01 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.6154, allocations: 4 kB / 0.5886 GB, free: 32 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000504/0.6159, allocations: 126.9 kB / 0.5887 GB, free: 31.88 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.514e-05/0.6159, allocations: 36.38 kB / 0.5888 GB, free: 31.84 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 (162): * Single equations (assignments): 162 * 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.0002367/0.6162, allocations: 205.5 kB / 0.5889 GB, free: 31.63 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.307e-05/0.6163, allocations: 35.66 kB / 0.589 GB, free: 31.6 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/0.6165, allocations: 91.39 kB / 0.5891 GB, free: 31.51 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.6165, allocations: 11.94 kB / 0.5891 GB, free: 31.5 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/0.6165, allocations: 0 / 0.5891 GB, free: 31.5 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.6165, allocations: 7.984 kB / 0.5891 GB, free: 31.49 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006293/0.6171, allocations: 0.6145 MB / 0.5897 GB, free: 30.82 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.6172, allocations: 0 / 0.5897 GB, free: 30.82 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00216/0.6193, allocations: 451.5 kB / 0.5901 GB, free: 30.38 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.6193, allocations: 0 / 0.5901 GB, free: 30.38 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-05/0.6194, allocations: 55.94 kB / 0.5902 GB, free: 30.33 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.6194, allocations: 4 kB / 0.5902 GB, free: 30.32 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6194, allocations: 0 / 0.5902 GB, free: 30.32 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.6209, allocations: 1.273 MB / 0.5914 GB, free: 29.04 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.145e-05/0.621, allocations: 116.6 kB / 0.5915 GB, free: 28.9 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.6211, allocations: 47.95 kB / 0.5916 GB, free: 28.86 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004816/0.6216, allocations: 51.94 kB / 0.5916 GB, free: 28.8 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.6217, allocations: 52.52 kB / 0.5917 GB, free: 28.75 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.905e-05/0.6218, allocations: 27.98 kB / 0.5917 GB, free: 28.73 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.344e-05/0.6219, allocations: 99.2 kB / 0.5918 GB, free: 28.63 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6219, allocations: 0 / 0.5918 GB, free: 28.63 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005489/0.6224, allocations: 227.8 kB / 0.592 GB, free: 28.41 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 80 (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],cur_x[20],cur_x[21],cur_x[22],cur_x[23],cur_x[24],cur_x[25],cur_x[26],cur_x[27],cur_x[28],cur_x[29],cur_x[30],cur_x[31],cur_x[32],cur_x[33],cur_x[34],cur_x[35],cur_x[36],cur_x[37],cur_x[38],cur_x[39],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],vol[21],vol[22],vol[23],vol[24],vol[25],vol[26],vol[27],vol[28],vol[29],vol[30],vol[31],vol[32],vol[33],vol[34],vol[35],vol[36],vol[37],vol[38],vol[39],vol[40],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 (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 Backend phase and start with SimCode phase: time 0.0001722/0.6226, allocations: 167.6 kB / 0.5922 GB, free: 28.23 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001769/0.6244, allocations: 1.399 MB / 0.5935 GB, free: 26.84 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.6244, allocations: 0 / 0.5935 GB, free: 26.84 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004832/0.6249, allocations: 447.4 kB / 0.594 GB, free: 26.4 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.6253, allocations: 34.66 kB / 0.594 GB, free: 26.37 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005515/0.6308, allocations: 5.367 MB / 0.5992 GB, free: 20.97 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.6311, allocations: 0.9075 MB / 0.6001 GB, free: 20.03 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003549/0.6315, allocations: 47.44 kB / 0.6002 GB, free: 19.98 MB / 462.3 MB Notification: Performance of SimCode: time 8.22e-07/0.6315, allocations: 0 / 0.6002 GB, free: 19.98 MB / 462.3 MB Notification: Performance of Templates: time 0.01059/0.6421, allocations: 8.601 MB / 0.6086 GB, free: 11.41 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.sim & ./ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches