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.0009967/0.0009968, allocations: 91.86 kB / 16.31 MB, free: 5.672 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.00114/0.00114, allocations: 182.9 kB / 17.21 MB, free: 5.59 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.354/1.354, allocations: 223.2 MB / 241.2 MB, free: 312 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.048/1.048, allocations: 120.5 MB / 412.8 MB, free: 9.207 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003167, allocations: 8 kB / 0.4956 GB, free: 10.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5777/0.578, allocations: 82.84 MB / 0.5765 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.00114/0.5792, allocations: 1.043 MB / 0.5775 GB, free: 41.54 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001947/0.5794, allocations: 64.73 kB / 0.5775 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.316e-05/0.5795, allocations: 0 / 0.5775 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.284e-05/0.5796, allocations: 5.234 kB / 0.5776 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 8.087e-05/0.5797, allocations: 21.83 kB / 0.5776 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.5798, allocations: 19.34 kB / 0.5776 GB, free: 41.45 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002908/0.5801, allocations: 316.1 kB / 0.5779 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.315e-05/0.5802, allocations: 3.688 kB / 0.5779 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.5803, allocations: 127.7 kB / 0.578 GB, free: 41.22 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002379/0.5805, allocations: 189.8 kB / 0.5782 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.616e-05/0.5806, allocations: 19.25 kB / 0.5782 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 4.461e-05/0.5806, allocations: 21 kB / 0.5782 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.5808, allocations: 141.3 kB / 0.5784 GB, free: 41.03 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.948e-05/0.5808, allocations: 67.83 kB / 0.5784 GB, free: 40.98 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.581, allocations: 170.1 kB / 0.5786 GB, free: 40.9 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.581, allocations: 1.375 kB / 0.5786 GB, free: 40.9 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.844e-06/0.581, allocations: 0 / 0.5786 GB, free: 40.9 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.581, allocations: 0 / 0.5786 GB, free: 40.9 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.001343/0.5823, allocations: 0.6852 MB / 0.5793 GB, free: 40.36 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.5824, allocations: 9.219 kB / 0.5793 GB, free: 40.36 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.086e-05/0.5825, allocations: 34.23 kB / 0.5793 GB, free: 40.35 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.5828, allocations: 257.6 kB / 0.5796 GB, free: 40.1 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.5828, allocations: 31.31 kB / 0.5796 GB, free: 40.08 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.289e-05/0.5829, allocations: 52.22 kB / 0.5796 GB, free: 40.06 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005285/0.5834, allocations: 347.9 kB / 0.58 GB, free: 39.86 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.5835, allocations: 0.9062 kB / 0.58 GB, free: 39.86 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/0.5835, allocations: 13.78 kB / 0.58 GB, free: 39.85 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.5835, allocations: 6.281 kB / 0.58 GB, free: 39.85 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003651/0.5839, allocations: 217.3 kB / 0.5802 GB, free: 39.75 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.5857, allocations: 1.023 MB / 0.5812 GB, free: 39.1 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003585/0.5893, allocations: 1.211 MB / 0.5824 GB, free: 38.61 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000289/0.5896, allocations: 188.9 kB / 0.5826 GB, free: 38.51 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.5896, allocations: 7.609 kB / 0.5826 GB, free: 38.51 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/0.5896, allocations: 34.16 kB / 0.5826 GB, free: 38.47 MB / 462.3 MB Notification: Performance of pre-optimization done (n=42): time 1.683e-06/0.5896, allocations: 0 / 0.5826 GB, free: 38.47 MB / 462.3 MB Notification: Performance of matching and sorting (n=42): time 0.0009777/0.5906, allocations: 0.5755 MB / 0.5832 GB, free: 38.2 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.5907, allocations: 64.86 kB / 0.5832 GB, free: 38.13 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.348e-05/0.5908, allocations: 126.7 kB / 0.5833 GB, free: 38.01 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.5908, allocations: 37.61 kB / 0.5834 GB, free: 37.97 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.757e-05/0.5908, allocations: 120.3 kB / 0.5835 GB, free: 37.85 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.836e-05/0.5909, allocations: 195.1 kB / 0.5837 GB, free: 37.68 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.591, allocations: 14.75 kB / 0.5837 GB, free: 37.67 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.985e-05/0.591, allocations: 340.7 kB / 0.584 GB, free: 37.34 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003279/0.5914, allocations: 219.3 kB / 0.5842 GB, free: 37.24 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003383/0.5917, allocations: 234.5 kB / 0.5844 GB, free: 37.14 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.5921, allocations: 264.2 kB / 0.5847 GB, free: 37.02 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.5921, allocations: 0 / 0.5847 GB, free: 37.02 MB / 462.3 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008678/0.593, allocations: 0.6162 MB / 0.5853 GB, free: 36.74 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.593, allocations: 5.031 kB / 0.5853 GB, free: 36.74 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.593, allocations: 384 / 0.5853 GB, free: 36.74 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.5931, allocations: 3.781 kB / 0.5853 GB, free: 36.74 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008432/0.5939, allocations: 220.7 kB / 0.5855 GB, free: 36.69 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.5939, allocations: 3.781 kB / 0.5855 GB, free: 36.69 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.5942, allocations: 70.55 kB / 0.5856 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/0.5942, allocations: 17.16 kB / 0.5856 GB, free: 36.62 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.5943, allocations: 157.7 kB / 0.5858 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.703e-05/0.5944, allocations: 19.81 kB / 0.5858 GB, free: 36.44 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.5945, allocations: 57.95 kB / 0.5858 GB, free: 36.39 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.5945, allocations: 4 kB / 0.5858 GB, free: 36.39 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.5946, allocations: 4 kB / 0.5858 GB, free: 36.38 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.5946, allocations: 0 / 0.5858 GB, free: 36.38 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.5949, allocations: 400.7 kB / 0.5862 GB, free: 35.94 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5949, allocations: 0 / 0.5862 GB, free: 35.94 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.596, allocations: 223.8 kB / 0.5864 GB, free: 35.72 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.596, allocations: 4 kB / 0.5864 GB, free: 35.72 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.541e-05/0.5961, allocations: 23.97 kB / 0.5865 GB, free: 35.7 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.5961, allocations: 0 / 0.5865 GB, free: 35.7 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5961, allocations: 0 / 0.5865 GB, free: 35.7 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007574/0.5969, allocations: 0.7104 MB / 0.5872 GB, free: 34.97 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.291e-05/0.5969, allocations: 92.86 kB / 0.5872 GB, free: 34.86 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.081e-05/0.597, allocations: 23.98 kB / 0.5873 GB, free: 34.84 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.5972, allocations: 27.97 kB / 0.5873 GB, free: 34.81 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.5973, allocations: 31.95 kB / 0.5873 GB, free: 34.78 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.5973, allocations: 8 kB / 0.5873 GB, free: 34.77 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.927e-05/0.5973, allocations: 91.27 kB / 0.5874 GB, free: 34.68 MB / 462.3 MB Notification: Performance of sort global known variables: time 7.92e-07/0.5974, allocations: 0 / 0.5874 GB, free: 34.68 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003261/0.5977, allocations: 123.8 kB / 0.5875 GB, free: 34.56 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 (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.0001189/0.5978, allocations: 127.5 kB / 0.5877 GB, free: 34.43 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0006171/0.5984, allocations: 499.1 kB / 0.5881 GB, free: 33.94 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5984, allocations: 0 / 0.5881 GB, free: 33.94 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.5987, allocations: 223.8 kB / 0.5883 GB, free: 33.72 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.599, allocations: 24.77 kB / 0.5884 GB, free: 33.7 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/0.6019, allocations: 3.317 MB / 0.5916 GB, free: 30.33 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.6022, allocations: 0.8026 MB / 0.5924 GB, free: 29.5 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.000346/0.6025, allocations: 154.8 kB / 0.5925 GB, free: 29.36 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.6026, allocations: 31.66 kB / 0.5926 GB, free: 29.32 MB / 462.3 MB Notification: Performance of SimCode: time 2.51e-07/0.6026, allocations: 0 / 0.5926 GB, free: 29.32 MB / 462.3 MB Notification: Performance of Templates: time 0.005298/0.6079, allocations: 2.891 MB / 0.5954 GB, free: 26.47 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches