Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_112_M_112.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.001/0.001, allocations: 80.39 kB / 21.19 MB, free: 3.383 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.001339/0.001339, allocations: 165 kB / 24.55 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.9109/0.9109, allocations: 177.1 MB / 205 MB, free: 5.637 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.6156/0.6156, allocations: 88.08 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_112_M_112,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_112_M_112") translateModel(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_112_M_112,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_112_M_112") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 451.7 MB, free: 33.27 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.299e-05/1.459e-05, allocations: 3.406 kB / 451.7 MB, free: 33.27 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_112_M_112): time 0.002042/0.002057, allocations: 2.428 MB / 454.1 MB, free: 31.67 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006202/0.002677, allocations: 0.5817 MB / 454.7 MB, free: 31.28 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.238e-05/0.002759, allocations: 10.66 kB / 454.7 MB, free: 31.27 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.002884, allocations: 38.47 kB / 454.7 MB, free: 31.25 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 9.29e-05/0.002976, allocations: 70.78 kB / 454.8 MB, free: 31.2 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.003127, allocations: 52.31 kB / 454.9 MB, free: 31.18 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 6.151/6.154, allocations: 1.595 GB / 2.039 GB, free: 0.9844 MB / 1.171 GB Notification: Performance of NFFlatten.resolveConnections: time 1.373/7.527, allocations: 335 MB / 2.366 GB, free: 1.961 MB / 1.28 GB Notification: Performance of NFEvalConstants.evaluate: time 6.849/14.38, allocations: 0.8927 GB / 3.259 GB, free: 26.44 MB / 1.581 GB Notification: Performance of NFSimplifyModel.simplify: time 3.1/17.48, allocations: 0.6767 GB / 3.936 GB, free: 33.38 MB / 1.956 GB Notification: Performance of NFPackage.collectConstants: time 0.5532/18.03, allocations: 110.7 MB / 4.044 GB, free: 33.38 MB / 1.956 GB Notification: Performance of NFFlatten.collectFunctions: time 0.7796/18.81, allocations: 110.7 MB / 4.152 GB, free: 33.38 MB / 1.956 GB Notification: Performance of NFScalarize.scalarize: time 0.6366/19.45, allocations: 307.7 MB / 4.453 GB, free: 0 / 1.956 GB Notification: Performance of NFVerifyModel.verify: time 3.332/22.78, allocations: 493.2 MB / 4.934 GB, free: 131.1 MB / 2.128 GB Notification: Performance of NFConvertDAE.convert: time 3.112/25.89, allocations: 1.325 GB / 6.259 GB, free: 162.3 MB / 2.596 GB Notification: Performance of FrontEnd - DAE generated: time 9.397e-06/25.89, allocations: 0 / 6.259 GB, free: 162.3 MB / 2.596 GB Notification: Performance of FrontEnd: time 2.926e-06/25.89, allocations: 3.375 kB / 6.259 GB, free: 162.3 MB / 2.596 GB Notification: Performance of Transformations before backend: time 0.07898/25.97, allocations: 0 / 6.259 GB, free: 162.3 MB / 2.596 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251897 * Number of variables: 251897 Notification: Performance of Generate backend data structure: time 6.885/32.85, allocations: 1.661 GB / 7.92 GB, free: 294.5 MB / 2.698 GB Notification: Performance of prepare preOptimizeDAE: time 8.071e-05/32.85, allocations: 14.5 kB / 7.92 GB, free: 294.5 MB / 2.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.305/34.16, allocations: 205.7 MB / 8.121 GB, free: 230.3 MB / 2.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.787/35.94, allocations: 0.5231 GB / 8.644 GB, free: 39.62 MB / 2.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.09913/36.04, allocations: 71.11 MB / 8.714 GB, free: 0.5078 MB / 2.729 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.6297/36.67, allocations: 103.8 MB / 8.815 GB, free: 8.777 MB / 2.839 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.968/42.64, allocations: 1.224 GB / 10.04 GB, free: 0.9082 GB / 3.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.04919/42.69, allocations: 192 / 10.04 GB, free: 0.9082 GB / 3.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.3774/43.07, allocations: 43.05 MB / 10.08 GB, free: 0.9082 GB / 3.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01983/43.09, allocations: 23.06 MB / 10.1 GB, free: 0.9082 GB / 3.339 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.827/44.91, allocations: 401.4 MB / 10.5 GB, free: 0.8712 GB / 3.339 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 14.06/58.97, allocations: 3.329 GB / 13.82 GB, free: 0.7161 GB / 3.339 GB Notification: Performance of preOpt comSubExp (simulation): time 4.414/63.39, allocations: 0.9957 GB / 14.82 GB, free: 328.6 MB / 3.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.061/66.45, allocations: 269.6 MB / 15.08 GB, free: 0.7768 GB / 3.339 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05768/66.51, allocations: 12.12 MB / 15.1 GB, free: 0.7763 GB / 3.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02447/66.53, allocations: 13.88 MB / 15.11 GB, free: 0.7755 GB / 3.339 GB Notification: Performance of pre-optimization done (n=75600): time 0.005204/66.54, allocations: 0 / 15.11 GB, free: 0.7755 GB / 3.339 GB Notification: Performance of matching and sorting (n=75600): time 3.029/69.56, allocations: 0.8412 GB / 15.95 GB, free: 0.6322 GB / 3.339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004209/69.57, allocations: 7.549 MB / 15.96 GB, free: 0.6248 GB / 3.339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.255/72.82, allocations: 0.6619 GB / 16.62 GB, free: 0.7559 GB / 3.339 GB Notification: Performance of collectPreVariables (initialization): time 0.162/72.99, allocations: 16.18 MB / 16.64 GB, free: 0.7559 GB / 3.339 GB Notification: Performance of collectInitialEqns (initialization): time 2.078/75.06, allocations: 0.5636 GB / 17.2 GB, free: 0.6243 GB / 3.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.3608/75.43, allocations: 311.9 MB / 17.5 GB, free: 477.9 MB / 3.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.7966/76.22, allocations: 176.2 MB / 17.68 GB, free: 467.3 MB / 3.339 GB Notification: Performance of setup shared object (initialization): time 3.862e-05/76.22, allocations: 479.9 kB / 17.68 GB, free: 466.8 MB / 3.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5912/76.81, allocations: 130.7 MB / 17.8 GB, free: 465.1 MB / 3.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.775/77.59, allocations: 334.9 MB / 18.13 GB, free: 305.8 MB / 3.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.343/80.93, allocations: 0.4911 GB / 18.62 GB, free: 449.9 MB / 3.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.006211/80.94, allocations: 0.767 MB / 18.62 GB, free: 449.9 MB / 3.339 GB Notification: Performance of matching and sorting (n=113345) (initialization): time 6.188/87.13, allocations: 0.8946 GB / 19.52 GB, free: 228.4 MB / 3.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.01004/87.14, allocations: 1.155 MB / 19.52 GB, free: 228.4 MB / 3.339 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01038/87.15, allocations: 2.684 MB / 19.52 GB, free: 228.4 MB / 3.339 GB Notification: Tearing is skipped for strong component 1 because system size of 50399 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.01219/87.16, allocations: 4.985 MB / 19.53 GB, free: 228.4 MB / 3.339 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.4594/87.62, allocations: 145.6 MB / 19.67 GB, free: 221.4 MB / 3.339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01495/87.63, allocations: 6.712 MB / 19.67 GB, free: 220.2 MB / 3.339 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.065/88.7, allocations: 221.1 MB / 19.89 GB, free: 165.8 MB / 3.339 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.3111/89.01, allocations: 28.04 MB / 19.92 GB, free: 165.8 MB / 3.339 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12546 * 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 (62947): * Single equations (assignments): 62946 * 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 {(50399,0.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.7906/89.8, allocations: 44.91 MB / 19.96 GB, free: 158.6 MB / 3.339 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.587/90.39, allocations: 104.8 MB / 20.06 GB, free: 118 MB / 3.339 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.283/90.67, allocations: 106.1 MB / 20.17 GB, free: 110.4 MB / 3.339 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01295/90.68, allocations: 6.923 MB / 20.17 GB, free: 110.4 MB / 3.339 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02444/90.71, allocations: 6.921 MB / 20.18 GB, free: 110.4 MB / 3.339 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01385/90.72, allocations: 3.46 MB / 20.18 GB, free: 110.4 MB / 3.339 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.88/94.6, allocations: 0.6484 GB / 20.83 GB, free: 360.3 MB / 3.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004047/94.6, allocations: 0 / 20.83 GB, free: 360.3 MB / 3.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1655/94.77, allocations: 61.26 MB / 20.89 GB, free: 358 MB / 3.37 GB Notification: Tearing is skipped for strong component 2 because system size of 50399 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.004698/94.77, allocations: 0.7756 MB / 20.89 GB, free: 358 MB / 3.37 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.1365/94.91, allocations: 11.54 MB / 20.9 GB, free: 358 MB / 3.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003464/94.91, allocations: 0.7714 MB / 20.91 GB, free: 358 MB / 3.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/94.91, allocations: 3.938 kB / 20.91 GB, free: 358 MB / 3.37 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 2.763/97.68, allocations: 0.7868 GB / 21.69 GB, free: 245.6 MB / 3.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3342/98.01, allocations: 108.2 MB / 21.8 GB, free: 204 MB / 3.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.2964/98.31, allocations: 11.54 MB / 21.81 GB, free: 204 MB / 3.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.238/101.5, allocations: 285.8 MB / 22.09 GB, free: 378.7 MB / 3.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2642/101.8, allocations: 80.95 MB / 22.17 GB, free: 378.2 MB / 3.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.2132/102, allocations: 21.53 MB / 22.19 GB, free: 378.2 MB / 3.37 GB Notification: Performance of sorting global known variables: time 1.085/103.1, allocations: 435.2 MB / 22.61 GB, free: 352.7 MB / 3.37 GB Notification: Performance of sort global known variables: time 2.91e-07/103.1, allocations: 0 / 22.61 GB, free: 352.7 MB / 3.37 GB Notification: Performance of remove unused functions: time 1.271/104.4, allocations: 343.5 MB / 22.95 GB, free: 325.3 MB / 3.37 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 (25202): * Single equations (assignments): 25201 * 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 {(50399,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.2631/104.6, allocations: 24.9 MB / 22.97 GB, free: 322.8 MB / 3.37 GB Notification: Performance of simCode: created initialization part: time 3.276/107.9, allocations: 0.5799 GB / 23.55 GB, free: 0.7053 GB / 3.37 GB Notification: Performance of simCode: created event and clocks part: time 0.001957/107.9, allocations: 1.734 MB / 23.55 GB, free: 0.7051 GB / 3.37 GB Notification: Performance of simCode: created simulation system equations: time 0.9578/108.9, allocations: 347.6 MB / 23.89 GB, free: 0.6755 GB / 3.37 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 1.459/110.3, allocations: 176.7 MB / 24.07 GB, free: 0.6218 GB / 3.37 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 9.266/119.6, allocations: 2.134 GB / 26.2 GB, free: 298.7 MB / 3.37 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.6857/120.3, allocations: 259.4 MB / 26.45 GB, free: 273.8 MB / 3.37 GB Notification: Performance of simCode: alias equations: time 2.843/123.1, allocations: 309.3 MB / 26.76 GB, free: 464.4 MB / 3.37 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2572/123.4, allocations: 31.53 MB / 26.79 GB, free: 464.4 MB / 3.37 GB Notification: Performance of SimCode: time 2.735e-06/123.4, allocations: 3.375 kB / 26.79 GB, free: 464.4 MB / 3.37 GB Notification: Performance of Templates: time 45.67/169.1, allocations: 11.63 GB / 38.42 GB, free: 160.7 MB / 3.432 GB " [Timeout remaining time 131] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_112_M_112.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_112_M_112.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_112_M_112.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_112_M_112.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_112_M_112.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_112_M_112 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_112_M_112.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_112_M_112_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_112_M_112_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 292] Reference file matches [Calling sys.exit(0), Time elapsed: 358.94978908402845]