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.001061/0.001061, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003355/0.003355, allocations: 163 kB / 24.7 MB, free: 9.426 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.8405/0.8405, allocations: 177.1 MB / 205 MB, free: 5.715 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.2108/0.2108, allocations: 29.41 MB / 290.8 MB, free: 2.43 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.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.673e-06/1.673e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.753e-05, allocations: 6.219 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.005235/0.005263, allocations: 7.166 MB / 438.6 MB, free: 5.887 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004171/0.009434, allocations: 4.408 MB / 443 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003385/0.009772, allocations: 19.88 kB / 443.1 MB, free: 1.441 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.01111, allocations: 1.077 MB / 444.1 MB, free: 372 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1794/0.1905, allocations: 1.297 MB / 445.4 MB, free: 43.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007886/0.1913, allocations: 369.2 kB / 445.8 MB, free: 43.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001168/0.1925, allocations: 1.494 MB / 447.3 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005414/0.193, allocations: 0.5188 MB / 447.8 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008758/0.1939, allocations: 0.8451 MB / 448.7 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006321/0.1945, allocations: 0.7058 MB / 449.4 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.818e-05/0.1946, allocations: 66.25 kB / 449.4 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.196, allocations: 1.228 MB / 450.7 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002888/0.1963, allocations: 0.5309 MB / 451.2 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.1965, allocations: 323.7 kB / 451.5 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.1978, allocations: 1.623 MB / 453.1 MB, free: 43.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1978, allocations: 0 / 453.1 MB, free: 43.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1978, allocations: 0 / 453.1 MB, free: 43.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.1978, allocations: 2.625 kB / 453.1 MB, free: 43.18 MB / 410.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.0009988/0.1988, allocations: 1.096 MB / 454.2 MB, free: 42.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1989, allocations: 10.48 kB / 454.2 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/0.2005, allocations: 418.4 kB / 454.6 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005129/0.201, allocations: 451.7 kB / 455.1 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/0.2011, allocations: 56.67 kB / 455.1 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.841e-05/0.2012, allocations: 80.47 kB / 455.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.2023, allocations: 1.228 MB / 456.4 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.2023, allocations: 4.125 kB / 456.5 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.121e-05/0.2024, allocations: 35.12 kB / 456.5 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.884e-05/0.2025, allocations: 85.17 kB / 456.6 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.2035, allocations: 1.303 MB / 457.9 MB, free: 41.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003069/0.2066, allocations: 3.27 MB / 461.1 MB, free: 39.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.2076, allocations: 1.008 MB / 462.1 MB, free: 39.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004476/0.2081, allocations: 0.5751 MB / 462.7 MB, free: 39.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.34e-05/0.2081, allocations: 14.09 kB / 462.7 MB, free: 39.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.2081, allocations: 49.62 kB / 462.8 MB, free: 39.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=92): time 3.937e-06/0.2081, allocations: 2.156 kB / 462.8 MB, free: 39.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=93): time 0.003804/0.212, allocations: 3.067 MB / 465.9 MB, free: 38.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.212, allocations: 87.83 kB / 465.9 MB, free: 38.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.2122, allocations: 363.6 kB / 466.3 MB, free: 37.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.2123, allocations: 43.7 kB / 466.3 MB, free: 37.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.65e-05/0.2124, allocations: 344.3 kB / 466.7 MB, free: 37.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.2125, allocations: 326.2 kB / 467 MB, free: 37.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.2126, allocations: 162.9 kB / 467.2 MB, free: 37.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.777e-05/0.2127, allocations: 371.5 kB / 467.5 MB, free: 36.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003873/0.2131, allocations: 468.6 kB / 468 MB, free: 36.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004253/0.2135, allocations: 0.5719 MB / 468.5 MB, free: 36.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008871/0.2144, allocations: 1.121 MB / 469.7 MB, free: 35.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.2144, allocations: 1.125 kB / 469.7 MB, free: 35.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00135/0.2158, allocations: 1.467 MB / 471.1 MB, free: 35.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.2158, allocations: 5.969 kB / 471.1 MB, free: 35.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.2158, allocations: 7.125 kB / 471.1 MB, free: 35.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005299/0.2163, allocations: 332.7 kB / 471.5 MB, free: 35.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003522/0.2167, allocations: 190.3 kB / 471.7 MB, free: 35.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002798/0.2195, allocations: 3.86 MB / 475.5 MB, free: 33.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.2198, allocations: 51.03 kB / 475.6 MB, free: 32.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-05/0.2198, allocations: 35.44 kB / 475.6 MB, free: 32.98 MB / 410.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.0003037/0.2201, allocations: 300.2 kB / 475.9 MB, free: 32.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.276e-05/0.2202, allocations: 64.47 kB / 476 MB, free: 32.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/0.2216, allocations: 1.537 MB / 477.5 MB, free: 32.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.2216, allocations: 13.34 kB / 477.5 MB, free: 32.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.2216, allocations: 4.75 kB / 477.5 MB, free: 32.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.2216, allocations: 8.375 kB / 477.5 MB, free: 32.19 MB / 410.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.002809/0.2244, allocations: 2.653 MB / 480.2 MB, free: 31.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.2245, allocations: 4.375 kB / 480.2 MB, free: 31.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003246/0.2248, allocations: 168.3 kB / 480.3 MB, free: 31.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004343/0.2252, allocations: 279.2 kB / 480.6 MB, free: 31.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.879e-05/0.2252, allocations: 29.66 kB / 480.6 MB, free: 31.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002676/0.2279, allocations: 3.65 MB / 484.3 MB, free: 28.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.2279, allocations: 7.406 kB / 484.3 MB, free: 28.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.2294, allocations: 1.559 MB / 485.9 MB, free: 28.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.2295, allocations: 76.27 kB / 485.9 MB, free: 28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.018e-05/0.2296, allocations: 20.25 kB / 486 MB, free: 27.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.2298, allocations: 39.75 kB / 486 MB, free: 27.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.569e-05/0.2299, allocations: 88.95 kB / 486.1 MB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.692e-05/0.2299, allocations: 37.12 kB / 486.1 MB, free: 27.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001751/0.2301, allocations: 257.5 kB / 486.4 MB, free: 27.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2301, allocations: 0 / 486.4 MB, free: 27.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007493/0.2308, allocations: 310 kB / 486.7 MB, free: 27.79 MB / 410.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.0001445/0.231, allocations: 122.9 kB / 486.8 MB, free: 27.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.2324, allocations: 1.334 MB / 488.1 MB, free: 27.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.2325, allocations: 0 / 488.1 MB, free: 27.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007343/0.2332, allocations: 0.7853 MB / 488.9 MB, free: 26.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000492/0.2337, allocations: 103.9 kB / 489 MB, free: 26.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.2358, allocations: 1.899 MB / 490.9 MB, free: 25.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/0.2363, allocations: 493.5 kB / 491.4 MB, free: 25.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.2365, allocations: 73.38 kB / 491.5 MB, free: 25.74 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.2365, allocations: 0 / 491.5 MB, free: 25.74 MB / 410.7 MB Notification: Performance of Templates: time 0.01416/0.2506, allocations: 13.07 MB / 0.4927 GB, free: 22.87 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=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: 5.118319159373641]