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.001376/0.001376, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001643/0.001643, allocations: 165 kB / 24.56 MB, free: 16 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.9655/0.9655, allocations: 177.2 MB / 205 MB, free: 5.301 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.2199/0.2199, allocations: 29.42 MB / 290.9 MB, free: 2.441 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.583e-06/1.583e-06, allocations: 0 / 369.7 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.318e-05, allocations: 2.312 kB / 369.7 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.008508/0.008531, allocations: 6.992 MB / 376.6 MB, free: 3.973 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005908/0.01444, allocations: 3.45 MB / 380.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004298/0.01487, allocations: 15.94 kB / 380.1 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001981/0.01685, allocations: 0.7703 MB / 380.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002781/0.01963, allocations: 1.279 MB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008968/0.02053, allocations: 362.7 kB / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001709/0.02224, allocations: 1.468 MB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007829/0.02302, allocations: 0.5094 MB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.02417, allocations: 0.8295 MB / 385.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009933/0.02516, allocations: 0.7128 MB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.02528, allocations: 68 kB / 386.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/0.0276, allocations: 1.203 MB / 387.3 MB, free: 9.273 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000475/0.02808, allocations: 0.53 MB / 387.8 MB, free: 8.742 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003931/0.02847, allocations: 331.2 kB / 388.2 MB, free: 8.418 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001884/0.03035, allocations: 1.351 MB / 389.5 MB, free: 7.062 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.03036, allocations: 0 / 389.5 MB, free: 7.062 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.03036, allocations: 0 / 389.5 MB, free: 7.062 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.794e-05/0.03038, allocations: 0 / 389.5 MB, free: 7.062 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001723/0.0321, allocations: 1.228 MB / 390.7 MB, free: 5.793 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.03214, allocations: 11.98 kB / 390.8 MB, free: 5.781 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002789/0.03493, allocations: 0.5814 MB / 391.3 MB, free: 5.199 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006575/0.03559, allocations: 439.7 kB / 391.8 MB, free: 4.746 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.838e-05/0.03564, allocations: 58.36 kB / 391.8 MB, free: 4.688 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.03576, allocations: 76.34 kB / 391.9 MB, free: 4.613 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.03699, allocations: 0.7242 MB / 392.6 MB, free: 3.859 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.03702, allocations: 8.188 kB / 392.6 MB, free: 3.852 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.021e-05/0.03709, allocations: 28.36 kB / 392.7 MB, free: 3.824 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.576e-05/0.03718, allocations: 77.89 kB / 392.7 MB, free: 3.746 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.0382, allocations: 0.5112 MB / 393.2 MB, free: 3.234 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004336/0.04254, allocations: 2.852 MB / 396.1 MB, free: 292 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.04374, allocations: 0.6225 MB / 396.7 MB, free: 15.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004817/0.04422, allocations: 286.7 kB / 397 MB, free: 15.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.414e-05/0.04428, allocations: 17 kB / 397 MB, free: 15.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.04431, allocations: 50.33 kB / 397.1 MB, free: 15.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 3.677e-06/0.04432, allocations: 4 kB / 397.1 MB, free: 15.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=93): time 0.004764/0.04908, allocations: 1.939 MB / 399 MB, free: 13.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.04914, allocations: 86.11 kB / 399.1 MB, free: 13.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003441/0.04948, allocations: 394.7 kB / 399.5 MB, free: 12.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.01e-05/0.04953, allocations: 41.7 kB / 399.5 MB, free: 12.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.04973, allocations: 391.6 kB / 399.9 MB, free: 12.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/0.04998, allocations: 337.1 kB / 400.2 MB, free: 12.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002263/0.05021, allocations: 164.2 kB / 400.4 MB, free: 11.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004384/0.05065, allocations: 0.5508 MB / 400.9 MB, free: 11.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003674/0.05101, allocations: 177.9 kB / 401.1 MB, free: 11.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004618/0.05148, allocations: 331.4 kB / 401.4 MB, free: 10.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008838/0.05236, allocations: 0.5667 MB / 402 MB, free: 10.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.05236, allocations: 0 / 402 MB, free: 10.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001672/0.05403, allocations: 0.8672 MB / 402.9 MB, free: 9.285 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.05406, allocations: 12.16 kB / 402.9 MB, free: 9.273 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.05407, allocations: 4 kB / 402.9 MB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008151/0.05488, allocations: 247.5 kB / 403.1 MB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005942/0.05547, allocations: 183.7 kB / 403.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003854/0.05933, allocations: 3.208 MB / 406.5 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003866/0.05971, allocations: 51.89 kB / 406.6 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.18e-05/0.0598, allocations: 31.98 kB / 406.6 MB, free: 5.43 MB / 378.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.0002552/0.06005, allocations: 208.4 kB / 406.8 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.06021, allocations: 95.55 kB / 406.9 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001858/0.06207, allocations: 0.906 MB / 407.8 MB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.06209, allocations: 12 kB / 407.8 MB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.0621, allocations: 4 kB / 407.8 MB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/0.06211, allocations: 7.984 kB / 407.8 MB, free: 4.184 MB / 378.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.00387/0.06598, allocations: 1.894 MB / 409.7 MB, free: 2.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.06599, allocations: 4 kB / 409.7 MB, free: 2.184 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005385/0.06653, allocations: 175.7 kB / 409.9 MB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006934/0.06722, allocations: 207.9 kB / 410.1 MB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.969e-05/0.06729, allocations: 23.98 kB / 410.1 MB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003599/0.07089, allocations: 3.117 MB / 413.2 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.0709, allocations: 7.938 kB / 413.2 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.07273, allocations: 1.116 MB / 414.4 MB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.07284, allocations: 83.44 kB / 414.4 MB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.917e-05/0.07293, allocations: 24 kB / 414.5 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003783/0.07331, allocations: 39.95 kB / 414.5 MB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.07346, allocations: 80.73 kB / 414.6 MB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.698e-05/0.07354, allocations: 43.98 kB / 414.6 MB, free: 13.07 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002314/0.07377, allocations: 259.1 kB / 414.9 MB, free: 12.81 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07377, allocations: 0 / 414.9 MB, free: 12.81 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001204/0.07497, allocations: 308 kB / 415.2 MB, free: 12.51 MB / 394.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.0001623/0.07513, allocations: 119.1 kB / 415.3 MB, free: 12.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001566/0.0767, allocations: 0.9014 MB / 416.2 MB, free: 11.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.0767, allocations: 0 / 416.2 MB, free: 11.46 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009543/0.07766, allocations: 0.6374 MB / 416.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006619/0.07832, allocations: 92 kB / 416.9 MB, free: 10.72 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002858/0.08118, allocations: 1.489 MB / 418.4 MB, free: 9.133 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.08146, allocations: 275.9 kB / 418.7 MB, free: 8.844 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003545/0.08182, allocations: 152.7 kB / 418.8 MB, free: 8.695 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.08202, allocations: 68.47 kB / 418.9 MB, free: 8.629 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.08202, allocations: 0 / 418.9 MB, free: 8.629 MB / 394.7 MB Notification: Performance of Templates: time 0.01577/0.09779, allocations: 10.71 MB / 429.6 MB, free: 14 MB / 410.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.358266139868647]