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.00125/0.00125, allocations: 105.6 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.001455/0.001455, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.431/1.431, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.125/1.125, allocations: 119.3 MB / 410.7 MB, free: 9.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 59.91 kB / 0.4918 GB, free: 12.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6507/0.6523, allocations: 80.68 MB / 0.5706 GB, free: 43.94 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40): time 0.002607/0.655, allocations: 1.407 MB / 0.5719 GB, free: 42.82 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002438/0.6553, allocations: 58.23 kB / 0.572 GB, free: 42.78 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.643e-05/0.6553, allocations: 3.938 kB / 0.572 GB, free: 42.78 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.6554, allocations: 7.984 kB / 0.572 GB, free: 42.77 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.792e-05/0.6555, allocations: 15.78 kB / 0.572 GB, free: 42.76 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001601/0.6557, allocations: 21.12 kB / 0.572 GB, free: 42.74 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006281/0.6563, allocations: 0.6526 MB / 0.5727 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.023e-05/0.6564, allocations: 8.734 kB / 0.5727 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002615/0.6567, allocations: 235 kB / 0.5729 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000438/0.6571, allocations: 347.2 kB / 0.5732 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.775e-05/0.6572, allocations: 34.72 kB / 0.5733 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.83e-05/0.6573, allocations: 40.31 kB / 0.5733 GB, free: 42.09 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002465/0.6576, allocations: 275.9 kB / 0.5736 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002873/0.6579, allocations: 284.5 kB / 0.5738 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004064/0.6583, allocations: 483.6 kB / 0.5743 GB, free: 41.48 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.6583, allocations: 0 / 0.5743 GB, free: 41.48 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6583, allocations: 0 / 0.5743 GB, free: 41.48 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.6583, allocations: 0 / 0.5743 GB, free: 41.48 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.002586/0.6609, allocations: 1.129 MB / 0.5754 GB, free: 40.71 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.661, allocations: 13.83 kB / 0.5754 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.6611, allocations: 60 kB / 0.5755 GB, free: 40.68 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003912/0.6615, allocations: 323.7 kB / 0.5758 GB, free: 40.41 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.613e-05/0.6615, allocations: 54.25 kB / 0.5758 GB, free: 40.38 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.6617, allocations: 115.2 kB / 0.576 GB, free: 40.33 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.6627, allocations: 0.6497 MB / 0.5766 GB, free: 39.96 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.6628, allocations: 1.094 kB / 0.5766 GB, free: 39.96 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.002e-05/0.6628, allocations: 27.62 kB / 0.5766 GB, free: 39.93 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.6628, allocations: 12 kB / 0.5766 GB, free: 39.93 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006883/0.6635, allocations: 397.9 kB / 0.577 GB, free: 39.76 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003694/0.6672, allocations: 1.794 MB / 0.5788 GB, free: 38.73 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007533/0.6748, allocations: 2.513 MB / 0.5812 GB, free: 37.7 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005558/0.6754, allocations: 372.6 kB / 0.5816 GB, free: 37.53 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.666e-05/0.6754, allocations: 8.469 kB / 0.5816 GB, free: 37.53 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.6755, allocations: 46.64 kB / 0.5816 GB, free: 37.48 MB / 462.3 MB Notification: Performance of pre-optimization done (n=82): time 2.765e-06/0.6755, allocations: 4 kB / 0.5816 GB, free: 37.47 MB / 462.3 MB Notification: Performance of matching and sorting (n=82): time 0.001936/0.6774, allocations: 1.098 MB / 0.5827 GB, free: 36.98 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.6775, allocations: 63.91 kB / 0.5828 GB, free: 36.91 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.6776, allocations: 148.2 kB / 0.5829 GB, free: 36.78 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.371e-05/0.6777, allocations: 51.48 kB / 0.5829 GB, free: 36.73 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.595e-05/0.6777, allocations: 143.9 kB / 0.5831 GB, free: 36.6 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/0.6779, allocations: 386.1 kB / 0.5835 GB, free: 36.26 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002611/0.6782, allocations: 241 kB / 0.5837 GB, free: 36.05 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.539e-05/0.6783, allocations: 370.8 kB / 0.584 GB, free: 35.68 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005305/0.6788, allocations: 446.3 kB / 0.5845 GB, free: 35.24 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005257/0.6794, allocations: 463.5 kB / 0.5849 GB, free: 34.79 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.6804, allocations: 0.9766 MB / 0.5859 GB, free: 33.81 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.6804, allocations: 0 / 0.5859 GB, free: 33.81 MB / 462.3 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.001354/0.6818, allocations: 1.215 MB / 0.587 GB, free: 32.59 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.6818, allocations: 4 kB / 0.587 GB, free: 32.58 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.6818, allocations: 4 kB / 0.587 GB, free: 32.58 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.6818, allocations: 7.984 kB / 0.5871 GB, free: 32.57 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/0.6833, allocations: 443.5 kB / 0.5875 GB, free: 32.14 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.6834, allocations: 8 kB / 0.5875 GB, free: 32.13 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004444/0.6838, allocations: 130.9 kB / 0.5876 GB, free: 32 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.483e-05/0.6839, allocations: 36 kB / 0.5876 GB, free: 31.96 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.0002148/0.6841, allocations: 209.5 kB / 0.5878 GB, free: 31.75 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.771e-05/0.6842, allocations: 35.66 kB / 0.5879 GB, free: 31.71 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/0.6843, allocations: 95.38 kB / 0.588 GB, free: 31.62 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.6844, allocations: 8 kB / 0.588 GB, free: 31.61 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/0.6844, allocations: 0 / 0.588 GB, free: 31.61 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.6844, allocations: 3.984 kB / 0.588 GB, free: 31.61 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006183/0.685, allocations: 0.6028 MB / 0.5886 GB, free: 30.96 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.685, allocations: 3.984 kB / 0.5886 GB, free: 30.95 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002267/0.6873, allocations: 455.5 kB / 0.589 GB, free: 30.51 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.6873, allocations: 0 / 0.589 GB, free: 30.51 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.77e-05/0.6874, allocations: 55.95 kB / 0.5891 GB, free: 30.45 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.6874, allocations: 3.984 kB / 0.5891 GB, free: 30.45 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.6874, allocations: 4 kB / 0.5891 GB, free: 30.45 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.6889, allocations: 1.257 MB / 0.5903 GB, free: 29.18 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.578e-05/0.6889, allocations: 120.6 kB / 0.5904 GB, free: 29.04 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.689, allocations: 48.33 kB / 0.5905 GB, free: 28.99 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004792/0.6895, allocations: 47.95 kB / 0.5905 GB, free: 28.95 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.6897, allocations: 48.58 kB / 0.5906 GB, free: 28.9 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-05/0.6897, allocations: 23.98 kB / 0.5906 GB, free: 28.88 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.99e-05/0.6898, allocations: 107.1 kB / 0.5907 GB, free: 28.77 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6898, allocations: 0 / 0.5907 GB, free: 28.77 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004743/0.6902, allocations: 231.8 kB / 0.5909 GB, free: 28.54 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.0001721/0.6904, allocations: 171 kB / 0.5911 GB, free: 28.37 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001708/0.6921, allocations: 1.403 MB / 0.5924 GB, free: 26.96 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.6922, allocations: 0 / 0.5924 GB, free: 26.96 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004891/0.6926, allocations: 443.5 kB / 0.5929 GB, free: 26.53 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.693, allocations: 28 kB / 0.5929 GB, free: 26.5 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005246/0.6983, allocations: 5.506 MB / 0.5983 GB, free: 20.97 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.6985, allocations: 0.9075 MB / 0.5991 GB, free: 20.03 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0006848/0.6992, allocations: 316.5 kB / 0.5994 GB, free: 19.72 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.6994, allocations: 43.44 kB / 0.5995 GB, free: 19.68 MB / 462.3 MB Notification: Performance of SimCode: time 1.513e-06/0.6995, allocations: 0 / 0.5995 GB, free: 19.68 MB / 462.3 MB Notification: Performance of Templates: time 0.009641/0.7091, allocations: 5.764 MB / 0.6051 GB, free: 13.95 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