Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_56_M_56.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008996/0.0008996, allocations: 83.69 kB / 21.19 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008684/0.0008684, allocations: 165 kB / 24.56 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8848/0.8848, allocations: 177.1 MB / 205 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.5635/0.5635, allocations: 88.09 MB / 349.6 MB, free: 14.31 MB / 330.7 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_56_M_56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="ground.[0-9,]+..p.i|ground.[0-9,]+..p.v|load.[0-9,]+..LossPower|load.[0-9,]+..R_actual|load.[0-9,]+..i|load.[0-9,]+..n.i|load.[0-9,]+..n.v|load.[0-9,]+..p.i|load.[0-9,]+..p.v|load.[0-9,]+..v|primary.[0-9,]+..n.v|secondary.[0-9,]+..LossPower|secondary.[0-9,]+..R_actual|secondary.[0-9,]+..i|secondary.[0-9,]+..n.i|secondary.[0-9,]+..n.v|secondary.[0-9,]+..p.i|secondary.[0-9,]+..p.v|secondary.[0-9,]+..v|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_56_M_56") translateModel(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_56_M_56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="ground.[0-9,]+..p.i|ground.[0-9,]+..p.v|load.[0-9,]+..LossPower|load.[0-9,]+..R_actual|load.[0-9,]+..i|load.[0-9,]+..n.i|load.[0-9,]+..n.v|load.[0-9,]+..p.i|load.[0-9,]+..p.v|load.[0-9,]+..v|primary.[0-9,]+..n.v|secondary.[0-9,]+..LossPower|secondary.[0-9,]+..R_actual|secondary.[0-9,]+..i|secondary.[0-9,]+..n.i|secondary.[0-9,]+..n.v|secondary.[0-9,]+..p.i|secondary.[0-9,]+..p.v|secondary.[0-9,]+..v|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_56_M_56") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 451.7 MB, free: 33.22 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037e-05/1.151e-05, allocations: 3.078 kB / 451.7 MB, free: 33.22 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_56_M_56): time 0.001853/0.001864, allocations: 2.443 MB / 454.1 MB, free: 31.61 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005458/0.00241, allocations: 0.5799 MB / 454.7 MB, free: 31.22 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.065e-05/0.002481, allocations: 2.906 kB / 454.7 MB, free: 31.22 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.00259, allocations: 38.58 kB / 454.7 MB, free: 31.2 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 8.489e-05/0.002675, allocations: 63.09 kB / 454.8 MB, free: 31.16 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001371/0.002812, allocations: 60.48 kB / 454.9 MB, free: 31.12 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.547/0.5498, allocations: 410.3 MB / 0.8449 GB, free: 7.098 MB / 0.62 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6847/1.235, allocations: 83.97 MB / 0.9269 GB, free: 13.92 MB / 0.6671 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3667/1.601, allocations: 229.4 MB / 1.151 GB, free: 11.08 MB / 0.7921 GB Notification: Performance of NFSimplifyModel.simplify: time 0.8312/2.432, allocations: 173.9 MB / 1.321 GB, free: 69.14 MB / 0.8083 GB Notification: Performance of NFPackage.collectConstants: time 0.1159/2.548, allocations: 27.79 MB / 1.348 GB, free: 69.14 MB / 0.8083 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1637/2.712, allocations: 27.8 MB / 1.375 GB, free: 69.14 MB / 0.8083 GB Notification: Performance of NFScalarize.scalarize: time 0.1406/2.853, allocations: 76.77 MB / 1.45 GB, free: 24.21 MB / 0.8083 GB Notification: Performance of NFVerifyModel.verify: time 1.021/3.873, allocations: 121.4 MB / 1.569 GB, free: 99.32 MB / 0.8249 GB Notification: Performance of NFConvertDAE.convert: time 0.8935/4.767, allocations: 340.5 MB / 1.901 GB, free: 66.39 MB / 1.012 GB Notification: Performance of FrontEnd - DAE generated: time 8.056e-06/4.767, allocations: 3.094 kB / 1.901 GB, free: 66.39 MB / 1.012 GB Notification: Performance of FrontEnd: time 1.522e-06/4.767, allocations: 0 / 1.901 GB, free: 66.39 MB / 1.012 GB Notification: Performance of Transformations before backend: time 0.01659/4.783, allocations: 0 / 1.901 GB, free: 66.39 MB / 1.012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63233 * Number of variables: 63233 Notification: Performance of Generate backend data structure: time 0.7499/5.533, allocations: 425 MB / 2.316 GB, free: 12.3 MB / 1.184 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/5.533, allocations: 8.031 kB / 2.316 GB, free: 12.29 MB / 1.184 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5022/6.036, allocations: 51.64 MB / 2.366 GB, free: 312 MB / 1.184 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2589/6.294, allocations: 134.4 MB / 2.498 GB, free: 280.7 MB / 1.184 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01465/6.309, allocations: 17.85 MB / 2.515 GB, free: 280.2 MB / 1.184 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.07343/6.383, allocations: 26.06 MB / 2.541 GB, free: 280.2 MB / 1.184 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.9321/7.315, allocations: 314.8 MB / 2.848 GB, free: 252 MB / 1.184 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.008915/7.323, allocations: 0.6875 kB / 2.848 GB, free: 252 MB / 1.184 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.06125/7.385, allocations: 10.82 MB / 2.859 GB, free: 252 MB / 1.184 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003643/7.388, allocations: 5.792 MB / 2.864 GB, free: 252 MB / 1.184 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3805/7.769, allocations: 100.6 MB / 2.963 GB, free: 247.9 MB / 1.184 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 2.756/10.53, allocations: 0.8249 GB / 3.787 GB, free: 227.5 MB / 1.184 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3148/10.84, allocations: 220.7 MB / 4.003 GB, free: 94.38 MB / 1.184 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.7142/11.55, allocations: 64.7 MB / 4.066 GB, free: 253.1 MB / 1.184 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01313/11.57, allocations: 3.043 MB / 4.069 GB, free: 253 MB / 1.184 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006099/11.57, allocations: 3.515 MB / 4.072 GB, free: 252.7 MB / 1.184 GB Notification: Performance of pre-optimization done (n=18984): time 0.001001/11.57, allocations: 0 / 4.072 GB, free: 252.7 MB / 1.184 GB Notification: Performance of matching and sorting (n=18984): time 0.6611/12.24, allocations: 215.9 MB / 4.283 GB, free: 228.9 MB / 1.184 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002212/12.24, allocations: 1.937 MB / 4.285 GB, free: 228.7 MB / 1.184 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.9386/13.18, allocations: 170.5 MB / 4.452 GB, free: 194.8 MB / 1.184 GB Notification: Performance of collectPreVariables (initialization): time 0.03892/13.22, allocations: 4.08 MB / 4.456 GB, free: 194.8 MB / 1.184 GB Notification: Performance of collectInitialEqns (initialization): time 0.105/13.32, allocations: 140.2 MB / 4.593 GB, free: 150 MB / 1.184 GB Notification: Performance of collectInitialBindings (initialization): time 0.08148/13.4, allocations: 82.08 MB / 4.673 GB, free: 94.58 MB / 1.184 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1827/13.58, allocations: 44.36 MB / 4.716 GB, free: 72.06 MB / 1.184 GB Notification: Performance of setup shared object (initialization): time 5.606e-05/13.58, allocations: 484.6 kB / 4.717 GB, free: 71.59 MB / 1.184 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1349/13.72, allocations: 32.8 MB / 4.749 GB, free: 67.1 MB / 1.184 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1771/13.9, allocations: 83.96 MB / 4.831 GB, free: 13.98 MB / 1.184 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.9322/14.83, allocations: 126.1 MB / 4.954 GB, free: 202.8 MB / 1.215 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001228/14.83, allocations: 193.4 kB / 4.954 GB, free: 202.8 MB / 1.215 GB Notification: Performance of matching and sorting (n=28449) (initialization): time 0.7106/15.54, allocations: 229.3 MB / 5.178 GB, free: 130.2 MB / 1.215 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008205/15.54, allocations: 304 kB / 5.178 GB, free: 129.9 MB / 1.215 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001069/15.54, allocations: 0.6751 MB / 5.179 GB, free: 129.2 MB / 1.215 GB Notification: Tearing is skipped for strong component 1 because system size of 12655 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.001325/15.54, allocations: 1.252 MB / 5.18 GB, free: 128 MB / 1.215 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.09531/15.64, allocations: 36.24 MB / 5.216 GB, free: 99.57 MB / 1.215 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002769/15.64, allocations: 1.686 MB / 5.217 GB, free: 98.02 MB / 1.215 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2046/15.85, allocations: 54.57 MB / 5.27 GB, free: 58.32 MB / 1.215 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.04288/15.89, allocations: 7.037 MB / 5.277 GB, free: 53.02 MB / 1.215 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3138 * 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 (15795): * Single equations (assignments): 15794 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(12655,0.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.1263/16.02, allocations: 11.38 MB / 5.288 GB, free: 42.71 MB / 1.215 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1001/16.12, allocations: 26.31 MB / 5.314 GB, free: 16.27 MB / 1.215 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7257/16.84, allocations: 27.1 MB / 5.341 GB, free: 208.1 MB / 1.215 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001107/16.84, allocations: 1.74 MB / 5.342 GB, free: 208.1 MB / 1.215 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.006832/16.85, allocations: 1.74 MB / 5.344 GB, free: 208.1 MB / 1.215 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003358/16.85, allocations: 0.8678 MB / 5.345 GB, free: 208.1 MB / 1.215 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4393/17.29, allocations: 165.3 MB / 5.506 GB, free: 180.6 MB / 1.215 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001251/17.29, allocations: 0 / 5.506 GB, free: 180.6 MB / 1.215 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03701/17.33, allocations: 15.22 MB / 5.521 GB, free: 179.6 MB / 1.215 GB Notification: Tearing is skipped for strong component 2 because system size of 12655 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.0008196/17.33, allocations: 204.1 kB / 5.521 GB, free: 179.6 MB / 1.215 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.025/17.36, allocations: 2.896 MB / 5.524 GB, free: 177.3 MB / 1.215 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004883/17.36, allocations: 198.2 kB / 5.524 GB, free: 177.3 MB / 1.215 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/17.36, allocations: 0 / 5.524 GB, free: 177.3 MB / 1.215 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5571/17.91, allocations: 202.2 MB / 5.722 GB, free: 93.13 MB / 1.215 GB Notification: Performance of postOpt removeConstants (simulation): time 0.07783/17.99, allocations: 27.16 MB / 5.748 GB, free: 65.8 MB / 1.215 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.06714/18.06, allocations: 2.895 MB / 5.751 GB, free: 62.91 MB / 1.215 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.7731/18.83, allocations: 70.57 MB / 5.82 GB, free: 171.3 MB / 1.215 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.05523/18.89, allocations: 20.33 MB / 5.84 GB, free: 171.1 MB / 1.215 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.04291/18.93, allocations: 5.409 MB / 5.845 GB, free: 171.1 MB / 1.215 GB Notification: Performance of sorting global known variables: time 0.1973/19.13, allocations: 97.53 MB / 5.94 GB, free: 166.2 MB / 1.215 GB Notification: Performance of sort global known variables: time 2.71e-07/19.13, allocations: 3.781 kB / 5.94 GB, free: 166.2 MB / 1.215 GB Notification: Performance of remove unused functions: time 0.2292/19.36, allocations: 86.2 MB / 6.025 GB, free: 162.7 MB / 1.215 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6330): * Single equations (assignments): 6329 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(12655,0.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.04763/19.4, allocations: 6.331 MB / 6.031 GB, free: 162 MB / 1.215 GB Notification: Performance of simCode: created initialization part: time 0.3628/19.77, allocations: 149.1 MB / 6.176 GB, free: 55.54 MB / 1.215 GB Notification: Performance of simCode: created event and clocks part: time 0.0003746/19.77, allocations: 448.3 kB / 6.177 GB, free: 55.1 MB / 1.215 GB Notification: Performance of simCode: created simulation system equations: time 0.6909/20.46, allocations: 87.35 MB / 6.262 GB, free: 261.2 MB / 1.247 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2778/20.74, allocations: 44.22 MB / 6.305 GB, free: 256.4 MB / 1.247 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.606/22.34, allocations: 0.5046 GB / 6.81 GB, free: 179.9 MB / 1.247 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1564/22.5, allocations: 65.14 MB / 6.873 GB, free: 173.6 MB / 1.247 GB Notification: Performance of simCode: alias equations: time 0.2075/22.71, allocations: 76.25 MB / 6.948 GB, free: 151.3 MB / 1.247 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05457/22.76, allocations: 7.925 MB / 6.956 GB, free: 151.3 MB / 1.247 GB Notification: Performance of SimCode: time 2.574e-06/22.76, allocations: 4 kB / 6.956 GB, free: 151.3 MB / 1.247 GB Notification: Performance of Templates: time 7.983/30.74, allocations: 2.91 GB / 9.866 GB, free: 162.1 MB / 1.294 GB " [Timeout remaining time 269] make -j1 -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_56_M_56.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_56_M_56.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_56_M_56.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_56_M_56.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_56_M_56.sim & ./ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_56_M_56 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_56_M_56.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_56_M_56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_56_M_56_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 298] Reference file matches [Calling sys.exit(0), Time elapsed: 102.18643195414916]