Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001274/0.001274, allocations: 107.7 kB / 16.51 MB, free: 6.707 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.001237/0.001237, allocations: 193.9 kB / 17.43 MB, free: 6.062 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.307/1.307, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.08/1.08, allocations: 119.3 MB / 410.6 MB, free: 9.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 59.91 kB / 0.4916 GB, free: 12.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6579/0.6592, allocations: 80.68 MB / 0.5704 GB, free: 43.89 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40): time 0.002457/0.6618, allocations: 1.411 MB / 0.5718 GB, free: 42.77 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002132/0.662, allocations: 66.02 kB / 0.5718 GB, free: 42.72 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.604e-05/0.662, allocations: 0 / 0.5718 GB, free: 42.72 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.6621, allocations: 1.344 kB / 0.5718 GB, free: 42.72 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.276e-05/0.6623, allocations: 15.73 kB / 0.5718 GB, free: 42.71 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.6624, allocations: 20.08 kB / 0.5719 GB, free: 42.69 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005487/0.663, allocations: 0.661 MB / 0.5725 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.193e-05/0.663, allocations: 8.062 kB / 0.5725 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.6633, allocations: 235.7 kB / 0.5727 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004459/0.6637, allocations: 343.2 kB / 0.5731 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.6638, allocations: 35.25 kB / 0.5731 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.6639, allocations: 36.38 kB / 0.5731 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002429/0.6642, allocations: 274.2 kB / 0.5734 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003065/0.6645, allocations: 288.9 kB / 0.5737 GB, free: 41.71 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004475/0.665, allocations: 472.2 kB / 0.5741 GB, free: 41.44 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.665, allocations: 3.984 kB / 0.5741 GB, free: 41.44 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.092e-06/0.665, allocations: 4 kB / 0.5741 GB, free: 41.43 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.665, allocations: 0 / 0.5741 GB, free: 41.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.002739/0.6677, allocations: 1.125 MB / 0.5752 GB, free: 40.67 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.6678, allocations: 10.03 kB / 0.5752 GB, free: 40.67 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.668, allocations: 59.34 kB / 0.5753 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.6684, allocations: 329.5 kB / 0.5756 GB, free: 40.37 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.839e-05/0.6684, allocations: 54.38 kB / 0.5757 GB, free: 40.34 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/0.6686, allocations: 118.2 kB / 0.5758 GB, free: 40.29 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.6697, allocations: 0.6496 MB / 0.5764 GB, free: 39.92 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.6697, allocations: 1.562 kB / 0.5764 GB, free: 39.92 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.279e-05/0.6698, allocations: 20.06 kB / 0.5764 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.6698, allocations: 11 kB / 0.5764 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007042/0.6705, allocations: 402.2 kB / 0.5768 GB, free: 39.73 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003987/0.6745, allocations: 1.793 MB / 0.5786 GB, free: 38.69 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008154/0.6827, allocations: 2.518 MB / 0.581 GB, free: 37.66 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007018/0.6834, allocations: 368.7 kB / 0.5814 GB, free: 37.49 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 7.062e-05/0.6835, allocations: 8.469 kB / 0.5814 GB, free: 37.49 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.6835, allocations: 46.56 kB / 0.5814 GB, free: 37.44 MB / 462.3 MB Notification: Performance of pre-optimization done (n=82): time 3.346e-06/0.6835, allocations: 0 / 0.5814 GB, free: 37.44 MB / 462.3 MB Notification: Performance of matching and sorting (n=82): time 0.002058/0.6856, allocations: 1.109 MB / 0.5825 GB, free: 36.93 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.6857, allocations: 64.44 kB / 0.5826 GB, free: 36.87 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.6858, allocations: 143 kB / 0.5827 GB, free: 36.74 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.349e-05/0.6858, allocations: 52.05 kB / 0.5828 GB, free: 36.69 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 8.159e-05/0.6859, allocations: 147.7 kB / 0.5829 GB, free: 36.55 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/0.6862, allocations: 381.4 kB / 0.5833 GB, free: 36.21 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003025/0.6865, allocations: 237.8 kB / 0.5835 GB, free: 36.09 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.678e-05/0.6866, allocations: 363.5 kB / 0.5838 GB, free: 35.74 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005725/0.6872, allocations: 450.4 kB / 0.5843 GB, free: 35.3 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005569/0.6877, allocations: 463.5 kB / 0.5847 GB, free: 34.84 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.6889, allocations: 0.9844 MB / 0.5857 GB, free: 33.86 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.6889, allocations: 0 / 0.5857 GB, free: 33.86 MB / 462.3 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.001503/0.6904, allocations: 1.207 MB / 0.5869 GB, free: 32.64 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.6904, allocations: 4 kB / 0.5869 GB, free: 32.64 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.6904, allocations: 0 / 0.5869 GB, free: 32.64 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.6905, allocations: 8 kB / 0.5869 GB, free: 32.63 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.692, allocations: 451.5 kB / 0.5873 GB, free: 32.19 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.692, allocations: 4 kB / 0.5873 GB, free: 32.18 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004351/0.6925, allocations: 122.9 kB / 0.5874 GB, free: 32.06 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-05/0.6925, allocations: 43.98 kB / 0.5875 GB, free: 32.02 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.0002444/0.6928, allocations: 205.5 kB / 0.5877 GB, free: 31.81 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.677e-05/0.6929, allocations: 35.66 kB / 0.5877 GB, free: 31.77 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000173/0.6931, allocations: 95.39 kB / 0.5878 GB, free: 31.68 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.6931, allocations: 8 kB / 0.5878 GB, free: 31.67 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.739e-05/0.6931, allocations: 0 / 0.5878 GB, free: 31.67 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.6931, allocations: 7.969 kB / 0.5878 GB, free: 31.66 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006845/0.6938, allocations: 0.6106 MB / 0.5884 GB, free: 31 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.6938, allocations: 0 / 0.5884 GB, free: 31 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00228/0.6961, allocations: 451.5 kB / 0.5888 GB, free: 30.56 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.258e-06/0.6961, allocations: 4 kB / 0.5888 GB, free: 30.56 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.246e-05/0.6962, allocations: 47.94 kB / 0.5889 GB, free: 30.51 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.6962, allocations: 4 kB / 0.5889 GB, free: 30.51 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.6962, allocations: 384 / 0.5889 GB, free: 30.51 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.6978, allocations: 1.273 MB / 0.5901 GB, free: 29.22 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.849e-05/0.6978, allocations: 116.6 kB / 0.5902 GB, free: 29.09 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.698, allocations: 47.95 kB / 0.5903 GB, free: 29.04 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004764/0.6984, allocations: 59.75 kB / 0.5903 GB, free: 28.98 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.6986, allocations: 48.58 kB / 0.5904 GB, free: 28.94 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-05/0.6986, allocations: 27.98 kB / 0.5904 GB, free: 28.91 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.861e-05/0.6987, allocations: 91.27 kB / 0.5905 GB, free: 28.82 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6987, allocations: 4 kB / 0.5905 GB, free: 28.82 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005221/0.6992, allocations: 227.8 kB / 0.5907 GB, free: 28.59 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.0001756/0.6994, allocations: 167 kB / 0.5909 GB, free: 28.42 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.7006, allocations: 0.9696 MB / 0.5918 GB, free: 27.45 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.7006, allocations: 0 / 0.5918 GB, free: 27.45 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005021/0.7011, allocations: 443.5 kB / 0.5922 GB, free: 27.02 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.7015, allocations: 39.88 kB / 0.5923 GB, free: 26.98 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005756/0.7073, allocations: 5.488 MB / 0.5976 GB, free: 21.46 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.7076, allocations: 0.9078 MB / 0.5985 GB, free: 20.52 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0008422/0.7085, allocations: 320.5 kB / 0.5988 GB, free: 20.21 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.7087, allocations: 43.44 kB / 0.5989 GB, free: 20.16 MB / 462.3 MB Notification: Performance of SimCode: time 1.062e-06/0.7087, allocations: 0 / 0.5989 GB, free: 20.16 MB / 462.3 MB Notification: Performance of Templates: time 0.01302/0.7218, allocations: 5.666 MB / 0.6044 GB, free: 14.53 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches