Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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_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_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.001347/0.001347, allocations: 113.6 kB / 17.69 MB, free: 5.309 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.001399/0.001399, allocations: 192 kB / 18.63 MB, free: 4.375 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.345/1.345, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9582/0.9582, allocations: 119.3 MB / 411.8 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 71.89 kB / 0.4937 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4849/0.4862, allocations: 80.68 MB / 0.5725 GB, free: 43.9 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.00222/0.4885, allocations: 1.347 MB / 0.5738 GB, free: 42.84 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000207/0.4887, allocations: 55.7 kB / 0.5739 GB, free: 42.8 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.518e-05/0.4887, allocations: 1.188 kB / 0.5739 GB, free: 42.8 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.608e-05/0.4888, allocations: 3.938 kB / 0.5739 GB, free: 42.79 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 8.61e-05/0.4889, allocations: 27.36 kB / 0.5739 GB, free: 42.77 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001323/0.4891, allocations: 16.94 kB / 0.5739 GB, free: 42.76 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.4894, allocations: 353.8 kB / 0.5743 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.505e-05/0.4895, allocations: 8.266 kB / 0.5743 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.4896, allocations: 128 kB / 0.5744 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.4898, allocations: 182 kB / 0.5746 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.516e-05/0.4899, allocations: 17.22 kB / 0.5746 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 4.256e-05/0.4899, allocations: 18.38 kB / 0.5746 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.49, allocations: 142.4 kB / 0.5748 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.4902, allocations: 152.3 kB / 0.5749 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.4905, allocations: 249.4 kB / 0.5751 GB, free: 42.09 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4905, allocations: 0 / 0.5751 GB, free: 42.09 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4905, allocations: 0 / 0.5751 GB, free: 42.09 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.4905, allocations: 0 / 0.5751 GB, free: 42.09 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.001774/0.4923, allocations: 0.7519 MB / 0.5759 GB, free: 41.5 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.4923, allocations: 12.17 kB / 0.5759 GB, free: 41.5 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.886e-05/0.4924, allocations: 32 kB / 0.5759 GB, free: 41.48 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.4927, allocations: 246.2 kB / 0.5761 GB, free: 41.25 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.4928, allocations: 27.5 kB / 0.5762 GB, free: 41.23 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.563e-05/0.4929, allocations: 59.98 kB / 0.5762 GB, free: 41.21 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004913/0.4934, allocations: 352.7 kB / 0.5766 GB, free: 41 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.4934, allocations: 1.844 kB / 0.5766 GB, free: 41 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.4934, allocations: 9.281 kB / 0.5766 GB, free: 41 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.4934, allocations: 5.844 kB / 0.5766 GB, free: 41 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003483/0.4938, allocations: 208.7 kB / 0.5768 GB, free: 40.91 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/0.4958, allocations: 0.9968 MB / 0.5778 GB, free: 40.26 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003832/0.4996, allocations: 1.221 MB / 0.5789 GB, free: 39.75 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/0.4999, allocations: 189 kB / 0.5791 GB, free: 39.66 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.493e-05/0.5, allocations: 5.312 kB / 0.5791 GB, free: 39.66 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.5, allocations: 40.34 kB / 0.5792 GB, free: 39.62 MB / 462.3 MB Notification: Performance of pre-optimization done (n=42): time 2.395e-06/0.5, allocations: 0 / 0.5792 GB, free: 39.62 MB / 462.3 MB Notification: Performance of matching and sorting (n=42): time 0.0009495/0.501, allocations: 0.5708 MB / 0.5797 GB, free: 39.35 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.501, allocations: 64.25 kB / 0.5798 GB, free: 39.28 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.473e-05/0.5011, allocations: 127.5 kB / 0.5799 GB, free: 39.16 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.5011, allocations: 41.48 kB / 0.58 GB, free: 39.12 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/0.5012, allocations: 120.8 kB / 0.5801 GB, free: 39 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.834e-05/0.5013, allocations: 190.7 kB / 0.5802 GB, free: 38.83 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.5014, allocations: 123.1 kB / 0.5804 GB, free: 38.76 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.691e-05/0.5015, allocations: 343.6 kB / 0.5807 GB, free: 38.42 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000318/0.5018, allocations: 227.3 kB / 0.5809 GB, free: 38.32 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003224/0.5022, allocations: 236.3 kB / 0.5811 GB, free: 38.22 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006369/0.5028, allocations: 0.4901 MB / 0.5816 GB, free: 37.99 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.5028, allocations: 0 / 0.5816 GB, free: 37.99 MB / 462.3 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008798/0.5037, allocations: 0.6287 MB / 0.5822 GB, free: 37.7 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.5037, allocations: 5.531 kB / 0.5822 GB, free: 37.7 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.5037, allocations: 0 / 0.5822 GB, free: 37.7 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.5038, allocations: 3.688 kB / 0.5822 GB, free: 37.7 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009233/0.5047, allocations: 220.5 kB / 0.5824 GB, free: 37.65 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.5047, allocations: 3.562 kB / 0.5824 GB, free: 37.65 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.505, allocations: 63.22 kB / 0.5825 GB, free: 37.6 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.449e-05/0.505, allocations: 16.41 kB / 0.5825 GB, free: 37.6 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.0001378/0.5052, allocations: 157.8 kB / 0.5827 GB, free: 37.45 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.5052, allocations: 23.19 kB / 0.5827 GB, free: 37.44 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.5054, allocations: 63.11 kB / 0.5828 GB, free: 37.38 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.5054, allocations: 8.609 kB / 0.5828 GB, free: 37.38 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.5054, allocations: 0 / 0.5828 GB, free: 37.38 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.5054, allocations: 1.062 kB / 0.5828 GB, free: 37.38 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004085/0.5058, allocations: 391.1 kB / 0.5831 GB, free: 37.05 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.5058, allocations: 5.531 kB / 0.5831 GB, free: 37.05 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/0.5071, allocations: 222 kB / 0.5834 GB, free: 37 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.5071, allocations: 2.219 kB / 0.5834 GB, free: 37 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.383e-05/0.5072, allocations: 23.84 kB / 0.5834 GB, free: 36.99 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.5072, allocations: 6.156 kB / 0.5834 GB, free: 36.99 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.5072, allocations: 0 / 0.5834 GB, free: 36.99 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000914/0.5081, allocations: 0.7144 MB / 0.5841 GB, free: 36.6 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.5082, allocations: 98.98 kB / 0.5842 GB, free: 36.49 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.407e-05/0.5082, allocations: 20.61 kB / 0.5842 GB, free: 36.48 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/0.5085, allocations: 28.22 kB / 0.5842 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.488e-05/0.5086, allocations: 25.2 kB / 0.5843 GB, free: 36.45 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.933e-05/0.5086, allocations: 11.41 kB / 0.5843 GB, free: 36.45 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.116e-05/0.5087, allocations: 93.33 kB / 0.5844 GB, free: 36.37 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5087, allocations: 0 / 0.5844 GB, free: 36.37 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003775/0.5091, allocations: 119.7 kB / 0.5845 GB, free: 36.34 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.0001204/0.5092, allocations: 126.1 kB / 0.5846 GB, free: 36.24 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0007009/0.5099, allocations: 0.4885 MB / 0.5851 GB, free: 36.04 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5099, allocations: 3.938 kB / 0.5851 GB, free: 36.04 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002886/0.5102, allocations: 232.2 kB / 0.5853 GB, free: 35.94 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.5105, allocations: 25 kB / 0.5853 GB, free: 35.92 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.5131, allocations: 2.69 MB / 0.5879 GB, free: 33.19 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.5133, allocations: 0.7969 MB / 0.5887 GB, free: 32.37 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003227/0.5136, allocations: 158.8 kB / 0.5889 GB, free: 32.21 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.5138, allocations: 27.44 kB / 0.5889 GB, free: 32.18 MB / 462.3 MB Notification: Performance of SimCode: time 4.71e-07/0.5138, allocations: 3.938 kB / 0.5889 GB, free: 32.18 MB / 462.3 MB Notification: Performance of Templates: time 0.005636/0.5194, allocations: 3.066 MB / 0.5919 GB, free: 29.15 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -s gbode -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches