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.001349/0.001349, allocations: 104.6 kB / 16.92 MB, free: 5.781 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.00124/0.00124, allocations: 191.5 kB / 17.85 MB, free: 5.164 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.46/1.46, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.191/1.191, allocations: 119.3 MB / 411 MB, free: 9.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 55.91 kB / 0.4923 GB, free: 12.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.671/0.6725, allocations: 80.68 MB / 0.5711 GB, free: 43.75 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40): time 0.0024/0.6749, allocations: 1.349 MB / 0.5724 GB, free: 42.68 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002482/0.6752, allocations: 57.27 kB / 0.5725 GB, free: 42.64 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.481e-05/0.6753, allocations: 0 / 0.5725 GB, free: 42.64 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.6754, allocations: 9.359 kB / 0.5725 GB, free: 42.63 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.592e-05/0.6755, allocations: 24.34 kB / 0.5725 GB, free: 42.61 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001512/0.6757, allocations: 15.06 kB / 0.5725 GB, free: 42.6 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005478/0.6762, allocations: 0.6562 MB / 0.5731 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.302e-05/0.6763, allocations: 10.33 kB / 0.5732 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.6765, allocations: 240.6 kB / 0.5734 GB, free: 42.14 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000383/0.6769, allocations: 313.1 kB / 0.5737 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.851e-05/0.677, allocations: 35.41 kB / 0.5737 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.6771, allocations: 36.81 kB / 0.5738 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002339/0.6773, allocations: 275.5 kB / 0.574 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002893/0.6776, allocations: 289.2 kB / 0.5743 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003974/0.678, allocations: 479 kB / 0.5747 GB, free: 41.34 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.678, allocations: 0 / 0.5747 GB, free: 41.34 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.222e-06/0.6781, allocations: 0 / 0.5747 GB, free: 41.34 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.6781, allocations: 1.219 kB / 0.5747 GB, free: 41.34 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.002505/0.6806, allocations: 1.132 MB / 0.5759 GB, free: 40.56 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.6806, allocations: 13.39 kB / 0.5759 GB, free: 40.56 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.6808, allocations: 60.91 kB / 0.5759 GB, free: 40.54 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/0.6812, allocations: 323.2 kB / 0.5762 GB, free: 40.27 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.579e-05/0.6813, allocations: 54.97 kB / 0.5763 GB, free: 40.24 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/0.6815, allocations: 122.9 kB / 0.5764 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.6825, allocations: 0.6497 MB / 0.577 GB, free: 39.81 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.6825, allocations: 1.562 kB / 0.577 GB, free: 39.81 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-05/0.6826, allocations: 20.06 kB / 0.5771 GB, free: 39.8 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.6826, allocations: 11 kB / 0.5771 GB, free: 39.8 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006883/0.6833, allocations: 398.2 kB / 0.5774 GB, free: 39.63 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003699/0.687, allocations: 1.798 MB / 0.5792 GB, free: 38.59 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007532/0.6945, allocations: 2.509 MB / 0.5817 GB, free: 37.56 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006474/0.6952, allocations: 375.7 kB / 0.582 GB, free: 37.39 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.142e-05/0.6953, allocations: 7.594 kB / 0.582 GB, free: 37.39 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.6953, allocations: 50.47 kB / 0.5821 GB, free: 37.33 MB / 462.3 MB Notification: Performance of pre-optimization done (n=82): time 2.645e-06/0.6953, allocations: 1.375 kB / 0.5821 GB, free: 37.33 MB / 462.3 MB Notification: Performance of matching and sorting (n=82): time 0.001975/0.6973, allocations: 1.097 MB / 0.5831 GB, free: 36.84 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.6974, allocations: 63.38 kB / 0.5832 GB, free: 36.77 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.6975, allocations: 144 kB / 0.5833 GB, free: 36.64 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.211e-05/0.6976, allocations: 50.77 kB / 0.5834 GB, free: 36.59 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 7.762e-05/0.6977, allocations: 152.9 kB / 0.5835 GB, free: 36.45 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/0.6979, allocations: 381.4 kB / 0.5839 GB, free: 36.12 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002943/0.6982, allocations: 240.1 kB / 0.5841 GB, free: 35.96 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.523e-05/0.6983, allocations: 362.8 kB / 0.5845 GB, free: 35.6 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005496/0.6988, allocations: 458.2 kB / 0.5849 GB, free: 35.15 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005263/0.6993, allocations: 459.5 kB / 0.5853 GB, free: 34.7 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.7004, allocations: 0.9805 MB / 0.5863 GB, free: 33.72 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.7005, allocations: 0 / 0.5863 GB, free: 33.72 MB / 462.3 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.001428/0.7019, allocations: 1.211 MB / 0.5875 GB, free: 32.5 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.7019, allocations: 4 kB / 0.5875 GB, free: 32.5 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.7019, allocations: 0 / 0.5875 GB, free: 32.5 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.702, allocations: 4 kB / 0.5875 GB, free: 32.49 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/0.7034, allocations: 447.5 kB / 0.5879 GB, free: 32.05 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/0.7035, allocations: 8 kB / 0.5879 GB, free: 32.05 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004961/0.704, allocations: 122.9 kB / 0.588 GB, free: 31.93 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.736e-05/0.704, allocations: 40 kB / 0.5881 GB, free: 31.89 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.0002478/0.7043, allocations: 209.5 kB / 0.5883 GB, free: 31.67 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.445e-05/0.7044, allocations: 35.66 kB / 0.5883 GB, free: 31.64 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.7046, allocations: 99.39 kB / 0.5884 GB, free: 31.54 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.7046, allocations: 8 kB / 0.5884 GB, free: 31.53 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.739e-05/0.7047, allocations: 0 / 0.5884 GB, free: 31.53 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.7047, allocations: 3.984 kB / 0.5884 GB, free: 31.53 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006383/0.7053, allocations: 0.6106 MB / 0.589 GB, free: 30.87 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.7053, allocations: 0 / 0.589 GB, free: 30.87 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002076/0.7074, allocations: 455.5 kB / 0.5895 GB, free: 30.42 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.7074, allocations: 4 kB / 0.5895 GB, free: 30.42 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.615e-05/0.7075, allocations: 47.94 kB / 0.5895 GB, free: 30.37 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.7075, allocations: 4 kB / 0.5895 GB, free: 30.37 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.7075, allocations: 7.938 kB / 0.5895 GB, free: 30.36 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.7091, allocations: 1.273 MB / 0.5908 GB, free: 29.07 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.105e-05/0.7091, allocations: 112.6 kB / 0.5909 GB, free: 28.94 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.7092, allocations: 47.95 kB / 0.5909 GB, free: 28.89 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004655/0.7097, allocations: 47.95 kB / 0.591 GB, free: 28.85 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.7098, allocations: 48.58 kB / 0.591 GB, free: 28.8 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.774e-05/0.7099, allocations: 27.98 kB / 0.591 GB, free: 28.77 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.584e-05/0.7099, allocations: 95.58 kB / 0.5911 GB, free: 28.68 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.21e-07/0.71, allocations: 3.938 kB / 0.5911 GB, free: 28.68 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004808/0.7104, allocations: 235.8 kB / 0.5914 GB, free: 28.45 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.0001747/0.7106, allocations: 159.6 kB / 0.5915 GB, free: 28.28 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001686/0.7123, allocations: 1.411 MB / 0.5929 GB, free: 26.87 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.7123, allocations: 0 / 0.5929 GB, free: 26.87 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004828/0.7128, allocations: 447.5 kB / 0.5933 GB, free: 26.44 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.7132, allocations: 28 kB / 0.5933 GB, free: 26.41 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00539/0.7186, allocations: 5.318 MB / 0.5985 GB, free: 21.06 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.719, allocations: 0.9075 MB / 0.5994 GB, free: 20.12 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0006901/0.7197, allocations: 316.5 kB / 0.5997 GB, free: 19.81 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.7199, allocations: 43.44 kB / 0.5998 GB, free: 19.77 MB / 462.3 MB Notification: Performance of SimCode: time 6.32e-07/0.7199, allocations: 0 / 0.5998 GB, free: 19.77 MB / 462.3 MB Notification: Performance of Templates: time 0.009072/0.729, allocations: 5.772 MB / 0.6054 GB, free: 14.03 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches