Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.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_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.1.|cur.20.|cur.2.|cur.3.|cur.4.|cur.5.|der.cur.1..|der.cur.2..|der.cur.3..|der.cur.4..|der.cur.5..|der.vol.1..|der.vol.20..|der.vol.2..|der.vol.3..|der.vol.4..|der.vol.5..|time|time|vol.1.|vol.20.|vol.2.|vol.3.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20") translateModel(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.1.|cur.20.|cur.2.|cur.3.|cur.4.|cur.5.|der.cur.1..|der.cur.2..|der.cur.3..|der.cur.4..|der.cur.5..|der.vol.1..|der.vol.20..|der.vol.2..|der.vol.3..|der.vol.4..|der.vol.5..|time|time|vol.1.|vol.20.|vol.2.|vol.3.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 115.2 kB / 16.62 MB, free: 6.809 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.001181/0.001181, allocations: 194 kB / 17.55 MB, free: 5.926 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.433/1.433, allocations: 222.9 MB / 241.2 MB, free: 13.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.29/1.29, allocations: 119.3 MB / 410.7 MB, free: 9.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 67.89 kB / 0.4918 GB, free: 12.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.67/0.6717, allocations: 80.68 MB / 0.5706 GB, free: 43.52 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.002976/0.6748, allocations: 1.4 MB / 0.5719 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002725/0.6751, allocations: 57.53 kB / 0.572 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.334e-05/0.6751, allocations: 7.875 kB / 0.572 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.6752, allocations: 1.375 kB / 0.572 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.6754, allocations: 22.64 kB / 0.572 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.6756, allocations: 17.42 kB / 0.572 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004348/0.676, allocations: 349.9 kB / 0.5724 GB, free: 42.15 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.694e-05/0.6761, allocations: 9.547 kB / 0.5724 GB, free: 42.15 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.6763, allocations: 128.7 kB / 0.5725 GB, free: 42.09 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002699/0.6765, allocations: 178.4 kB / 0.5727 GB, free: 41.99 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.806e-05/0.6766, allocations: 29.92 kB / 0.5727 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.056e-05/0.6767, allocations: 17.88 kB / 0.5727 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.6768, allocations: 139.2 kB / 0.5729 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.677, allocations: 147.9 kB / 0.573 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.6772, allocations: 247.7 kB / 0.5732 GB, free: 41.66 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.6773, allocations: 1.562 kB / 0.5732 GB, free: 41.66 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.815e-06/0.6773, allocations: 0 / 0.5732 GB, free: 41.66 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.6773, allocations: 0 / 0.5732 GB, free: 41.66 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001617/0.6789, allocations: 0.7305 MB / 0.574 GB, free: 41.09 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.679, allocations: 16.95 kB / 0.574 GB, free: 41.09 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.498e-05/0.6791, allocations: 32.31 kB / 0.574 GB, free: 41.07 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.6794, allocations: 245.3 kB / 0.5742 GB, free: 40.84 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.784e-05/0.6794, allocations: 29 kB / 0.5743 GB, free: 40.82 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.6795, allocations: 56.47 kB / 0.5743 GB, free: 40.8 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006194/0.6801, allocations: 347.3 kB / 0.5746 GB, free: 40.6 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.6802, allocations: 1.594 kB / 0.5746 GB, free: 40.6 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.6802, allocations: 14.22 kB / 0.5747 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.6802, allocations: 9.062 kB / 0.5747 GB, free: 40.58 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004095/0.6807, allocations: 205.7 kB / 0.5749 GB, free: 40.5 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002139/0.6828, allocations: 1.001 MB / 0.5758 GB, free: 39.85 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003871/0.6867, allocations: 1.217 MB / 0.577 GB, free: 39.35 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000296/0.687, allocations: 190.2 kB / 0.5772 GB, free: 39.26 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.052e-05/0.687, allocations: 3.75 kB / 0.5772 GB, free: 39.26 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.6871, allocations: 41.53 kB / 0.5773 GB, free: 39.21 MB / 462.3 MB Notification: Performance of pre-optimization done (n=42): time 2.856e-06/0.6871, allocations: 3.984 kB / 0.5773 GB, free: 39.21 MB / 462.3 MB Notification: Performance of matching and sorting (n=42): time 0.001105/0.6882, allocations: 0.5705 MB / 0.5778 GB, free: 38.94 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.6882, allocations: 60.91 kB / 0.5779 GB, free: 38.87 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.981e-05/0.6883, allocations: 127.7 kB / 0.578 GB, free: 38.75 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/0.6884, allocations: 36.83 kB / 0.578 GB, free: 38.71 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.6884, allocations: 117.4 kB / 0.5781 GB, free: 38.6 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.6886, allocations: 194.3 kB / 0.5783 GB, free: 38.43 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.6888, allocations: 127.5 kB / 0.5785 GB, free: 38.35 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.807e-05/0.6889, allocations: 343 kB / 0.5788 GB, free: 38.01 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/0.6892, allocations: 222.6 kB / 0.579 GB, free: 37.91 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003826/0.6896, allocations: 236.7 kB / 0.5792 GB, free: 37.81 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007413/0.6904, allocations: 0.4981 MB / 0.5797 GB, free: 37.57 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.6904, allocations: 0 / 0.5797 GB, free: 37.57 MB / 462.3 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009151/0.6913, allocations: 0.6217 MB / 0.5803 GB, free: 37.29 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.6913, allocations: 5.062 kB / 0.5803 GB, free: 37.29 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.6914, allocations: 0 / 0.5803 GB, free: 37.29 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.6914, allocations: 3.781 kB / 0.5803 GB, free: 37.29 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008921/0.6923, allocations: 228.6 kB / 0.5805 GB, free: 37.23 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.6923, allocations: 2.5 kB / 0.5805 GB, free: 37.23 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.6926, allocations: 63.88 kB / 0.5806 GB, free: 37.19 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/0.6926, allocations: 20.59 kB / 0.5806 GB, free: 37.18 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 (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 prepare postOptimizeDAE: time 0.0001424/0.6927, allocations: 157.9 kB / 0.5808 GB, free: 37.04 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.492e-05/0.6928, allocations: 23.12 kB / 0.5808 GB, free: 37.02 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.6929, allocations: 51.22 kB / 0.5808 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.6929, allocations: 3.781 kB / 0.5808 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.693, allocations: 1.25 kB / 0.5808 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.693, allocations: 3.984 kB / 0.5808 GB, free: 36.97 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004523/0.6934, allocations: 392.2 kB / 0.5812 GB, free: 36.65 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.6934, allocations: 3.938 kB / 0.5812 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/0.6947, allocations: 222.1 kB / 0.5814 GB, free: 36.6 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.6947, allocations: 2.531 kB / 0.5814 GB, free: 36.6 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.786e-05/0.6948, allocations: 27.84 kB / 0.5815 GB, free: 36.58 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.6948, allocations: 6.531 kB / 0.5815 GB, free: 36.58 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6948, allocations: 4 kB / 0.5815 GB, free: 36.57 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.6958, allocations: 0.6989 MB / 0.5822 GB, free: 36.2 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.6958, allocations: 103.3 kB / 0.5823 GB, free: 36.09 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.779e-05/0.6959, allocations: 19.14 kB / 0.5823 GB, free: 36.08 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/0.6962, allocations: 25.91 kB / 0.5823 GB, free: 36.07 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.233e-05/0.6963, allocations: 23.97 kB / 0.5823 GB, free: 36.05 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.983e-05/0.6963, allocations: 15.73 kB / 0.5823 GB, free: 36.05 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.277e-05/0.6964, allocations: 92.95 kB / 0.5824 GB, free: 35.96 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6964, allocations: 1.531 kB / 0.5824 GB, free: 35.96 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003929/0.6968, allocations: 118.5 kB / 0.5825 GB, free: 35.94 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (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],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],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 (42): * Single equations (assignments): 42 * 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.0001535/0.6969, allocations: 126.8 kB / 0.5827 GB, free: 35.84 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009899/0.6979, allocations: 0.6093 MB / 0.5833 GB, free: 35.62 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.6979, allocations: 0 / 0.5833 GB, free: 35.62 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003466/0.6983, allocations: 229.2 kB / 0.5835 GB, free: 35.52 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.6986, allocations: 19.88 kB / 0.5835 GB, free: 35.5 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003205/0.7018, allocations: 2.808 MB / 0.5862 GB, free: 33.21 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.7021, allocations: 0.7936 MB / 0.587 GB, free: 32.46 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003655/0.7025, allocations: 155.2 kB / 0.5872 GB, free: 32.4 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.7026, allocations: 26.91 kB / 0.5872 GB, free: 32.39 MB / 462.3 MB Notification: Performance of SimCode: time 3.21e-07/0.7026, allocations: 4 kB / 0.5872 GB, free: 32.39 MB / 462.3 MB Notification: Performance of Templates: time 0.005341/0.7079, allocations: 3.067 MB / 0.5902 GB, free: 29.41 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches