Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.001325/0.001325, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001538/0.001538, allocations: 163.9 kB / 24.99 MB, free: 8.336 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.054/1.054, allocations: 177.1 MB / 205.3 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.227/0.227, allocations: 29.42 MB / 291.2 MB, free: 2.523 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 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(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.[0-9,]+.|impedance3.p.[0-9,]+.|impedance3.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.[0-9,]+.|impedance3.p.[0-9,]+.|impedance3.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 369.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.768e-05, allocations: 6.312 kB / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.007596/0.007623, allocations: 7.597 MB / 377.2 MB, free: 3.703 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003777/0.0114, allocations: 4.155 MB / 381.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000215/0.01161, allocations: 19.88 kB / 381.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.01282, allocations: 1.051 MB / 382.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.01417, allocations: 1.139 MB / 383.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.01461, allocations: 310.8 kB / 383.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009169/0.01552, allocations: 1.394 MB / 385.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004923/0.01602, allocations: 392 kB / 385.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00066/0.01668, allocations: 0.7318 MB / 386.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005201/0.0172, allocations: 0.5997 MB / 387 MB, free: 9.891 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.253e-05/0.01724, allocations: 36 kB / 387 MB, free: 9.855 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000781/0.01802, allocations: 0.8055 MB / 387.8 MB, free: 9.047 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002066/0.01823, allocations: 307.2 kB / 388.1 MB, free: 8.746 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.01837, allocations: 179.6 kB / 388.3 MB, free: 8.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006487/0.01902, allocations: 0.7203 MB / 389 MB, free: 7.848 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.01902, allocations: 3.984 kB / 389 MB, free: 7.844 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01902, allocations: 4 kB / 389 MB, free: 7.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.01903, allocations: 0 / 389 MB, free: 7.84 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.000779/0.01981, allocations: 0.8429 MB / 389.9 MB, free: 6.957 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.01984, allocations: 11.98 kB / 389.9 MB, free: 6.945 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.02096, allocations: 323 kB / 390.2 MB, free: 6.629 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.02125, allocations: 283.2 kB / 390.5 MB, free: 6.328 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.02127, allocations: 33.36 kB / 390.5 MB, free: 6.297 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/0.02131, allocations: 40.36 kB / 390.6 MB, free: 6.258 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004926/0.0218, allocations: 473.9 kB / 391 MB, free: 5.703 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.02181, allocations: 8.125 kB / 391 MB, free: 5.695 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.02184, allocations: 16.36 kB / 391.1 MB, free: 5.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.762e-05/0.02189, allocations: 40.56 kB / 391.1 MB, free: 5.641 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002446/0.02213, allocations: 187.5 kB / 391.3 MB, free: 5.457 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.0237, allocations: 3.169 MB / 394.4 MB, free: 2.152 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003354/0.02404, allocations: 281.1 kB / 394.7 MB, free: 1.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.02415, allocations: 103.1 kB / 394.8 MB, free: 1.727 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.02417, allocations: 11.98 kB / 394.8 MB, free: 1.715 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.02419, allocations: 45.38 kB / 394.9 MB, free: 1.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.02419, allocations: 0 / 394.9 MB, free: 1.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008591/0.02505, allocations: 465.1 kB / 395.3 MB, free: 1.195 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.0251, allocations: 110.8 kB / 395.4 MB, free: 1.062 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.0253, allocations: 346.2 kB / 395.8 MB, free: 0.707 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.02531, allocations: 33.7 kB / 395.8 MB, free: 0.668 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.02543, allocations: 299.1 kB / 396.1 MB, free: 380 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.357e-05/0.0255, allocations: 127.2 kB / 396.2 MB, free: 252 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.111e-05/0.02557, allocations: 95.73 kB / 396.3 MB, free: 148 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.02569, allocations: 0.5157 MB / 396.8 MB, free: 15.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.916e-05/0.02577, allocations: 52.95 kB / 396.9 MB, free: 15.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.02593, allocations: 266.3 kB / 397.1 MB, free: 15.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/0.0262, allocations: 370.5 kB / 397.5 MB, free: 14.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.0262, allocations: 4 kB / 397.5 MB, free: 14.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004298/0.02663, allocations: 414.3 kB / 397.9 MB, free: 14.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.02665, allocations: 8 kB / 397.9 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.02666, allocations: 4 kB / 397.9 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002334/0.02689, allocations: 100.1 kB / 398 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.02703, allocations: 71.91 kB / 398.1 MB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/0.02848, allocations: 2.49 MB / 400.6 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.0286, allocations: 43.67 kB / 400.6 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.02861, allocations: 20 kB / 400.6 MB, free: 11.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.02872, allocations: 184.4 kB / 400.8 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.288e-05/0.02878, allocations: 47.77 kB / 400.9 MB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.883e-05/0.02881, allocations: 51.08 kB / 400.9 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.02882, allocations: 8.031 kB / 400.9 MB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.02882, allocations: 0 / 400.9 MB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.02883, allocations: 7.984 kB / 400.9 MB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006184/0.02945, allocations: 0.66 MB / 401.6 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.02945, allocations: 4 kB / 401.6 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.427e-05/0.02952, allocations: 35.92 kB / 401.6 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001507/0.02968, allocations: 91.81 kB / 401.7 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.02969, allocations: 11.94 kB / 401.7 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001348/0.03104, allocations: 2.481 MB / 404.2 MB, free: 7.719 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.03104, allocations: 0 / 404.2 MB, free: 7.719 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004012/0.03144, allocations: 0.5795 MB / 404.8 MB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/0.03147, allocations: 43.69 kB / 404.8 MB, free: 7.059 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.03149, allocations: 8 kB / 404.9 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.712e-05/0.03158, allocations: 4 kB / 404.9 MB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.03163, allocations: 31.89 kB / 404.9 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.03164, allocations: 4 kB / 404.9 MB, free: 7.012 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000119/0.03175, allocations: 219 kB / 405.1 MB, free: 6.801 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03175, allocations: 0 / 405.1 MB, free: 6.801 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004049/0.03216, allocations: 167.7 kB / 405.3 MB, free: 6.637 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.359e-05/0.03225, allocations: 107.2 kB / 405.4 MB, free: 6.523 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005397/0.03279, allocations: 451.1 kB / 405.8 MB, free: 6.062 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.0328, allocations: 0 / 405.8 MB, free: 6.062 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002508/0.03305, allocations: 325 kB / 406.1 MB, free: 5.723 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.03344, allocations: 57.08 kB / 406.2 MB, free: 5.676 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.03464, allocations: 0.7296 MB / 406.9 MB, free: 4.898 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.03475, allocations: 157.5 kB / 407.1 MB, free: 4.723 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000105/0.03486, allocations: 58.91 kB / 407.1 MB, free: 4.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.967e-05/0.0349, allocations: 24.5 kB / 407.2 MB, free: 4.637 MB / 378.7 MB Notification: Performance of SimCode: time 8.91e-07/0.0349, allocations: 0 / 407.2 MB, free: 4.637 MB / 378.7 MB Notification: Performance of Templates: time 0.00576/0.04066, allocations: 3.662 MB / 410.8 MB, free: 1.008 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_d.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1488239450845867]