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.001165/0.001165, allocations: 84.7 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001313/0.001313, allocations: 166.5 kB / 23.95 MB, free: 4.16 MB / 14.72 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.379/1.379, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 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.1686/0.1686, allocations: 29.44 MB / 290.1 MB, free: 3.293 MB / 270.1 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.NetworkOpened,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",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.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 430.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.679e-05, allocations: 2.281 kB / 430.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.008888/0.008915, allocations: 7.176 MB / 437.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007038/0.01595, allocations: 4.393 MB / 442.3 MB, free: 6.328 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000533/0.01649, allocations: 15.94 kB / 442.3 MB, free: 6.312 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003113/0.0196, allocations: 1.076 MB / 443.4 MB, free: 5.234 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003328/0.02293, allocations: 1.299 MB / 444.7 MB, free: 3.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.02406, allocations: 378.5 kB / 445 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002127/0.02619, allocations: 1.488 MB / 446.5 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008693/0.02706, allocations: 0.5172 MB / 447 MB, free: 1.543 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.02848, allocations: 0.841 MB / 447.9 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1806/0.2091, allocations: 0.7095 MB / 448.6 MB, free: 16.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002977/0.2094, allocations: 66.16 kB / 448.7 MB, free: 16.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002371/0.2118, allocations: 1.224 MB / 449.9 MB, free: 16.36 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005016/0.2123, allocations: 0.5306 MB / 450.4 MB, free: 16.36 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004311/0.2127, allocations: 322.7 kB / 450.7 MB, free: 16.36 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002188/0.2149, allocations: 1.616 MB / 452.3 MB, free: 16.31 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2149, allocations: 1.344 kB / 452.3 MB, free: 16.31 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2149, allocations: 0 / 452.3 MB, free: 16.31 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.2149, allocations: 0 / 452.3 MB, free: 16.31 MB / 366.1 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.001601/0.2165, allocations: 1.108 MB / 453.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.2166, allocations: 9.25 kB / 453.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003248/0.2198, allocations: 416.2 kB / 453.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007483/0.2206, allocations: 449 kB / 454.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.97e-05/0.2206, allocations: 61.08 kB / 454.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.2208, allocations: 76.86 kB / 454.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001943/0.2227, allocations: 1.231 MB / 455.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/0.2227, allocations: 1.906 kB / 455.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.069e-05/0.2228, allocations: 32.23 kB / 455.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001052/0.2229, allocations: 86.33 kB / 455.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/0.2249, allocations: 1.299 MB / 457.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005572/0.2305, allocations: 3.278 MB / 460.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.2321, allocations: 1.012 MB / 461.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007494/0.2329, allocations: 0.5714 MB / 462 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.169e-05/0.233, allocations: 17.55 kB / 462 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.233, allocations: 45.28 kB / 462 MB, free: 13.83 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 2.765e-06/0.233, allocations: 0 / 462 MB, free: 13.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.007134/0.2401, allocations: 3.066 MB / 465.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.2402, allocations: 88.45 kB / 465.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004776/0.2407, allocations: 370.9 kB / 465.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.936e-05/0.2407, allocations: 40.36 kB / 465.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.2409, allocations: 340.3 kB / 465.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002382/0.2411, allocations: 336.7 kB / 466.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/0.2414, allocations: 156.9 kB / 466.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.2415, allocations: 370.2 kB / 466.7 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006803/0.2422, allocations: 466.5 kB / 467.2 MB, free: 11.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007158/0.2429, allocations: 0.5721 MB / 467.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/0.2443, allocations: 1.115 MB / 468.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2443, allocations: 2.781 kB / 468.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00231/0.2466, allocations: 1.472 MB / 470.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.2467, allocations: 5.938 kB / 470.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.2467, allocations: 9.938 kB / 470.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009548/0.2476, allocations: 336.3 kB / 470.7 MB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006922/0.2483, allocations: 182.9 kB / 470.9 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004339/0.2527, allocations: 3.869 MB / 474.8 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005767/0.2532, allocations: 43.78 kB / 474.8 MB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.405e-05/0.2533, allocations: 41.34 kB / 474.8 MB, free: 7.621 MB / 366.1 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.0004677/0.2538, allocations: 296.5 kB / 475.1 MB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.2539, allocations: 65.34 kB / 475.2 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/0.2561, allocations: 1.542 MB / 476.7 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.2561, allocations: 12.06 kB / 476.7 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.2561, allocations: 6.562 kB / 476.8 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.2561, allocations: 6.188 kB / 476.8 MB, free: 6.816 MB / 366.1 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.004019/0.2602, allocations: 2.654 MB / 479.4 MB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.2602, allocations: 3 kB / 479.4 MB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005597/0.2607, allocations: 163.8 kB / 479.6 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00072/0.2614, allocations: 294.2 kB / 479.9 MB, free: 5.176 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.382e-05/0.2615, allocations: 21.47 kB / 479.9 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003641/0.2651, allocations: 3.645 MB / 483.5 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.2651, allocations: 7.562 kB / 483.5 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.267, allocations: 1.566 MB / 485.1 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/0.2671, allocations: 71.48 kB / 485.2 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.406e-05/0.2672, allocations: 20 kB / 485.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004308/0.2677, allocations: 39.97 kB / 485.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.2678, allocations: 85.39 kB / 485.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-05/0.2679, allocations: 39.98 kB / 485.4 MB, free: 15.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000292/0.2682, allocations: 258.8 kB / 485.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2682, allocations: 0 / 485.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001092/0.2693, allocations: 308 kB / 485.9 MB, free: 15.24 MB / 382.1 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.0001842/0.2695, allocations: 122.4 kB / 486 MB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002163/0.2716, allocations: 1.342 MB / 487.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2716, allocations: 0 / 487.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.2728, allocations: 0.7974 MB / 488.2 MB, free: 13.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006727/0.2735, allocations: 103.1 kB / 488.3 MB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/0.2763, allocations: 1.814 MB / 490.1 MB, free: 11.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005281/0.2769, allocations: 485.1 kB / 490.6 MB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004041/0.2773, allocations: 191.9 kB / 490.7 MB, free: 10.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.2775, allocations: 64.47 kB / 490.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2775, allocations: 0 / 490.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of Templates: time 0.01811/0.2956, allocations: 10.27 MB / 0.4893 GB, free: 144 kB / 382.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkOpened.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.8111746944487095]