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.001196/0.001196, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001395/0.001395, allocations: 172.7 kB / 24.91 MB, free: 9.148 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.04/1.04, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2586/0.2586, allocations: 29.42 MB / 291.2 MB, free: 2.422 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 1.833e-06/1.833e-06, allocations: 0 / 316.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.582e-05, allocations: 2.312 kB / 316.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.006937/0.006962, allocations: 6.681 MB / 323.5 MB, free: 9.262 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004342/0.0113, allocations: 3.229 MB / 326.8 MB, free: 6.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004887/0.01179, allocations: 15.94 kB / 326.8 MB, free: 6.004 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.0131, allocations: 0.7158 MB / 327.5 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002521/0.01562, allocations: 1.213 MB / 328.7 MB, free: 4.066 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007632/0.01639, allocations: 322.8 kB / 329 MB, free: 3.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001705/0.01809, allocations: 1.402 MB / 330.4 MB, free: 2.344 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007463/0.01884, allocations: 0.5577 MB / 331 MB, free: 1.781 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001196/0.02004, allocations: 0.7905 MB / 331.8 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009699/0.02101, allocations: 0.6349 MB / 332.4 MB, free: 356 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.02113, allocations: 64 kB / 332.5 MB, free: 292 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002036/0.02316, allocations: 1.086 MB / 333.5 MB, free: 15.2 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004218/0.02359, allocations: 0.5222 MB / 334.1 MB, free: 14.67 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003689/0.02395, allocations: 315.3 kB / 334.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002041/0.026, allocations: 1.281 MB / 335.7 MB, free: 13.08 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.026, allocations: 4 kB / 335.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.026, allocations: 0 / 335.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.273e-05/0.02603, allocations: 0 / 335.7 MB, free: 13.07 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.001393/0.02742, allocations: 1.037 MB / 336.7 MB, free: 12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.02746, allocations: 11.98 kB / 336.7 MB, free: 11.99 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/0.02922, allocations: 0.5 MB / 337.2 MB, free: 11.49 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005605/0.02978, allocations: 381 kB / 337.6 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/0.02981, allocations: 54.36 kB / 337.6 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.844e-05/0.0299, allocations: 72.36 kB / 337.7 MB, free: 10.97 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000683/0.03058, allocations: 0.6361 MB / 338.3 MB, free: 10.31 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.03061, allocations: 12.08 kB / 338.4 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.7e-05/0.03066, allocations: 24.36 kB / 338.4 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.318e-05/0.03073, allocations: 81.89 kB / 338.5 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004791/0.03121, allocations: 352.5 kB / 338.8 MB, free: 9.848 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002896/0.03411, allocations: 2.097 MB / 340.9 MB, free: 7.695 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006205/0.03473, allocations: 0.543 MB / 341.4 MB, free: 7.125 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.03496, allocations: 223.3 kB / 341.7 MB, free: 6.902 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.441e-05/0.03501, allocations: 21 kB / 341.7 MB, free: 6.883 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.03504, allocations: 43.5 kB / 341.7 MB, free: 6.832 MB / 314.7 MB Notification: Performance of pre-optimization done (n=91): time 2.785e-06/0.03504, allocations: 0 / 341.7 MB, free: 6.832 MB / 314.7 MB Notification: Performance of matching and sorting (n=92): time 0.002477/0.03752, allocations: 1.392 MB / 343.1 MB, free: 5.434 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.03757, allocations: 94.05 kB / 343.2 MB, free: 5.324 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.03778, allocations: 311.2 kB / 343.5 MB, free: 5.008 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.03782, allocations: 41.7 kB / 343.6 MB, free: 4.961 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.03795, allocations: 289.5 kB / 343.8 MB, free: 4.672 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.03813, allocations: 325.2 kB / 344.2 MB, free: 4.352 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.03829, allocations: 146.5 kB / 344.3 MB, free: 4.203 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.03839, allocations: 370.7 kB / 344.7 MB, free: 3.832 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.03854, allocations: 124.8 kB / 344.8 MB, free: 3.707 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.03874, allocations: 223.4 kB / 345 MB, free: 3.461 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004094/0.03914, allocations: 437.8 kB / 345.4 MB, free: 3.004 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.03915, allocations: 0 / 345.4 MB, free: 3.004 MB / 314.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0007632/0.03991, allocations: 0.6263 MB / 346.1 MB, free: 2.363 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.03993, allocations: 4 kB / 346.1 MB, free: 2.359 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.03994, allocations: 4 kB / 346.1 MB, free: 2.355 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004652/0.0404, allocations: 230.5 kB / 346.3 MB, free: 2.129 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.04075, allocations: 151.8 kB / 346.4 MB, free: 1.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002658/0.04341, allocations: 2.439 MB / 348.9 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.04364, allocations: 20 kB / 348.9 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-05/0.04368, allocations: 23.98 kB / 348.9 MB, free: 15.4 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.0002087/0.04389, allocations: 164.6 kB / 349.1 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.153e-05/0.04398, allocations: 67.89 kB / 349.1 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009209/0.0449, allocations: 0.6851 MB / 349.8 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.04491, allocations: 12 kB / 349.8 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.04492, allocations: 4 kB / 349.8 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.04493, allocations: 11.97 kB / 349.9 MB, free: 14.44 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.001928/0.04685, allocations: 1.525 MB / 351.4 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.04686, allocations: 4 kB / 351.4 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003254/0.04718, allocations: 147.7 kB / 351.5 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004/0.04758, allocations: 204.3 kB / 351.7 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.367e-05/0.04763, allocations: 24 kB / 351.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00226/0.04989, allocations: 2.376 MB / 354.1 MB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.04989, allocations: 4 kB / 354.1 MB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008471/0.05074, allocations: 0.8933 MB / 355 MB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.398e-05/0.05082, allocations: 59.61 kB / 355.1 MB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.164e-05/0.05087, allocations: 24 kB / 355.1 MB, free: 8.914 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.05105, allocations: 24 kB / 355.1 MB, free: 8.891 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.381e-05/0.05115, allocations: 84.72 kB / 355.2 MB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.253e-05/0.05119, allocations: 27.98 kB / 355.2 MB, free: 8.781 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.964e-05/0.05128, allocations: 116.7 kB / 355.4 MB, free: 8.664 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.05128, allocations: 0 / 355.4 MB, free: 8.664 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006844/0.05196, allocations: 308 kB / 355.7 MB, free: 8.363 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.0001764/0.05214, allocations: 104.2 kB / 355.8 MB, free: 8.254 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009738/0.05311, allocations: 0.7273 MB / 356.5 MB, free: 7.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.474e-05/0.05313, allocations: 4 kB / 356.5 MB, free: 7.516 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005109/0.05364, allocations: 0.5096 MB / 357 MB, free: 6.988 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.05404, allocations: 98.38 kB / 357.1 MB, free: 6.895 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.05609, allocations: 1.423 MB / 358.5 MB, free: 5.383 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.05631, allocations: 271.8 kB / 358.8 MB, free: 5.098 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002008/0.05651, allocations: 64.73 kB / 358.8 MB, free: 5.031 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.05673, allocations: 139.3 kB / 359 MB, free: 4.895 MB / 330.7 MB Notification: Performance of SimCode: time 1.473e-06/0.05673, allocations: 0 / 359 MB, free: 4.895 MB / 330.7 MB Notification: Performance of Templates: time 0.01376/0.07049, allocations: 10.95 MB / 369.9 MB, free: 10.04 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 -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.377152153290808]