Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.001249/0.001249, allocations: 84.92 kB / 20.68 MB, free: 1.035 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.001449/0.001449, allocations: 165.1 kB / 23.96 MB, free: 4.164 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.383/1.383, allocations: 177.2 MB / 204.3 MB, free: 9.18 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.1715/0.1715, allocations: 29.44 MB / 290.1 MB, free: 3.289 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.NetworkLoop_dq,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.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,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.NetworkLoop_dq") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 430.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.852e-05, allocations: 2.281 kB / 430.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.008197/0.008226, allocations: 6.958 MB / 437.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005785/0.01401, allocations: 4.077 MB / 441.8 MB, free: 6.844 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002381/0.01425, allocations: 15.94 kB / 441.8 MB, free: 6.828 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002538/0.01679, allocations: 1.022 MB / 442.8 MB, free: 5.805 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002252/0.01904, allocations: 1.232 MB / 444 MB, free: 4.566 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007222/0.01976, allocations: 334.7 kB / 444.4 MB, free: 4.238 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001511/0.02127, allocations: 1.425 MB / 445.8 MB, free: 2.809 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007611/0.02203, allocations: 0.5127 MB / 446.3 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.02311, allocations: 0.8138 MB / 447.1 MB, free: 1.473 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009529/0.02407, allocations: 0.6855 MB / 447.8 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.02417, allocations: 64 kB / 447.9 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1611/0.1853, allocations: 1.141 MB / 449 MB, free: 16.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006647/0.1859, allocations: 0.5074 MB / 449.5 MB, free: 16.69 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006671/0.1866, allocations: 315.9 kB / 449.8 MB, free: 16.69 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00291/0.1895, allocations: 1.527 MB / 451.3 MB, free: 16.69 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1895, allocations: 0 / 451.3 MB, free: 16.69 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1895, allocations: 3.391 kB / 451.3 MB, free: 16.69 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.549e-05/0.1896, allocations: 5 kB / 451.3 MB, free: 16.69 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002246/0.1918, allocations: 1.062 MB / 452.4 MB, free: 16.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.1918, allocations: 14.05 kB / 452.4 MB, free: 16.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003242/0.1951, allocations: 396 kB / 452.8 MB, free: 16.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007616/0.1958, allocations: 431.2 kB / 453.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.831e-05/0.1959, allocations: 58.67 kB / 453.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.196, allocations: 69.14 kB / 453.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.1978, allocations: 1.177 MB / 454.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.1978, allocations: 1.812 kB / 454.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.408e-05/0.1979, allocations: 31.14 kB / 454.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.968e-05/0.198, allocations: 78.39 kB / 454.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.1996, allocations: 1.235 MB / 455.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004669/0.2043, allocations: 3.11 MB / 459 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.2059, allocations: 0.979 MB / 460 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007704/0.2066, allocations: 0.5927 MB / 460.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.103e-05/0.2067, allocations: 13.44 kB / 460.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.2067, allocations: 44.28 kB / 460.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 3.847e-06/0.2067, allocations: 4.5 kB / 460.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.006501/0.2132, allocations: 2.997 MB / 463.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.2133, allocations: 94.98 kB / 463.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003636/0.2136, allocations: 360.7 kB / 464.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.65e-05/0.2137, allocations: 40.14 kB / 464.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.2138, allocations: 322 kB / 464.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.214, allocations: 325.8 kB / 464.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002297/0.2142, allocations: 158.8 kB / 464.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.753e-05/0.2143, allocations: 366.5 kB / 465.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006256/0.2149, allocations: 470.7 kB / 465.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007042/0.2156, allocations: 0.5692 MB / 466.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.217, allocations: 1.107 MB / 467.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.217, allocations: 1.406 kB / 467.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002235/0.2192, allocations: 1.475 MB / 468.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.2192, allocations: 8.172 kB / 468.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.2192, allocations: 2.5 kB / 468.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009053/0.2201, allocations: 333.6 kB / 469.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008865/0.221, allocations: 182.7 kB / 469.4 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004371/0.2254, allocations: 3.878 MB / 473.3 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006376/0.226, allocations: 46.69 kB / 473.3 MB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.487e-05/0.2261, allocations: 36.03 kB / 473.3 MB, free: 8.355 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * 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.0004272/0.2265, allocations: 301 kB / 473.6 MB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.2267, allocations: 64.92 kB / 473.7 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002205/0.2289, allocations: 1.543 MB / 475.2 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.2289, allocations: 10.62 kB / 475.2 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.902e-06/0.2289, allocations: 13.7 kB / 475.3 MB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.2289, allocations: 6.844 kB / 475.3 MB, free: 7.543 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.004027/0.2329, allocations: 2.671 MB / 477.9 MB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.2329, allocations: 7.875 kB / 477.9 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005874/0.2335, allocations: 166.1 kB / 478.1 MB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007255/0.2342, allocations: 282.9 kB / 478.4 MB, free: 6.219 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.137e-05/0.2343, allocations: 32.14 kB / 478.4 MB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003844/0.2381, allocations: 3.668 MB / 482.1 MB, free: 3.496 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.2381, allocations: 4 kB / 482.1 MB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002007/0.2401, allocations: 1.58 MB / 483.7 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.2403, allocations: 63.61 kB / 483.7 MB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.025e-05/0.2404, allocations: 27.98 kB / 483.8 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004266/0.2408, allocations: 43.97 kB / 483.8 MB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.2409, allocations: 83.78 kB / 483.9 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.213e-05/0.241, allocations: 46.08 kB / 483.9 MB, free: 1.605 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000202/0.2412, allocations: 249.8 kB / 484.2 MB, free: 1.367 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2412, allocations: 0 / 484.2 MB, free: 1.367 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008896/0.2421, allocations: 308 kB / 484.5 MB, free: 1.066 MB / 366.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.0001397/0.2422, allocations: 121.5 kB / 484.6 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001825/0.2441, allocations: 1.356 MB / 485.9 MB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/0.2441, allocations: 0.5625 kB / 485.9 MB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.2453, allocations: 0.7886 MB / 486.7 MB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006904/0.246, allocations: 104 kB / 486.8 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002923/0.2489, allocations: 1.788 MB / 488.6 MB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005562/0.2495, allocations: 476.8 kB / 489.1 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004184/0.2499, allocations: 182.6 kB / 489.3 MB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.2501, allocations: 68.47 kB / 489.3 MB, free: 12.14 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2501, allocations: 0 / 489.3 MB, free: 12.14 MB / 382.1 MB Notification: Performance of Templates: time 0.01905/0.2692, allocations: 10.31 MB / 499.6 MB, free: 1.957 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.822370167821646]