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.001374/0.001374, allocations: 109 kB / 17.16 MB, free: 6.328 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.001425/0.001426, allocations: 202.8 kB / 18.08 MB, free: 5.422 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.337/1.337, allocations: 222.9 MB / 241.8 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9176/0.9176, allocations: 119.3 MB / 411.2 MB, free: 9.766 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.91 kB / 0.4922 GB, free: 12.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5555/0.5567, allocations: 80.68 MB / 0.571 GB, free: 43.93 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40): time 0.002362/0.5591, allocations: 1.407 MB / 0.5724 GB, free: 42.81 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002041/0.5593, allocations: 60.53 kB / 0.5724 GB, free: 42.77 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.259e-05/0.5594, allocations: 1.562 kB / 0.5724 GB, free: 42.77 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.5595, allocations: 7.922 kB / 0.5725 GB, free: 42.76 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 8.548e-05/0.5596, allocations: 20.09 kB / 0.5725 GB, free: 42.74 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/0.5597, allocations: 16.12 kB / 0.5725 GB, free: 42.73 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000535/0.5603, allocations: 0.6568 MB / 0.5731 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.817e-05/0.5604, allocations: 7.062 kB / 0.5731 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.5606, allocations: 238.2 kB / 0.5734 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004082/0.561, allocations: 343 kB / 0.5737 GB, free: 42.09 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.846e-05/0.5611, allocations: 36.28 kB / 0.5737 GB, free: 42.09 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.75e-05/0.5612, allocations: 35.47 kB / 0.5738 GB, free: 42.09 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.5614, allocations: 275.2 kB / 0.574 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002699/0.5617, allocations: 289.1 kB / 0.5743 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000289/0.562, allocations: 332 kB / 0.5746 GB, free: 41.58 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.562, allocations: 1.062 kB / 0.5746 GB, free: 41.58 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.001e-06/0.562, allocations: 0 / 0.5746 GB, free: 41.58 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.562, allocations: 0 / 0.5746 GB, free: 41.58 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.00265/0.5647, allocations: 1.13 MB / 0.5757 GB, free: 40.81 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.5647, allocations: 9.094 kB / 0.5757 GB, free: 40.81 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.5649, allocations: 59.84 kB / 0.5758 GB, free: 40.79 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.5653, allocations: 319.5 kB / 0.5761 GB, free: 40.52 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.774e-05/0.5653, allocations: 55.62 kB / 0.5761 GB, free: 40.49 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.5655, allocations: 123.2 kB / 0.5763 GB, free: 40.43 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009727/0.5665, allocations: 0.6491 MB / 0.5769 GB, free: 40.07 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.5665, allocations: 192 / 0.5769 GB, free: 40.07 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-05/0.5666, allocations: 29.02 kB / 0.5769 GB, free: 40.04 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.5666, allocations: 19.09 kB / 0.5769 GB, free: 40.04 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006869/0.5673, allocations: 398.2 kB / 0.5773 GB, free: 39.86 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003827/0.5711, allocations: 1.794 MB / 0.5791 GB, free: 38.82 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007636/0.5788, allocations: 2.505 MB / 0.5815 GB, free: 37.8 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000557/0.5793, allocations: 373.2 kB / 0.5819 GB, free: 37.63 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.182e-05/0.5794, allocations: 12.42 kB / 0.5819 GB, free: 37.62 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.5794, allocations: 45.75 kB / 0.5819 GB, free: 37.57 MB / 462.3 MB Notification: Performance of pre-optimization done (n=82): time 4.569e-06/0.5795, allocations: 4 kB / 0.5819 GB, free: 37.57 MB / 462.3 MB Notification: Performance of matching and sorting (n=82): time 0.001907/0.5814, allocations: 1.102 MB / 0.583 GB, free: 37.07 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.5814, allocations: 60.06 kB / 0.5831 GB, free: 37.01 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.5815, allocations: 151 kB / 0.5832 GB, free: 36.88 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.106e-05/0.5816, allocations: 51.11 kB / 0.5833 GB, free: 36.82 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.379e-05/0.5817, allocations: 144.9 kB / 0.5834 GB, free: 36.69 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/0.5819, allocations: 385.7 kB / 0.5838 GB, free: 36.35 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002843/0.5821, allocations: 237.7 kB / 0.584 GB, free: 36.22 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.236e-05/0.5822, allocations: 371.2 kB / 0.5843 GB, free: 35.87 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000551/0.5828, allocations: 446.8 kB / 0.5848 GB, free: 35.45 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005272/0.5833, allocations: 463.5 kB / 0.5852 GB, free: 34.99 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.5844, allocations: 0.9766 MB / 0.5862 GB, free: 34.01 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.5844, allocations: 0 / 0.5862 GB, free: 34.01 MB / 462.3 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.001408/0.5858, allocations: 1.215 MB / 0.5874 GB, free: 32.79 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.5859, allocations: 4 kB / 0.5874 GB, free: 32.79 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.5859, allocations: 0 / 0.5874 GB, free: 32.79 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.5859, allocations: 8 kB / 0.5874 GB, free: 32.78 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/0.5874, allocations: 447.5 kB / 0.5878 GB, free: 32.34 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.5874, allocations: 4 kB / 0.5878 GB, free: 32.34 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004452/0.5878, allocations: 126.9 kB / 0.5879 GB, free: 32.21 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.715e-05/0.5879, allocations: 32 kB / 0.5879 GB, free: 32.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 (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.0002153/0.5881, allocations: 213.5 kB / 0.5882 GB, free: 31.96 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.5882, allocations: 35.66 kB / 0.5882 GB, free: 31.93 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002115/0.5885, allocations: 95.38 kB / 0.5883 GB, free: 31.83 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.5885, allocations: 8 kB / 0.5883 GB, free: 31.82 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/0.5885, allocations: 0 / 0.5883 GB, free: 31.82 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.5885, allocations: 3.984 kB / 0.5883 GB, free: 31.82 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006135/0.5891, allocations: 0.6067 MB / 0.5889 GB, free: 31.16 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5891, allocations: 0 / 0.5889 GB, free: 31.16 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002206/0.5913, allocations: 451.5 kB / 0.5893 GB, free: 30.72 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.5914, allocations: 4 kB / 0.5893 GB, free: 30.72 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.644e-05/0.5915, allocations: 47.95 kB / 0.5894 GB, free: 30.67 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.5915, allocations: 8 kB / 0.5894 GB, free: 30.66 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5915, allocations: 3.938 kB / 0.5894 GB, free: 30.66 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.5929, allocations: 1.265 MB / 0.5906 GB, free: 29.38 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.93e-05/0.593, allocations: 124.6 kB / 0.5907 GB, free: 29.24 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.5931, allocations: 40.34 kB / 0.5908 GB, free: 29.2 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004499/0.5935, allocations: 51.94 kB / 0.5908 GB, free: 29.15 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.5937, allocations: 52.58 kB / 0.5909 GB, free: 29.1 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.965e-05/0.5937, allocations: 27.92 kB / 0.5909 GB, free: 29.07 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.329e-05/0.5938, allocations: 99.2 kB / 0.591 GB, free: 28.98 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5938, allocations: 0 / 0.591 GB, free: 28.98 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000457/0.5942, allocations: 231.8 kB / 0.5912 GB, free: 28.75 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.0001765/0.5944, allocations: 171 kB / 0.5914 GB, free: 28.57 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.5955, allocations: 0.9657 MB / 0.5923 GB, free: 27.61 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5956, allocations: 0 / 0.5923 GB, free: 27.61 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004894/0.596, allocations: 451.4 kB / 0.5927 GB, free: 27.17 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.5964, allocations: 31.94 kB / 0.5928 GB, free: 27.14 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005206/0.6016, allocations: 5.541 MB / 0.5982 GB, free: 21.56 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.6019, allocations: 0.9078 MB / 0.5991 GB, free: 20.62 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003057/0.6022, allocations: 47.44 kB / 0.5991 GB, free: 20.57 MB / 462.3 MB Notification: Performance of SimCode: time 4.91e-07/0.6022, allocations: 0 / 0.5991 GB, free: 20.57 MB / 462.3 MB Notification: Performance of Templates: time 0.008383/0.6106, allocations: 8.598 MB / 0.6075 GB, free: 12 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