Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.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.0009705/0.0009705, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001129/0.001129, allocations: 171.5 kB / 24.91 MB, free: 8.766 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 1.03/1.03, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.2375/0.2375, allocations: 29.42 MB / 291.2 MB, free: 2.434 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.NetworkLoop,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.NetworkLoop") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,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.NetworkLoop") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.756e-05/3.964e-05, allocations: 4.109 kB / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.008605/0.008645, allocations: 6.736 MB / 323.6 MB, free: 9.199 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005159/0.0138, allocations: 3.229 MB / 326.9 MB, free: 5.957 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005668/0.01437, allocations: 19.94 kB / 326.9 MB, free: 5.938 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.01567, allocations: 0.6923 MB / 327.6 MB, free: 5.242 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002422/0.01809, allocations: 1.194 MB / 328.8 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008114/0.0189, allocations: 318.8 kB / 329.1 MB, free: 3.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001484/0.02039, allocations: 1.402 MB / 330.5 MB, free: 2.324 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007616/0.02115, allocations: 0.5538 MB / 331 MB, free: 1.766 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.02222, allocations: 0.7983 MB / 331.8 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008284/0.02305, allocations: 0.6387 MB / 332.5 MB, free: 328 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.02315, allocations: 64 kB / 332.5 MB, free: 264 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00187/0.02502, allocations: 1.114 MB / 333.6 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000425/0.02545, allocations: 0.5183 MB / 334.2 MB, free: 14.62 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003346/0.02578, allocations: 311.3 kB / 334.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001943/0.02773, allocations: 1.293 MB / 335.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.02773, allocations: 0 / 335.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.02773, allocations: 0 / 335.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.075e-05/0.02775, allocations: 4 kB / 335.8 MB, free: 13.02 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001491/0.02924, allocations: 1.033 MB / 336.8 MB, free: 11.95 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.02928, allocations: 11.98 kB / 336.8 MB, free: 11.94 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001981/0.03126, allocations: 0.5 MB / 337.3 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005387/0.0318, allocations: 377 kB / 337.7 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.03183, allocations: 54.38 kB / 337.7 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.521e-05/0.03193, allocations: 72.34 kB / 337.8 MB, free: 10.92 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007278/0.03266, allocations: 0.6361 MB / 338.4 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.03268, allocations: 4.141 kB / 338.4 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.174e-05/0.03273, allocations: 36.36 kB / 338.5 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.575e-05/0.0328, allocations: 77.89 kB / 338.5 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004852/0.03328, allocations: 360.4 kB / 338.9 MB, free: 9.789 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002523/0.0358, allocations: 2.085 MB / 341 MB, free: 7.648 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006434/0.03645, allocations: 0.543 MB / 341.5 MB, free: 7.078 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/0.03669, allocations: 222.1 kB / 341.7 MB, free: 6.859 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.884e-05/0.03674, allocations: 20.98 kB / 341.8 MB, free: 6.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.03677, allocations: 47.56 kB / 341.8 MB, free: 6.785 MB / 314.7 MB Notification: Performance of pre-optimization done (n=91): time 2.314e-06/0.03677, allocations: 4 kB / 341.8 MB, free: 6.781 MB / 314.7 MB Notification: Performance of matching and sorting (n=92): time 0.002815/0.03958, allocations: 1.392 MB / 343.2 MB, free: 5.383 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.03963, allocations: 86.11 kB / 343.3 MB, free: 5.281 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.03984, allocations: 315.1 kB / 343.6 MB, free: 4.961 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/0.03988, allocations: 37.7 kB / 343.6 MB, free: 4.918 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.04, allocations: 289.5 kB / 343.9 MB, free: 4.629 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.04018, allocations: 325.1 kB / 344.2 MB, free: 4.309 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.04033, allocations: 146.5 kB / 344.4 MB, free: 4.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.04044, allocations: 366.7 kB / 344.7 MB, free: 3.793 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.0406, allocations: 128.8 kB / 344.9 MB, free: 3.664 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.04081, allocations: 227.4 kB / 345.1 MB, free: 3.414 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004345/0.04124, allocations: 441.8 kB / 345.5 MB, free: 2.953 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.04124, allocations: 4 kB / 345.5 MB, free: 2.949 MB / 314.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0008111/0.04206, allocations: 0.6263 MB / 346.1 MB, free: 2.309 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.04207, allocations: 4 kB / 346.2 MB, free: 2.305 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.04208, allocations: 4 kB / 346.2 MB, free: 2.301 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004894/0.04257, allocations: 220.4 kB / 346.4 MB, free: 2.082 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004836/0.04306, allocations: 187.7 kB / 346.6 MB, free: 1.898 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002232/0.04529, allocations: 2.44 MB / 349 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.04555, allocations: 23.98 kB / 349 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.374e-05/0.0456, allocations: 27.98 kB / 349 MB, free: 15.3 MB / 330.7 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.0002196/0.04582, allocations: 160.6 kB / 349.2 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.13e-05/0.04591, allocations: 71.88 kB / 349.3 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008839/0.04679, allocations: 0.6735 MB / 349.9 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.0468, allocations: 12 kB / 350 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.04681, allocations: 8 kB / 350 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.04682, allocations: 7.969 kB / 350 MB, free: 14.36 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.002273/0.04909, allocations: 1.533 MB / 351.5 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.04909, allocations: 0 / 351.5 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/0.04947, allocations: 163.8 kB / 351.7 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004124/0.04988, allocations: 204.2 kB / 351.9 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-05/0.04993, allocations: 24 kB / 351.9 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002029/0.05196, allocations: 2.391 MB / 354.3 MB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.05196, allocations: 7.938 kB / 354.3 MB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000921/0.05288, allocations: 0.8817 MB / 355.2 MB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.344e-05/0.05297, allocations: 71.48 kB / 355.2 MB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.878e-05/0.05303, allocations: 31.92 kB / 355.3 MB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.05322, allocations: 20 kB / 355.3 MB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.05333, allocations: 80.78 kB / 355.4 MB, free: 8.695 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.286e-05/0.05337, allocations: 24 kB / 355.4 MB, free: 8.672 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.499e-05/0.05347, allocations: 120.7 kB / 355.5 MB, free: 8.551 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05347, allocations: 0 / 355.5 MB, free: 8.551 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007369/0.05421, allocations: 311.9 kB / 355.8 MB, free: 8.246 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.0001449/0.05435, allocations: 108.2 kB / 355.9 MB, free: 8.133 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000862/0.05521, allocations: 0.7156 MB / 356.6 MB, free: 7.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/0.05523, allocations: 8.188 kB / 356.6 MB, free: 7.402 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005144/0.05574, allocations: 0.5026 MB / 357.1 MB, free: 6.883 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.05618, allocations: 107.5 kB / 357.3 MB, free: 6.777 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.05837, allocations: 1.416 MB / 358.7 MB, free: 5.273 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.05857, allocations: 267.8 kB / 358.9 MB, free: 4.992 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001872/0.05876, allocations: 72.77 kB / 359 MB, free: 4.918 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/0.05899, allocations: 143.3 kB / 359.1 MB, free: 4.777 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.059, allocations: 0 / 359.1 MB, free: 4.777 MB / 330.7 MB Notification: Performance of Templates: time 0.01417/0.07316, allocations: 11.03 MB / 370.2 MB, free: 9.836 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop.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.095984698738903]