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.001274/0.001274, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.0009122/0.0009122, allocations: 160.8 kB / 24.82 MB, free: 9.266 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 1.083/1.083, 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.7866/0.7866, allocations: 88.08 MB / 349.9 MB, free: 14.16 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 2.806e-06/2.806e-06, allocations: 2.844 kB / 452.1 MB, free: 33.05 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.498e-05/2.778e-05, allocations: 6.484 kB / 452.1 MB, free: 33.05 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_80_M_80): time 0.002555/0.002583, allocations: 2.418 MB / 454.6 MB, free: 31.44 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008435/0.003426, allocations: 0.5745 MB / 455.1 MB, free: 31.05 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.003537, allocations: 2.625 kB / 455.1 MB, free: 31.05 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.003679, allocations: 38.17 kB / 455.2 MB, free: 31.03 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.003788, allocations: 66.97 kB / 455.2 MB, free: 30.98 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.003976, allocations: 67.73 kB / 455.3 MB, free: 30.95 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 2.794/2.798, allocations: 0.8154 GB / 1.26 GB, free: 15.34 MB / 0.8083 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5632/3.361, allocations: 170.8 MB / 1.427 GB, free: 10.61 MB / 0.8864 GB Notification: Performance of NFEvalConstants.evaluate: time 1.793/5.154, allocations: 467 MB / 1.883 GB, free: 10.05 MB / 1.012 GB Notification: Performance of NFSimplifyModel.simplify: time 1.452/6.606, allocations: 354.1 MB / 2.229 GB, free: 48 kB / 1.077 GB Notification: Performance of NFPackage.collectConstants: time 0.2399/6.846, allocations: 56.58 MB / 2.284 GB, free: 48 kB / 1.077 GB Notification: Performance of NFFlatten.collectFunctions: time 0.341/7.187, allocations: 56.58 MB / 2.339 GB, free: 2.988 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.861/8.048, allocations: 156.3 MB / 2.492 GB, free: 154.7 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.5765/8.624, allocations: 247.1 MB / 2.733 GB, free: 80.13 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 1.666/10.29, allocations: 0.6771 GB / 3.41 GB, free: 12.14 MB / 1.53 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/10.29, allocations: 0 / 3.41 GB, free: 12.14 MB / 1.53 GB Notification: Performance of FrontEnd: time 1.533e-06/10.29, allocations: 0 / 3.41 GB, free: 12.14 MB / 1.53 GB Notification: Performance of Transformations before backend: time 0.03504/10.33, allocations: 0 / 3.41 GB, free: 12.14 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 1.636/11.96, allocations: 0.6618 GB / 4.072 GB, free: 122.7 MB / 1.561 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/11.96, allocations: 12.03 kB / 4.072 GB, free: 122.7 MB / 1.561 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2747/12.24, allocations: 105.1 MB / 4.175 GB, free: 17.21 MB / 1.561 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.501/13.74, allocations: 223.5 MB / 4.393 GB, free: 280.3 MB / 1.565 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.04281/13.78, allocations: 36.34 MB / 4.428 GB, free: 269.4 MB / 1.565 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1521/13.93, allocations: 53.04 MB / 4.48 GB, free: 252.9 MB / 1.565 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.515/15.45, allocations: 0.5904 GB / 5.071 GB, free: 101.3 MB / 1.659 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.01511/15.46, allocations: 2.781 kB / 5.071 GB, free: 101.3 MB / 1.659 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.1164/15.58, allocations: 22 MB / 5.092 GB, free: 101.3 MB / 1.659 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006139/15.59, allocations: 11.79 MB / 5.104 GB, free: 101.3 MB / 1.659 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6103/16.2, allocations: 146.7 MB / 5.247 GB, free: 72.06 MB / 1.674 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.616/21.81, allocations: 1.313 GB / 6.56 GB, free: 79.11 MB / 1.753 GB Notification: Performance of preOpt comSubExp (simulation): time 2.308/24.12, allocations: 456.8 MB / 7.006 GB, free: 234.5 MB / 1.862 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3908/24.51, allocations: 116.6 MB / 7.12 GB, free: 200 MB / 1.862 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03087/24.54, allocations: 6.19 MB / 7.126 GB, free: 199.7 MB / 1.862 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01626/24.56, allocations: 7.112 MB / 7.133 GB, free: 195.3 MB / 1.862 GB Notification: Performance of pre-optimization done (n=38640): time 0.00293/24.56, allocations: 0 / 7.133 GB, free: 195.3 MB / 1.862 GB Notification: Performance of matching and sorting (n=38640): time 1.56/26.12, allocations: 358.7 MB / 7.483 GB, free: 8.906 MB / 1.862 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.9093/27.03, allocations: 3.883 MB / 7.487 GB, free: 401.6 MB / 1.862 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7382/27.77, allocations: 335.9 MB / 7.815 GB, free: 346.7 MB / 1.862 GB Notification: Performance of collectPreVariables (initialization): time 0.07851/27.85, allocations: 8.278 MB / 7.823 GB, free: 346.7 MB / 1.862 GB Notification: Performance of collectInitialEqns (initialization): time 0.2848/28.13, allocations: 296.8 MB / 8.113 GB, free: 153.6 MB / 1.862 GB Notification: Performance of collectInitialBindings (initialization): time 1.319/29.45, allocations: 171.9 MB / 8.281 GB, free: 299 MB / 1.862 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.3479/29.8, allocations: 92.41 MB / 8.371 GB, free: 284.7 MB / 1.862 GB Notification: Performance of setup shared object (initialization): time 4.372e-05/29.8, allocations: 476.8 kB / 8.372 GB, free: 284.2 MB / 1.862 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2008/30, allocations: 50.29 MB / 8.421 GB, free: 283.3 MB / 1.862 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3069/30.31, allocations: 156.6 MB / 8.574 GB, free: 192.7 MB / 1.862 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5623/30.87, allocations: 228.2 MB / 8.797 GB, free: 9.355 MB / 1.862 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.007344/30.88, allocations: 400 kB / 8.797 GB, free: 8.965 MB / 1.862 GB Notification: Performance of matching and sorting (n=57921) (initialization): time 3.83/34.71, allocations: 392.5 MB / 9.18 GB, free: 244.7 MB / 1.94 GB Notification: Performance of prepare postOptimizeDAE: time 0.007245/34.71, allocations: 0.594 MB / 9.181 GB, free: 244.7 MB / 1.94 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01015/34.72, allocations: 1.371 MB / 9.182 GB, free: 244.7 MB / 1.94 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.008491/34.73, allocations: 2.544 MB / 9.185 GB, free: 244.7 MB / 1.94 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.22/34.95, allocations: 49.85 MB / 9.233 GB, free: 220.2 MB / 1.94 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008887/34.96, allocations: 3.423 MB / 9.237 GB, free: 217.1 MB / 1.94 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.5283/35.49, allocations: 40.16 MB / 9.276 GB, free: 194.5 MB / 1.94 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.1452/35.63, allocations: 10.79 MB / 9.287 GB, free: 187.2 MB / 1.94 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.4013/36.03, allocations: 23.03 MB / 9.309 GB, free: 178 MB / 1.94 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2684/36.3, allocations: 53.55 MB / 9.361 GB, free: 128.9 MB / 1.94 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1693/36.47, allocations: 54.23 MB / 9.414 GB, free: 104.8 MB / 1.94 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002756/36.48, allocations: 3.539 MB / 9.418 GB, free: 101.3 MB / 1.94 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01047/36.49, allocations: 3.539 MB / 9.421 GB, free: 97.71 MB / 1.94 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009808/36.5, allocations: 1.767 MB / 9.423 GB, free: 95.94 MB / 1.94 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8909/37.39, allocations: 236.9 MB / 9.654 GB, free: 8.707 MB / 2.081 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00084/37.39, allocations: 4 kB / 9.654 GB, free: 8.703 MB / 2.081 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.638/39.02, allocations: 19.07 MB / 9.673 GB, free: 429.2 MB / 2.096 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.002109/39.03, allocations: 405 kB / 9.673 GB, free: 429.2 MB / 2.096 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.06829/39.1, allocations: 5.897 MB / 9.679 GB, free: 429.2 MB / 2.096 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/39.1, allocations: 401.9 kB / 9.679 GB, free: 429.2 MB / 2.096 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/39.1, allocations: 4.781 kB / 9.679 GB, free: 429.2 MB / 2.096 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.24/40.34, allocations: 343.4 MB / 10.01 GB, free: 375.2 MB / 2.096 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1624/40.5, allocations: 47.45 MB / 10.06 GB, free: 354.4 MB / 2.096 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.1453/40.64, allocations: 5.899 MB / 10.07 GB, free: 354.4 MB / 2.096 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2983/40.94, allocations: 48.65 MB / 10.11 GB, free: 345.7 MB / 2.096 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.1126/41.06, allocations: 41.37 MB / 10.15 GB, free: 311.6 MB / 2.096 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.09117/41.15, allocations: 8.649 MB / 10.16 GB, free: 306.1 MB / 2.096 GB Notification: Performance of sorting global known variables: time 0.4544/41.6, allocations: 189.3 MB / 10.35 GB, free: 138.1 MB / 2.096 GB Notification: Performance of sort global known variables: time 2.7e-07/41.6, allocations: 0 / 10.35 GB, free: 138.1 MB / 2.096 GB Notification: Performance of remove unused functions: time 1.805/43.41, allocations: 175.5 MB / 10.52 GB, free: 345 MB / 2.096 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.1072/43.51, allocations: 12.77 MB / 10.53 GB, free: 343.7 MB / 2.096 GB Notification: Performance of simCode: created initialization part: time 0.8178/44.33, allocations: 274.5 MB / 10.8 GB, free: 313 MB / 2.096 GB Notification: Performance of simCode: created event and clocks part: time 0.0005275/44.33, allocations: 0.8862 MB / 10.8 GB, free: 312.9 MB / 2.096 GB Notification: Performance of simCode: created simulation system equations: time 0.4222/44.75, allocations: 164.5 MB / 10.96 GB, free: 255.8 MB / 2.096 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.5502/45.3, allocations: 90.17 MB / 11.05 GB, free: 188.3 MB / 2.096 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 4.261/49.57, allocations: 1.031 GB / 12.08 GB, free: 256.7 MB / 2.128 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3935/49.96, allocations: 132.6 MB / 12.21 GB, free: 257.1 MB / 2.143 GB Notification: Performance of simCode: alias equations: time 0.3429/50.3, allocations: 37.26 MB / 12.25 GB, free: 235.6 MB / 2.143 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.5709/50.87, allocations: 105.1 MB / 12.35 GB, free: 214.5 MB / 2.143 GB Notification: Performance of SimCode: time 1.964e-06/50.87, allocations: 3.281 kB / 12.35 GB, free: 214.5 MB / 2.143 GB Notification: Performance of Templates: time 26.21/77.08, allocations: 6.011 GB / 18.36 GB, free: 241.3 MB / 2.362 GB " [Timeout remaining time 223] 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: 141.8715193318203]