Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_80_M_80.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.001112/0.001112, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.00107/0.00107, allocations: 170.3 kB / 24.91 MB, free: 8.77 MB / 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.9461/0.9461, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.7253/0.7253, allocations: 88.08 MB / 349.9 MB, free: 14.14 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_80_M_80,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_noopt_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_80_M_80") translateModel(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_80_M_80,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_noopt_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_80_M_80") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 398.9 MB, free: 13.49 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.446e-05, allocations: 4.984 kB / 398.9 MB, free: 13.49 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_80_M_80): time 0.006146/0.00617, allocations: 2.419 MB / 401.3 MB, free: 11.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.007211, allocations: 0.5881 MB / 401.9 MB, free: 10.46 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.007312, allocations: 7.938 kB / 401.9 MB, free: 10.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003154/0.01047, allocations: 39.58 kB / 402 MB, free: 10.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.0106, allocations: 71.41 kB / 402 MB, free: 10.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.01078, allocations: 59.91 kB / 402.1 MB, free: 10.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.261/2.271, allocations: 0.8154 GB / 1.208 GB, free: 7.371 MB / 0.8078 GB Notification: Performance of NFFlatten.resolveConnections: time 1.855/4.126, allocations: 175.8 MB / 1.38 GB, free: 8.258 MB / 0.8551 GB Notification: Performance of NFEvalConstants.evaluate: time 2.375/6.501, allocations: 467 MB / 1.836 GB, free: 122.6 MB / 1.044 GB Notification: Performance of NFSimplifyModel.simplify: time 2.29/8.791, allocations: 354.1 MB / 2.182 GB, free: 12.8 MB / 1.124 GB Notification: Performance of NFPackage.collectConstants: time 0.2679/9.059, allocations: 56.58 MB / 2.237 GB, free: 12.8 MB / 1.124 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2664/9.326, allocations: 56.58 MB / 2.292 GB, free: 12.8 MB / 1.124 GB Notification: Performance of NFScalarize.scalarize: time 0.3125/9.638, allocations: 156.3 MB / 2.445 GB, free: 7.691 MB / 1.155 GB Notification: Performance of NFVerifyModel.verify: time 1.587/11.23, allocations: 247.1 MB / 2.686 GB, free: 62.42 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 2.343/13.57, allocations: 0.6771 GB / 3.363 GB, free: 151.3 MB / 1.53 GB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/13.57, allocations: 0 / 3.363 GB, free: 151.3 MB / 1.53 GB Notification: Performance of FrontEnd: time 1.893e-06/13.57, allocations: 0.7188 kB / 3.363 GB, free: 151.3 MB / 1.53 GB Notification: Performance of Transformations before backend: time 0.04356/13.61, allocations: 0 / 3.363 GB, free: 151.3 MB / 1.53 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128729 * Number of variables: 128729 Notification: Performance of Generate backend data structure: time 3.901/17.51, allocations: 0.5888 GB / 3.952 GB, free: 247.7 MB / 1.628 GB Notification: Performance of prepare preOptimizeDAE: time 6.05e-05/17.51, allocations: 8.188 kB / 3.952 GB, free: 247.7 MB / 1.628 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.647/18.16, allocations: 85.66 MB / 4.036 GB, free: 232 MB / 1.628 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7923/18.95, allocations: 173.4 MB / 4.205 GB, free: 129.1 MB / 1.628 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.04359/18.99, allocations: 36.34 MB / 4.24 GB, free: 92.72 MB / 1.628 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.3012/19.3, allocations: 53.04 MB / 4.292 GB, free: 39.69 MB / 1.628 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.402/22.7, allocations: 0.6051 GB / 4.897 GB, free: 308.5 MB / 1.971 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.02413/22.72, allocations: 192 / 4.897 GB, free: 308.5 MB / 1.971 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.2809/23, allocations: 22.01 MB / 4.919 GB, free: 296.9 MB / 1.971 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01111/23.01, allocations: 11.78 MB / 4.93 GB, free: 296.9 MB / 1.971 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.048/25.06, allocations: 123.4 MB / 5.051 GB, free: 0.7553 GB / 1.971 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.205/30.27, allocations: 1.061 GB / 6.112 GB, free: 384.7 MB / 1.971 GB Notification: Performance of preOpt comSubExp (simulation): time 1.848/32.12, allocations: 399.6 MB / 6.502 GB, free: 0.6287 GB / 1.971 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4055/32.52, allocations: 97.98 MB / 6.598 GB, free: 0.6075 GB / 1.971 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03585/32.56, allocations: 6.193 MB / 6.604 GB, free: 0.6073 GB / 1.971 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0116/32.57, allocations: 7.107 MB / 6.611 GB, free: 0.6068 GB / 1.971 GB Notification: Performance of pre-optimization done (n=38640): time 0.002013/32.57, allocations: 6.75 kB / 6.611 GB, free: 0.6068 GB / 1.971 GB Notification: Performance of matching and sorting (n=38640): time 1.286/33.86, allocations: 286.5 MB / 6.891 GB, free: 0.5553 GB / 1.971 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004753/33.86, allocations: 3.887 MB / 6.895 GB, free: 0.5515 GB / 1.971 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.991/35.85, allocations: 225.7 MB / 7.115 GB, free: 0.5826 GB / 1.971 GB Notification: Performance of collectPreVariables (initialization): time 0.1406/35.99, allocations: 8.277 MB / 7.123 GB, free: 0.5825 GB / 1.971 GB Notification: Performance of collectInitialEqns (initialization): time 0.3018/36.29, allocations: 182.6 MB / 7.301 GB, free: 0.4968 GB / 1.971 GB Notification: Performance of collectInitialBindings (initialization): time 0.2682/36.56, allocations: 139.4 MB / 7.437 GB, free: 409.6 MB / 1.971 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.5622/37.13, allocations: 69.94 MB / 7.506 GB, free: 375.8 MB / 1.971 GB Notification: Performance of setup shared object (initialization): time 3.971e-05/37.13, allocations: 307.3 kB / 7.506 GB, free: 375.5 MB / 1.971 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2926/37.42, allocations: 42.92 MB / 7.548 GB, free: 374.6 MB / 1.971 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.998/39.42, allocations: 110 MB / 7.655 GB, free: 0.5717 GB / 1.971 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8306/40.25, allocations: 183.7 MB / 7.835 GB, free: 0.5041 GB / 1.971 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.005953/40.25, allocations: 404.5 kB / 7.835 GB, free: 0.5041 GB / 1.971 GB Notification: Performance of matching and sorting (n=57921) (initialization): time 1.697/41.95, allocations: 308.1 MB / 8.136 GB, free: 375.5 MB / 1.971 GB Notification: Performance of prepare postOptimizeDAE: time 0.004634/41.95, allocations: 0.597 MB / 8.137 GB, free: 374.9 MB / 1.971 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006276/41.96, allocations: 1.367 MB / 8.138 GB, free: 373.5 MB / 1.971 GB Notification: Tearing is skipped for strong component 1 because system size of 25759 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.005144/41.97, allocations: 2.544 MB / 8.14 GB, free: 371 MB / 1.971 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1875/42.15, allocations: 49.85 MB / 8.189 GB, free: 323 MB / 1.971 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004874/42.16, allocations: 3.435 MB / 8.192 GB, free: 319.5 MB / 1.971 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.434/42.59, allocations: 40.15 MB / 8.232 GB, free: 310 MB / 1.971 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.1321/42.72, allocations: 10.79 MB / 8.242 GB, free: 302.8 MB / 1.971 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6402 * 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 (32163): * Single equations (assignments): 32162 * 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 {(25759,0.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.4346/43.16, allocations: 22.98 MB / 8.265 GB, free: 285.4 MB / 1.971 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.3431/43.5, allocations: 40.18 MB / 8.304 GB, free: 245.1 MB / 1.971 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.86/45.36, allocations: 54.23 MB / 8.357 GB, free: 0.5211 GB / 1.971 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004446/45.37, allocations: 3.539 MB / 8.36 GB, free: 0.5211 GB / 1.971 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0162/45.38, allocations: 3.54 MB / 8.364 GB, free: 0.5211 GB / 1.971 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009609/45.39, allocations: 1.769 MB / 8.365 GB, free: 0.5211 GB / 1.971 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.9115/46.3, allocations: 173 MB / 8.534 GB, free: 491.7 MB / 1.971 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003025/46.31, allocations: 4.406 kB / 8.534 GB, free: 491.7 MB / 1.971 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.06825/46.37, allocations: 19.07 MB / 8.553 GB, free: 489.9 MB / 1.971 GB Notification: Tearing is skipped for strong component 2 because system size of 25759 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.003291/46.38, allocations: 401.8 kB / 8.553 GB, free: 489.9 MB / 1.971 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.08118/46.46, allocations: 5.897 MB / 8.559 GB, free: 485.1 MB / 1.971 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/46.46, allocations: 403.5 kB / 8.56 GB, free: 485.1 MB / 1.971 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/46.46, allocations: 0.5938 kB / 8.56 GB, free: 485.1 MB / 1.971 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.311/47.77, allocations: 261.9 MB / 8.815 GB, free: 428.8 MB / 1.971 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2275/48, allocations: 39.98 MB / 8.854 GB, free: 407.1 MB / 1.971 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.2643/48.26, allocations: 5.901 MB / 8.86 GB, free: 401.2 MB / 1.971 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.4549/48.72, allocations: 48.65 MB / 8.908 GB, free: 355.2 MB / 1.971 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.724/50.44, allocations: 41.37 MB / 8.948 GB, free: 461.6 MB / 1.971 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.1195/50.56, allocations: 8.645 MB / 8.956 GB, free: 461.6 MB / 1.971 GB Notification: Performance of sorting global known variables: time 0.4808/51.04, allocations: 117.8 MB / 9.071 GB, free: 447.1 MB / 1.971 GB Notification: Performance of sort global known variables: time 3.8e-07/51.04, allocations: 0 / 9.071 GB, free: 447.1 MB / 1.971 GB Notification: Performance of remove unused functions: time 0.7475/51.79, allocations: 175.5 MB / 9.243 GB, free: 435.2 MB / 1.971 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 (12882): * Single equations (assignments): 12881 * 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 {(25759,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.172/51.96, allocations: 12.75 MB / 9.255 GB, free: 433.9 MB / 1.971 GB Notification: Performance of simCode: created initialization part: time 1.036/53, allocations: 228.7 MB / 9.479 GB, free: 332.6 MB / 1.971 GB Notification: Performance of simCode: created event and clocks part: time 0.03808/53.04, allocations: 5.572 MB / 9.484 GB, free: 327 MB / 1.971 GB Notification: Performance of simCode: created simulation system equations: time 0.672/53.71, allocations: 133.7 MB / 9.615 GB, free: 214.4 MB / 1.971 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 2.316/56.02, allocations: 90.17 MB / 9.703 GB, free: 0.492 GB / 1.971 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 4.242/60.27, allocations: 1.005 GB / 10.71 GB, free: 281.5 MB / 1.971 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4146/60.68, allocations: 109.4 MB / 10.81 GB, free: 250.5 MB / 1.971 GB Notification: Performance of simCode: alias equations: time 0.443/61.12, allocations: 37.26 MB / 10.85 GB, free: 222 MB / 1.971 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.7047/61.83, allocations: 97.21 MB / 10.95 GB, free: 152.2 MB / 1.971 GB Notification: Performance of SimCode: time 2.595e-06/61.83, allocations: 336 / 10.95 GB, free: 152.2 MB / 1.971 GB Notification: Performance of Templates: time 22/83.83, allocations: 6.011 GB / 16.96 GB, free: 111.4 MB / 1.971 GB " [Timeout remaining time 216] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_80_M_80.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_80_M_80.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_80_M_80.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_80_M_80.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_80_M_80.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_80_M_80 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_80_M_80.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_80_M_80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_80_M_80_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 295] Reference file matches [Calling sys.exit(0), Time elapsed: 150.45383753767237]