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.0012/0.0012, allocations: 84.78 kB / 16.31 MB, free: 6.449 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.0013/0.0013, allocations: 180.2 kB / 17.21 MB, free: 6.32 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.388/1.388, allocations: 223.3 MB / 241.2 MB, free: 332 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9821/0.9821, allocations: 120.5 MB / 412.8 MB, free: 9.172 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.0003773, allocations: 8 kB / 0.4956 GB, free: 10.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.564/0.5644, allocations: 82.83 MB / 0.5765 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40): time 0.001127/0.5656, allocations: 1.046 MB / 0.5775 GB, free: 41.54 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001875/0.5658, allocations: 70.67 kB / 0.5776 GB, free: 41.49 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.081e-05/0.5658, allocations: 0 / 0.5776 GB, free: 41.49 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.925e-05/0.5659, allocations: 3.984 kB / 0.5776 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 8.517e-05/0.566, allocations: 22.28 kB / 0.5776 GB, free: 41.47 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001244/0.5662, allocations: 22.95 kB / 0.5776 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004553/0.5666, allocations: 0.5633 MB / 0.5782 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.273e-05/0.5667, allocations: 5.5 kB / 0.5782 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.5669, allocations: 242.7 kB / 0.5784 GB, free: 41.02 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004144/0.5673, allocations: 353.8 kB / 0.5787 GB, free: 40.83 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.105e-05/0.5674, allocations: 35.97 kB / 0.5788 GB, free: 40.83 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.773e-05/0.5675, allocations: 35.06 kB / 0.5788 GB, free: 40.83 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002505/0.5677, allocations: 284.9 kB / 0.5791 GB, free: 40.66 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.5679, allocations: 109.5 kB / 0.5792 GB, free: 40.61 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.5682, allocations: 336.6 kB / 0.5795 GB, free: 40.44 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5682, allocations: 0 / 0.5795 GB, free: 40.44 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5682, allocations: 4.844 kB / 0.5795 GB, free: 40.43 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.301e-05/0.5682, allocations: 0 / 0.5795 GB, free: 40.43 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.002335/0.5706, allocations: 1.053 MB / 0.5805 GB, free: 39.73 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.5706, allocations: 8.844 kB / 0.5805 GB, free: 39.73 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.5707, allocations: 60.11 kB / 0.5806 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003894/0.5711, allocations: 322.7 kB / 0.5809 GB, free: 39.43 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.645e-05/0.5712, allocations: 54.03 kB / 0.5809 GB, free: 39.41 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.5713, allocations: 118.8 kB / 0.5811 GB, free: 39.35 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009803/0.5723, allocations: 0.6479 MB / 0.5817 GB, free: 38.98 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.5724, allocations: 4 kB / 0.5817 GB, free: 38.98 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.233e-05/0.5724, allocations: 19.78 kB / 0.5817 GB, free: 38.96 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.5724, allocations: 12.34 kB / 0.5817 GB, free: 38.96 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006829/0.5731, allocations: 401.9 kB / 0.5821 GB, free: 38.79 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003477/0.5766, allocations: 1.836 MB / 0.5839 GB, free: 37.75 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006769/0.5834, allocations: 2.508 MB / 0.5864 GB, free: 35.91 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000441/0.5839, allocations: 366.6 kB / 0.5867 GB, free: 35.55 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.995e-05/0.5839, allocations: 12.66 kB / 0.5867 GB, free: 35.54 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.584, allocations: 47.16 kB / 0.5868 GB, free: 35.48 MB / 462.3 MB Notification: Performance of pre-optimization done (n=82): time 1.813e-06/0.584, allocations: 0 / 0.5868 GB, free: 35.48 MB / 462.3 MB Notification: Performance of matching and sorting (n=82): time 0.001558/0.5855, allocations: 1.109 MB / 0.5878 GB, free: 34.37 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.5856, allocations: 64.05 kB / 0.5879 GB, free: 34.29 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.214e-05/0.5857, allocations: 142 kB / 0.588 GB, free: 34.14 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 5.443e-05/0.5857, allocations: 53.7 kB / 0.5881 GB, free: 34.08 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.073e-05/0.5858, allocations: 145.8 kB / 0.5882 GB, free: 33.93 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.586, allocations: 386.5 kB / 0.5886 GB, free: 33.55 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/0.586, allocations: 28 kB / 0.5886 GB, free: 33.52 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.668e-05/0.5861, allocations: 374.7 kB / 0.589 GB, free: 33.15 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005481/0.5867, allocations: 434.3 kB / 0.5894 GB, free: 32.72 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005453/0.5872, allocations: 467.8 kB / 0.5898 GB, free: 32.27 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006262/0.5879, allocations: 0.5139 MB / 0.5903 GB, free: 31.75 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.5879, allocations: 0 / 0.5903 GB, free: 31.75 MB / 462.3 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.001421/0.5893, allocations: 1.191 MB / 0.5915 GB, free: 30.55 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.5893, allocations: 11.94 kB / 0.5915 GB, free: 30.54 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.5893, allocations: 4 kB / 0.5915 GB, free: 30.54 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.5894, allocations: 4 kB / 0.5915 GB, free: 30.54 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/0.5909, allocations: 451.4 kB / 0.592 GB, free: 30.09 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.5909, allocations: 4 kB / 0.592 GB, free: 30.09 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004195/0.5913, allocations: 126.9 kB / 0.5921 GB, free: 29.96 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-05/0.5914, allocations: 36 kB / 0.5921 GB, free: 29.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002156/0.5916, allocations: 209.5 kB / 0.5923 GB, free: 29.71 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.928e-05/0.5917, allocations: 35.62 kB / 0.5924 GB, free: 29.68 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002794/0.592, allocations: 95.38 kB / 0.5924 GB, free: 29.59 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.592, allocations: 8 kB / 0.5925 GB, free: 29.58 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.592, allocations: 4 kB / 0.5925 GB, free: 29.58 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.592, allocations: 3.984 kB / 0.5925 GB, free: 29.57 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006347/0.5927, allocations: 0.6106 MB / 0.5931 GB, free: 28.91 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.5927, allocations: 0 / 0.5931 GB, free: 28.91 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002123/0.5948, allocations: 447.6 kB / 0.5935 GB, free: 28.48 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.5948, allocations: 4 kB / 0.5935 GB, free: 28.47 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.525e-05/0.5949, allocations: 51.94 kB / 0.5935 GB, free: 28.42 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.5949, allocations: 4 kB / 0.5935 GB, free: 28.42 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5949, allocations: 0 / 0.5935 GB, free: 28.42 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.5964, allocations: 1.273 MB / 0.5948 GB, free: 27.13 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-05/0.5964, allocations: 120.5 kB / 0.5949 GB, free: 26.99 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.5965, allocations: 43.95 kB / 0.5949 GB, free: 26.95 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004263/0.597, allocations: 51.95 kB / 0.595 GB, free: 26.9 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.797e-05/0.5971, allocations: 52.58 kB / 0.595 GB, free: 26.85 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.661e-05/0.5971, allocations: 23.98 kB / 0.5951 GB, free: 26.82 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.593e-05/0.5972, allocations: 91.27 kB / 0.5951 GB, free: 26.73 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5972, allocations: 0 / 0.5951 GB, free: 26.73 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004792/0.5977, allocations: 227.8 kB / 0.5954 GB, free: 26.51 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001608/0.5978, allocations: 163.1 kB / 0.5955 GB, free: 26.34 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.599, allocations: 0.9657 MB / 0.5965 GB, free: 25.38 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.599, allocations: 0 / 0.5965 GB, free: 25.38 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.000485/0.5995, allocations: 443.5 kB / 0.5969 GB, free: 24.94 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.5998, allocations: 37.25 kB / 0.5969 GB, free: 24.9 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005511/0.6054, allocations: 6.534 MB / 0.6033 GB, free: 18.34 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.6057, allocations: 0.9155 MB / 0.6042 GB, free: 17.39 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0007008/0.6064, allocations: 320.5 kB / 0.6045 GB, free: 17.07 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.6066, allocations: 43.44 kB / 0.6045 GB, free: 17.03 MB / 462.3 MB Notification: Performance of SimCode: time 9.82e-07/0.6066, allocations: 0 / 0.6045 GB, free: 17.03 MB / 462.3 MB Notification: Performance of Templates: time 0.008185/0.6148, allocations: 5.411 MB / 0.6098 GB, free: 11.65 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches