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.0009229/0.0009229, allocations: 92.89 kB / 16.95 MB, free: 5.66 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.00106/0.00106, allocations: 187.5 kB / 17.85 MB, free: 5.312 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.295/1.295, allocations: 223.3 MB / 241.9 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9623/0.9623, allocations: 120.5 MB / 413.4 MB, free: 9.258 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.0003455, allocations: 12 kB / 0.4962 GB, free: 10.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5778/0.5782, allocations: 82.83 MB / 0.5771 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40): time 0.001166/0.5794, allocations: 1.057 MB / 0.5781 GB, free: 40.95 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002068/0.5796, allocations: 57 kB / 0.5782 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.351e-05/0.5797, allocations: 0 / 0.5782 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.616e-05/0.5798, allocations: 5.031 kB / 0.5782 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 8.763e-05/0.5799, allocations: 24.95 kB / 0.5782 GB, free: 40.89 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.58, allocations: 23.7 kB / 0.5782 GB, free: 40.88 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004865/0.5805, allocations: 0.5668 MB / 0.5788 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.595e-05/0.5806, allocations: 6.688 kB / 0.5788 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.5808, allocations: 246.8 kB / 0.579 GB, free: 40.43 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003945/0.5812, allocations: 349.6 kB / 0.5793 GB, free: 40.24 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.699e-05/0.5813, allocations: 35.75 kB / 0.5794 GB, free: 40.24 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.625e-05/0.5813, allocations: 35.75 kB / 0.5794 GB, free: 40.24 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002248/0.5816, allocations: 283.6 kB / 0.5797 GB, free: 40.07 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.5817, allocations: 109.8 kB / 0.5798 GB, free: 40.02 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.582, allocations: 340.4 kB / 0.5801 GB, free: 39.84 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.582, allocations: 0 / 0.5801 GB, free: 39.84 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.934e-06/0.582, allocations: 1.281 kB / 0.5801 GB, free: 39.84 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.582, allocations: 0 / 0.5801 GB, free: 39.84 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.0021/0.5841, allocations: 1.049 MB / 0.5811 GB, free: 39.14 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.5842, allocations: 9.219 kB / 0.5811 GB, free: 39.14 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.5843, allocations: 59.42 kB / 0.5812 GB, free: 39.11 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004076/0.5847, allocations: 329.8 kB / 0.5815 GB, free: 38.84 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.366e-05/0.5848, allocations: 54.53 kB / 0.5816 GB, free: 38.81 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.5849, allocations: 114.9 kB / 0.5817 GB, free: 38.76 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009387/0.5859, allocations: 0.6497 MB / 0.5823 GB, free: 38.39 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.5859, allocations: 1.281 kB / 0.5823 GB, free: 38.39 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.236e-05/0.5859, allocations: 15.75 kB / 0.5823 GB, free: 38.38 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.586, allocations: 15.33 kB / 0.5823 GB, free: 38.37 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006106/0.5866, allocations: 398.9 kB / 0.5827 GB, free: 38.2 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003368/0.59, allocations: 1.832 MB / 0.5845 GB, free: 37.16 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006761/0.5967, allocations: 2.51 MB / 0.587 GB, free: 35.96 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004195/0.5972, allocations: 374.6 kB / 0.5873 GB, free: 35.59 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.353e-05/0.5972, allocations: 8.656 kB / 0.5873 GB, free: 35.58 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.5973, allocations: 43.22 kB / 0.5874 GB, free: 35.53 MB / 462.3 MB Notification: Performance of pre-optimization done (n=82): time 2.224e-06/0.5973, allocations: 0 / 0.5874 GB, free: 35.53 MB / 462.3 MB Notification: Performance of matching and sorting (n=82): time 0.001451/0.5987, allocations: 1.109 MB / 0.5885 GB, free: 34.41 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.5988, allocations: 64 kB / 0.5885 GB, free: 34.34 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.875e-05/0.5988, allocations: 142 kB / 0.5887 GB, free: 34.18 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 5.086e-05/0.5989, allocations: 49.7 kB / 0.5887 GB, free: 34.13 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.05e-05/0.599, allocations: 157.8 kB / 0.5888 GB, free: 33.97 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.5991, allocations: 382.5 kB / 0.5892 GB, free: 33.59 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-05/0.5992, allocations: 24 kB / 0.5892 GB, free: 33.57 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.786e-05/0.5993, allocations: 366.7 kB / 0.5896 GB, free: 33.2 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005196/0.5998, allocations: 446.3 kB / 0.59 GB, free: 32.76 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005224/0.6003, allocations: 459.5 kB / 0.5904 GB, free: 32.31 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006048/0.601, allocations: 0.5139 MB / 0.591 GB, free: 31.8 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.601, allocations: 384 / 0.591 GB, free: 31.8 MB / 462.3 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.001327/0.6023, allocations: 1.195 MB / 0.5921 GB, free: 30.6 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.6023, allocations: 8 kB / 0.5921 GB, free: 30.59 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.6023, allocations: 0 / 0.5921 GB, free: 30.59 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.6024, allocations: 11.94 kB / 0.5921 GB, free: 30.58 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.6037, allocations: 443.5 kB / 0.5926 GB, free: 30.14 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.6038, allocations: 8 kB / 0.5926 GB, free: 30.14 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003639/0.6041, allocations: 126.9 kB / 0.5927 GB, free: 30.01 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.237e-05/0.6042, allocations: 36 kB / 0.5927 GB, free: 29.98 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.0001826/0.6044, allocations: 213.5 kB / 0.5929 GB, free: 29.76 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.153e-05/0.6044, allocations: 39.56 kB / 0.593 GB, free: 29.72 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/0.6047, allocations: 95.38 kB / 0.5931 GB, free: 29.63 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.6047, allocations: 8 kB / 0.5931 GB, free: 29.62 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.6047, allocations: 4 kB / 0.5931 GB, free: 29.62 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.6048, allocations: 3.984 kB / 0.5931 GB, free: 29.61 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000596/0.6054, allocations: 0.6067 MB / 0.5937 GB, free: 28.96 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.6054, allocations: 3.938 kB / 0.5937 GB, free: 28.95 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002003/0.6074, allocations: 451.6 kB / 0.5941 GB, free: 28.51 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.6074, allocations: 4 kB / 0.5941 GB, free: 28.51 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.148e-05/0.6075, allocations: 43.95 kB / 0.5941 GB, free: 28.46 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.6075, allocations: 4 kB / 0.5941 GB, free: 28.46 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.6075, allocations: 0 / 0.5941 GB, free: 28.46 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.6089, allocations: 1.277 MB / 0.5954 GB, free: 27.17 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.341e-05/0.609, allocations: 124.5 kB / 0.5955 GB, free: 27.03 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.6091, allocations: 43.97 kB / 0.5956 GB, free: 26.98 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003915/0.6095, allocations: 47.94 kB / 0.5956 GB, free: 26.94 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.653e-05/0.6096, allocations: 52.58 kB / 0.5957 GB, free: 26.89 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-05/0.6096, allocations: 23.98 kB / 0.5957 GB, free: 26.86 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.588e-05/0.6097, allocations: 91.27 kB / 0.5958 GB, free: 26.77 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6097, allocations: 4 kB / 0.5958 GB, free: 26.77 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004315/0.6101, allocations: 223.8 kB / 0.596 GB, free: 26.55 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.0001586/0.6103, allocations: 167.1 kB / 0.5961 GB, free: 26.38 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.6114, allocations: 0.9657 MB / 0.5971 GB, free: 25.41 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6114, allocations: 0 / 0.5971 GB, free: 25.41 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004717/0.6119, allocations: 443.5 kB / 0.5975 GB, free: 24.97 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.6122, allocations: 40.95 kB / 0.5975 GB, free: 24.93 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005423/0.6176, allocations: 6.567 MB / 0.604 GB, free: 18.33 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.6179, allocations: 0.9116 MB / 0.6048 GB, free: 17.39 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/0.6182, allocations: 51.44 kB / 0.6049 GB, free: 17.34 MB / 462.3 MB Notification: Performance of SimCode: time 3.31e-07/0.6182, allocations: 3.938 kB / 0.6049 GB, free: 17.33 MB / 462.3 MB Notification: Performance of Templates: time 0.008269/0.6265, allocations: 8.379 MB / 0.6131 GB, free: 8.98 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.makefile make -j1 -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40CalcHelperMain.o OMCppScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40CalcHelperMain.o] Error 1