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.00131/0.00131, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001664/0.001664, allocations: 169 kB / 24.91 MB, free: 9.16 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.9945/0.9945, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.6637/0.6637, allocations: 88.09 MB / 349.9 MB, free: 14.1 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.403e-06/1.403e-06, allocations: 0 / 398.9 MB, free: 13.45 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.485e-05, allocations: 8.812 kB / 398.9 MB, free: 13.45 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_56_M_56): time 0.003664/0.003689, allocations: 2.426 MB / 401.3 MB, free: 11.01 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.004949, allocations: 0.5842 MB / 401.9 MB, free: 10.42 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.005069, allocations: 4 kB / 401.9 MB, free: 10.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.005234, allocations: 43.58 kB / 402 MB, free: 10.37 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.00542, allocations: 63.41 kB / 402 MB, free: 10.31 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.005649, allocations: 59.86 kB / 402.1 MB, free: 10.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.9696/0.9752, allocations: 410.3 MB / 0.7934 GB, free: 5.543 MB / 0.5888 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1704/1.146, allocations: 86.47 MB / 0.8778 GB, free: 9.684 MB / 0.6669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.9796/2.125, allocations: 229.4 MB / 1.102 GB, free: 9.777 MB / 0.6984 GB Notification: Performance of NFSimplifyModel.simplify: time 1.095/3.22, allocations: 173.9 MB / 1.272 GB, free: 45.42 MB / 0.8083 GB Notification: Performance of NFPackage.collectConstants: time 0.09653/3.317, allocations: 27.79 MB / 1.299 GB, free: 45.42 MB / 0.8083 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1389/3.456, allocations: 27.8 MB / 1.326 GB, free: 45.42 MB / 0.8083 GB Notification: Performance of NFScalarize.scalarize: time 0.158/3.614, allocations: 76.77 MB / 1.401 GB, free: 36.93 MB / 0.8083 GB Notification: Performance of NFVerifyModel.verify: time 0.2951/3.909, allocations: 121.4 MB / 1.519 GB, free: 1.184 MB / 0.8551 GB Notification: Performance of NFConvertDAE.convert: time 1.11/5.019, allocations: 340.5 MB / 1.852 GB, free: 15.45 MB / 0.9499 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/5.019, allocations: 4 kB / 1.852 GB, free: 15.45 MB / 0.9499 GB Notification: Performance of FrontEnd: time 2.375e-06/5.019, allocations: 0.625 kB / 1.852 GB, free: 15.45 MB / 0.9499 GB Notification: Performance of Transformations before backend: time 0.02058/5.04, allocations: 0 / 1.852 GB, free: 15.45 MB / 0.9499 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 1.065/6.105, allocations: 296.3 MB / 2.141 GB, free: 216.5 MB / 1.046 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/6.105, allocations: 12.03 kB / 2.141 GB, free: 216.5 MB / 1.046 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1131/6.218, allocations: 42.07 MB / 2.182 GB, free: 174.4 MB / 1.046 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1953/6.413, allocations: 85.18 MB / 2.266 GB, free: 101.1 MB / 1.046 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01344/6.426, allocations: 17.85 MB / 2.283 GB, free: 83.2 MB / 1.046 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.06656/6.493, allocations: 26.06 MB / 2.308 GB, free: 57.14 MB / 1.046 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7756/7.269, allocations: 303.7 MB / 2.605 GB, free: 56.61 MB / 1.077 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.01215/7.281, allocations: 3.328 kB / 2.605 GB, free: 56.61 MB / 1.077 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.06389/7.345, allocations: 10.81 MB / 2.616 GB, free: 48.51 MB / 1.077 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003578/7.348, allocations: 5.79 MB / 2.621 GB, free: 48.51 MB / 1.077 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2757/7.624, allocations: 60.6 MB / 2.68 GB, free: 51.62 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 2.219/9.843, allocations: 0.5211 GB / 3.201 GB, free: 237.4 MB / 1.108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.255/10.1, allocations: 181.9 MB / 3.379 GB, free: 133.8 MB / 1.108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.125/10.22, allocations: 44.99 MB / 3.423 GB, free: 120.7 MB / 1.108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009095/10.23, allocations: 3.042 MB / 3.426 GB, free: 120.5 MB / 1.108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003098/10.24, allocations: 3.511 MB / 3.429 GB, free: 118.4 MB / 1.108 GB Notification: Performance of pre-optimization done (n=18984): time 0.0007702/10.24, allocations: 0 / 3.429 GB, free: 118.4 MB / 1.108 GB Notification: Performance of matching and sorting (n=18984): time 0.4401/10.68, allocations: 140.8 MB / 3.567 GB, free: 8.156 MB / 1.108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008595/10.68, allocations: 1.937 MB / 3.569 GB, free: 6.203 MB / 1.108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7739/11.45, allocations: 110.9 MB / 3.677 GB, free: 278.9 MB / 1.155 GB Notification: Performance of collectPreVariables (initialization): time 0.04068/11.49, allocations: 4.081 MB / 3.681 GB, free: 278.9 MB / 1.155 GB Notification: Performance of collectInitialEqns (initialization): time 0.08993/11.58, allocations: 89.2 MB / 3.768 GB, free: 239 MB / 1.155 GB Notification: Performance of collectInitialBindings (initialization): time 0.08083/11.66, allocations: 67.95 MB / 3.834 GB, free: 192.7 MB / 1.155 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1649/11.83, allocations: 34.36 MB / 3.868 GB, free: 174.8 MB / 1.155 GB Notification: Performance of setup shared object (initialization): time 3.465e-05/11.83, allocations: 301.1 kB / 3.868 GB, free: 174.5 MB / 1.155 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1038/11.93, allocations: 21.08 MB / 3.889 GB, free: 174.1 MB / 1.155 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1349/12.07, allocations: 53.97 MB / 3.942 GB, free: 133.2 MB / 1.155 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2139/12.28, allocations: 90.18 MB / 4.03 GB, free: 37.4 MB / 1.155 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001006/12.28, allocations: 196 kB / 4.03 GB, free: 37.21 MB / 1.155 GB Notification: Performance of matching and sorting (n=28449) (initialization): time 1.129/13.41, allocations: 151.3 MB / 4.178 GB, free: 243.9 MB / 1.155 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005611/13.41, allocations: 298.9 kB / 4.178 GB, free: 243.9 MB / 1.155 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009089/13.41, allocations: 0.6736 MB / 4.179 GB, free: 243.9 MB / 1.155 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.002052/13.41, allocations: 1.249 MB / 4.18 GB, free: 243.9 MB / 1.155 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.07318/13.49, allocations: 24.48 MB / 4.204 GB, free: 236.2 MB / 1.155 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002317/13.49, allocations: 1.682 MB / 4.205 GB, free: 234.6 MB / 1.155 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1772/13.67, allocations: 19.7 MB / 4.225 GB, free: 229.1 MB / 1.155 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.04413/13.71, allocations: 5.297 MB / 4.23 GB, free: 225.5 MB / 1.155 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.1519/13.86, allocations: 11.34 MB / 4.241 GB, free: 216.7 MB / 1.155 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.08726/13.95, allocations: 19.75 MB / 4.26 GB, free: 197.7 MB / 1.155 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05186/14, allocations: 26.62 MB / 4.286 GB, free: 171.1 MB / 1.155 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007627/14, allocations: 1.742 MB / 4.288 GB, free: 169.4 MB / 1.155 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.003823/14.01, allocations: 1.738 MB / 4.29 GB, free: 167.6 MB / 1.155 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003031/14.01, allocations: 0.8716 MB / 4.29 GB, free: 166.7 MB / 1.155 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3154/14.32, allocations: 85.02 MB / 4.373 GB, free: 85.15 MB / 1.155 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0005105/14.33, allocations: 0 / 4.373 GB, free: 85.15 MB / 1.155 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0282/14.35, allocations: 9.378 MB / 4.383 GB, free: 75.77 MB / 1.155 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.0006438/14.35, allocations: 200 kB / 4.383 GB, free: 75.57 MB / 1.155 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.02694/14.38, allocations: 2.895 MB / 4.386 GB, free: 72.68 MB / 1.155 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005225/14.38, allocations: 200 kB / 4.386 GB, free: 72.48 MB / 1.155 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/14.38, allocations: 0 / 4.386 GB, free: 72.48 MB / 1.155 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.009/15.39, allocations: 128.9 MB / 4.512 GB, free: 221.9 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0621/15.45, allocations: 19.64 MB / 4.531 GB, free: 215.2 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0666/15.52, allocations: 2.898 MB / 4.534 GB, free: 215.2 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1428/15.66, allocations: 23.88 MB / 4.557 GB, free: 213.5 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.05223/15.71, allocations: 20.33 MB / 4.577 GB, free: 213.4 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.03963/15.75, allocations: 4.25 MB / 4.581 GB, free: 213.4 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.1727/15.93, allocations: 57.86 MB / 4.637 GB, free: 206.4 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.1e-07/15.93, allocations: 4 kB / 4.637 GB, free: 206.4 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.2876/16.21, allocations: 86.21 MB / 4.722 GB, free: 196.9 MB / 1.186 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.05748/16.27, allocations: 6.302 MB / 4.728 GB, free: 190.9 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.3487/16.62, allocations: 112.4 MB / 4.838 GB, free: 82.27 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 0.008631/16.63, allocations: 2.748 MB / 4.84 GB, free: 79.5 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.1902/16.82, allocations: 65.74 MB / 4.904 GB, free: 13.79 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.8012/17.62, allocations: 44.21 MB / 4.948 GB, free: 277 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.613/19.23, allocations: 485.2 MB / 5.421 GB, free: 200.4 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1646/19.4, allocations: 53.75 MB / 5.474 GB, free: 210.2 MB / 1.233 GB Notification: Performance of simCode: alias equations: time 0.1747/19.57, allocations: 18.21 MB / 5.492 GB, free: 202 MB / 1.233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2634/19.84, allocations: 46.24 MB / 5.537 GB, free: 193.5 MB / 1.233 GB Notification: Performance of SimCode: time 2.285e-06/19.84, allocations: 0 / 5.537 GB, free: 193.5 MB / 1.233 GB Notification: Performance of Templates: time 7.719/27.55, allocations: 2.948 GB / 8.485 GB, free: 259.6 MB / 1.389 GB " [Timeout remaining time 272] 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: 97.87052611680701]