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.0007817/0.0007818, allocations: 92.2 kB / 16.65 MB, free: 6.535 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.000793/0.000793, allocations: 176.8 kB / 17.56 MB, free: 6.18 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.41/1.41, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.181/1.181, allocations: 120.5 MB / 413.2 MB, free: 9.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003523, allocations: 12 kB / 0.4962 GB, free: 10.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5274/0.5277, allocations: 82.83 MB / 0.5771 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.001236/0.529, allocations: 1.067 MB / 0.5782 GB, free: 41.53 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002138/0.5293, allocations: 59.91 kB / 0.5782 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.607e-05/0.5293, allocations: 0 / 0.5782 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.5294, allocations: 12.86 kB / 0.5782 GB, free: 41.47 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.264e-05/0.5295, allocations: 18.94 kB / 0.5783 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.5297, allocations: 13.36 kB / 0.5783 GB, free: 41.45 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003132/0.53, allocations: 366.5 kB / 0.5786 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.563e-05/0.5301, allocations: 8.109 kB / 0.5786 GB, free: 41.26 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.5302, allocations: 127.3 kB / 0.5787 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.5304, allocations: 185.8 kB / 0.5789 GB, free: 41.1 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.138e-05/0.5305, allocations: 17.88 kB / 0.5789 GB, free: 41.1 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 4.548e-05/0.5305, allocations: 19.25 kB / 0.579 GB, free: 41.1 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.5307, allocations: 138.6 kB / 0.5791 GB, free: 41.01 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.5308, allocations: 172.6 kB / 0.5793 GB, free: 40.89 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.5311, allocations: 242.5 kB / 0.5795 GB, free: 40.75 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5311, allocations: 0 / 0.5795 GB, free: 40.75 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5311, allocations: 0.9375 kB / 0.5795 GB, free: 40.75 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.5311, allocations: 0 / 0.5795 GB, free: 40.75 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.001456/0.5326, allocations: 0.6932 MB / 0.5802 GB, free: 40.21 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.5326, allocations: 10.16 kB / 0.5802 GB, free: 40.21 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.5e-05/0.5327, allocations: 35.12 kB / 0.5802 GB, free: 40.19 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.533, allocations: 246.6 kB / 0.5804 GB, free: 39.96 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.533, allocations: 27.47 kB / 0.5805 GB, free: 39.94 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.5331, allocations: 64.17 kB / 0.5805 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005594/0.5337, allocations: 346.5 kB / 0.5809 GB, free: 39.71 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.5337, allocations: 192 / 0.5809 GB, free: 39.71 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/0.5337, allocations: 15.44 kB / 0.5809 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.5338, allocations: 3.562 kB / 0.5809 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003381/0.5341, allocations: 204.2 kB / 0.5811 GB, free: 39.61 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.536, allocations: 1.025 MB / 0.5821 GB, free: 38.96 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003703/0.5397, allocations: 1.216 MB / 0.5833 GB, free: 38.46 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003001/0.54, allocations: 187 kB / 0.5834 GB, free: 38.38 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.5401, allocations: 3.688 kB / 0.5834 GB, free: 38.38 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.5401, allocations: 50.02 kB / 0.5835 GB, free: 38.32 MB / 462.3 MB Notification: Performance of pre-optimization done (n=42): time 2.405e-06/0.5401, allocations: 0 / 0.5835 GB, free: 38.32 MB / 462.3 MB Notification: Performance of matching and sorting (n=42): time 0.0009942/0.5411, allocations: 0.5704 MB / 0.584 GB, free: 38.05 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.5412, allocations: 55.75 kB / 0.5841 GB, free: 37.99 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.687e-05/0.5413, allocations: 128.7 kB / 0.5842 GB, free: 37.87 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.5413, allocations: 35.83 kB / 0.5843 GB, free: 37.83 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.04e-05/0.5414, allocations: 117.7 kB / 0.5844 GB, free: 37.72 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.5415, allocations: 195.3 kB / 0.5846 GB, free: 37.55 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.422e-05/0.5416, allocations: 78.92 kB / 0.5846 GB, free: 37.49 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.829e-05/0.5416, allocations: 343.5 kB / 0.585 GB, free: 37.16 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000362/0.542, allocations: 219.6 kB / 0.5852 GB, free: 37.06 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003363/0.5424, allocations: 240.5 kB / 0.5854 GB, free: 36.96 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000692/0.5431, allocations: 0.4896 MB / 0.5859 GB, free: 36.73 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.5431, allocations: 384 / 0.5859 GB, free: 36.73 MB / 462.3 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008614/0.5439, allocations: 0.6241 MB / 0.5865 GB, free: 36.32 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.544, allocations: 4 kB / 0.5865 GB, free: 36.31 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.544, allocations: 3.984 kB / 0.5865 GB, free: 36.31 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.544, allocations: 7.938 kB / 0.5865 GB, free: 36.3 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008006/0.5448, allocations: 223.8 kB / 0.5867 GB, free: 36.08 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.5448, allocations: 8 kB / 0.5867 GB, free: 36.07 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002737/0.5451, allocations: 59.41 kB / 0.5868 GB, free: 36.02 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.5451, allocations: 19.94 kB / 0.5868 GB, free: 36 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.0001401/0.5453, allocations: 165.7 kB / 0.587 GB, free: 35.82 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.283e-05/0.5453, allocations: 23.75 kB / 0.587 GB, free: 35.8 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.5455, allocations: 49.97 kB / 0.587 GB, free: 35.75 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.5455, allocations: 4 kB / 0.587 GB, free: 35.75 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.5455, allocations: 4 kB / 0.587 GB, free: 35.74 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.5455, allocations: 3.984 kB / 0.587 GB, free: 35.74 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003765/0.5459, allocations: 385.2 kB / 0.5874 GB, free: 35.31 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.5459, allocations: 7.875 kB / 0.5874 GB, free: 35.3 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.5471, allocations: 227.8 kB / 0.5876 GB, free: 35.08 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.5471, allocations: 0 / 0.5876 GB, free: 35.08 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.604e-05/0.5471, allocations: 27.97 kB / 0.5877 GB, free: 35.05 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.5471, allocations: 4 kB / 0.5877 GB, free: 35.05 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5471, allocations: 0 / 0.5877 GB, free: 35.05 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000804/0.5479, allocations: 0.7025 MB / 0.5883 GB, free: 34.34 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.548, allocations: 100.8 kB / 0.5884 GB, free: 34.22 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.089e-05/0.5481, allocations: 27.97 kB / 0.5885 GB, free: 34.2 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.5483, allocations: 23.97 kB / 0.5885 GB, free: 34.17 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/0.5484, allocations: 23.97 kB / 0.5885 GB, free: 34.15 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.5484, allocations: 11.98 kB / 0.5885 GB, free: 34.14 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.642e-05/0.5485, allocations: 91.28 kB / 0.5886 GB, free: 34.05 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5485, allocations: 0 / 0.5886 GB, free: 34.05 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003336/0.5488, allocations: 119.8 kB / 0.5887 GB, free: 33.93 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.0001282/0.549, allocations: 131.1 kB / 0.5889 GB, free: 33.79 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0006156/0.5496, allocations: 0.4916 MB / 0.5893 GB, free: 33.3 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5496, allocations: 0 / 0.5893 GB, free: 33.3 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.5499, allocations: 223.8 kB / 0.5895 GB, free: 33.08 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.5502, allocations: 22.06 kB / 0.5896 GB, free: 33.06 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002962/0.5531, allocations: 3.345 MB / 0.5928 GB, free: 29.67 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.5534, allocations: 0.7987 MB / 0.5936 GB, free: 28.85 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003215/0.5537, allocations: 158.8 kB / 0.5938 GB, free: 28.69 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.5538, allocations: 31.38 kB / 0.5938 GB, free: 28.66 MB / 462.3 MB Notification: Performance of SimCode: time 3.2e-07/0.5538, allocations: 0 / 0.5938 GB, free: 28.66 MB / 462.3 MB Notification: Performance of Templates: time 0.005432/0.5593, allocations: 2.975 MB / 0.5967 GB, free: 25.72 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