Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.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.001479/0.001479, allocations: 80.92 kB / 21.49 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.001795/0.001795, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.9822/0.9822, allocations: 177.1 MB / 205.3 MB, free: 5.117 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.245/0.245, allocations: 29.42 MB / 291.2 MB, free: 2.383 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.NetworkOpened,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.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,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.NetworkOpened") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 316.8 MB, free: 12 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.758e-05/1.916e-05, allocations: 6.312 kB / 316.9 MB, free: 4 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.00735/0.007369, allocations: 6.939 MB / 323.8 MB, free: 9.035 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004995/0.01236, allocations: 3.458 MB / 327.2 MB, free: 5.559 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004513/0.01282, allocations: 15.94 kB / 327.3 MB, free: 5.543 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001373/0.01419, allocations: 0.7624 MB / 328 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002809/0.017, allocations: 1.271 MB / 329.3 MB, free: 3.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009765/0.01797, allocations: 370.7 kB / 329.7 MB, free: 3.137 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0017/0.01967, allocations: 1.465 MB / 331.1 MB, free: 1.668 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008117/0.02049, allocations: 0.5698 MB / 331.7 MB, free: 1.094 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/0.02175, allocations: 0.8256 MB / 332.5 MB, free: 272 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.02278, allocations: 0.6583 MB / 333.2 MB, free: 15.6 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.02289, allocations: 72 kB / 333.2 MB, free: 15.53 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002173/0.02507, allocations: 1.164 MB / 334.4 MB, free: 14.37 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005214/0.02559, allocations: 0.53 MB / 334.9 MB, free: 13.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000398/0.02598, allocations: 327.3 kB / 335.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002142/0.02813, allocations: 1.355 MB / 336.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.02813, allocations: 0 / 336.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.02813, allocations: 0 / 336.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.02815, allocations: 0 / 336.6 MB, free: 12.16 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001182/0.02933, allocations: 1.076 MB / 337.7 MB, free: 11.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.02937, allocations: 11.98 kB / 337.7 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001699/0.03106, allocations: 0.5313 MB / 338.2 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004384/0.0315, allocations: 396.8 kB / 338.6 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.18e-05/0.03153, allocations: 58.36 kB / 338.7 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.643e-05/0.03162, allocations: 80.31 kB / 338.8 MB, free: 9.957 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006297/0.03225, allocations: 0.6556 MB / 339.4 MB, free: 9.273 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.03227, allocations: 12.11 kB / 339.4 MB, free: 9.262 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.648e-05/0.03232, allocations: 24.38 kB / 339.4 MB, free: 9.238 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.521e-05/0.03239, allocations: 89.86 kB / 339.5 MB, free: 9.152 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004454/0.03284, allocations: 372.5 kB / 339.9 MB, free: 8.785 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002463/0.0353, allocations: 2.238 MB / 342.1 MB, free: 6.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006873/0.03599, allocations: 0.5696 MB / 342.7 MB, free: 5.883 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.0362, allocations: 207.5 kB / 342.9 MB, free: 5.676 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.658e-05/0.03625, allocations: 21 kB / 342.9 MB, free: 5.656 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.03627, allocations: 43.56 kB / 343 MB, free: 5.605 MB / 314.7 MB Notification: Performance of pre-optimization done (n=92): time 2.254e-06/0.03627, allocations: 0 / 343 MB, free: 5.605 MB / 314.7 MB Notification: Performance of matching and sorting (n=93): time 0.002531/0.0388, allocations: 1.466 MB / 344.4 MB, free: 4.133 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.03885, allocations: 86.11 kB / 344.5 MB, free: 4.031 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.03904, allocations: 315.2 kB / 344.8 MB, free: 3.711 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.21e-05/0.03908, allocations: 41.7 kB / 344.9 MB, free: 3.664 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.0392, allocations: 305.5 kB / 345.2 MB, free: 3.359 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/0.03938, allocations: 329.1 kB / 345.5 MB, free: 3.035 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.03953, allocations: 154.5 kB / 345.6 MB, free: 2.879 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.03964, allocations: 370.6 kB / 346 MB, free: 2.508 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.03981, allocations: 128.8 kB / 346.1 MB, free: 2.379 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.04002, allocations: 236.2 kB / 346.4 MB, free: 2.117 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000537/0.04055, allocations: 442.7 kB / 346.8 MB, free: 1.652 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.04056, allocations: 0 / 346.8 MB, free: 1.652 MB / 314.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.0008411/0.0414, allocations: 0.6264 MB / 347.4 MB, free: 1.012 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.04142, allocations: 11.98 kB / 347.4 MB, free: 1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.04142, allocations: 0 / 347.4 MB, free: 1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004639/0.04189, allocations: 232.3 kB / 347.7 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003561/0.04224, allocations: 151.8 kB / 347.8 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/0.04446, allocations: 2.436 MB / 350.2 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.04468, allocations: 20 kB / 350.3 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.199e-05/0.04472, allocations: 27.98 kB / 350.3 MB, free: 14.04 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001797/0.0449, allocations: 152.5 kB / 350.4 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-05/0.04498, allocations: 71.94 kB / 350.5 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008754/0.04586, allocations: 0.693 MB / 351.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.04587, allocations: 12 kB / 351.2 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.04587, allocations: 4 kB / 351.2 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.04588, allocations: 3.984 kB / 351.2 MB, free: 13.09 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/0.04777, allocations: 1.533 MB / 352.8 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.04777, allocations: 4 kB / 352.8 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002795/0.04805, allocations: 147.8 kB / 352.9 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003827/0.04844, allocations: 200.5 kB / 353.1 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-05/0.04848, allocations: 23.98 kB / 353.1 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001909/0.05038, allocations: 2.377 MB / 355.5 MB, free: 8.621 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.05039, allocations: 7.938 kB / 355.5 MB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008204/0.05121, allocations: 0.8933 MB / 356.4 MB, free: 7.637 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.813e-05/0.05129, allocations: 63.55 kB / 356.5 MB, free: 7.574 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.498e-05/0.05134, allocations: 24 kB / 356.5 MB, free: 7.551 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.05152, allocations: 20 kB / 356.5 MB, free: 7.531 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.523e-05/0.05162, allocations: 84.72 kB / 356.6 MB, free: 7.449 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-05/0.05166, allocations: 27.98 kB / 356.6 MB, free: 7.422 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.298e-05/0.05175, allocations: 120.7 kB / 356.7 MB, free: 7.301 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.05175, allocations: 0 / 356.7 MB, free: 7.301 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006756/0.05243, allocations: 308 kB / 357 MB, free: 7 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (82): * Single equations (assignments): 80 * 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 {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001277/0.05255, allocations: 112.2 kB / 357.1 MB, free: 6.883 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008237/0.05338, allocations: 0.7107 MB / 357.9 MB, free: 6.164 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.158e-06/0.05339, allocations: 4 kB / 357.9 MB, free: 6.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004755/0.05386, allocations: 0.5226 MB / 358.4 MB, free: 5.621 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.05424, allocations: 111.5 kB / 358.5 MB, free: 5.512 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.05621, allocations: 1.437 MB / 359.9 MB, free: 3.988 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.05643, allocations: 267.9 kB / 360.2 MB, free: 3.707 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001597/0.05659, allocations: 68.83 kB / 360.3 MB, free: 3.637 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.0568, allocations: 139.3 kB / 360.4 MB, free: 3.5 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.0568, allocations: 0 / 360.4 MB, free: 3.5 MB / 330.7 MB Notification: Performance of Templates: time 0.01286/0.06966, allocations: 10.91 MB / 371.3 MB, free: 8.68 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkOpened.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.2354933340102434]