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.002384/0.002384, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002818/0.002818, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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.534/1.534, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.2984/0.2984, allocations: 29.41 MB / 290.5 MB, free: 2.449 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.NetworkLoop,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") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.507e-05, allocations: 2.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.01006/0.01009, allocations: 7.367 MB / 376.3 MB, free: 3.93 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007486/0.01758, allocations: 4.346 MB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003467/0.01792, allocations: 15.94 kB / 380.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002912/0.02083, allocations: 1.05 MB / 381.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002763/0.0236, allocations: 1.24 MB / 382.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008898/0.02449, allocations: 322.8 kB / 383.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001804/0.02629, allocations: 1.437 MB / 384.7 MB, free: 11.49 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009374/0.02723, allocations: 0.5128 MB / 385.2 MB, free: 10.98 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001396/0.02862, allocations: 0.8138 MB / 386 MB, free: 10.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001326/0.02995, allocations: 0.6894 MB / 386.7 MB, free: 9.469 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.03006, allocations: 64 kB / 386.7 MB, free: 9.406 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002306/0.03237, allocations: 1.145 MB / 387.9 MB, free: 8.258 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005849/0.03296, allocations: 0.5223 MB / 388.4 MB, free: 7.734 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004442/0.0334, allocations: 311.3 kB / 388.7 MB, free: 7.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00226/0.03566, allocations: 1.535 MB / 390.2 MB, free: 5.891 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.03566, allocations: 0 / 390.2 MB, free: 5.891 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.03567, allocations: 0 / 390.2 MB, free: 5.891 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.03568, allocations: 0 / 390.2 MB, free: 5.891 MB / 362.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.002127/0.03781, allocations: 1.236 MB / 391.5 MB, free: 4.613 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.03786, allocations: 11.98 kB / 391.5 MB, free: 4.602 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003286/0.04115, allocations: 0.5387 MB / 392 MB, free: 4.062 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.04215, allocations: 423.8 kB / 392.4 MB, free: 3.625 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.101e-05/0.04221, allocations: 50.38 kB / 392.5 MB, free: 3.574 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.04236, allocations: 76.34 kB / 392.6 MB, free: 3.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.04388, allocations: 0.7594 MB / 393.3 MB, free: 2.711 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.04391, allocations: 8.188 kB / 393.3 MB, free: 2.703 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.673e-05/0.04399, allocations: 28.36 kB / 393.4 MB, free: 2.676 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000113/0.04411, allocations: 77.83 kB / 393.4 MB, free: 2.598 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/0.04563, allocations: 0.5932 MB / 394 MB, free: 2.004 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005629/0.05126, allocations: 2.86 MB / 396.9 MB, free: 15.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.05257, allocations: 0.5827 MB / 397.5 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000602/0.05317, allocations: 314.2 kB / 397.8 MB, free: 14.13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.366e-05/0.05325, allocations: 17 kB / 397.8 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/0.0533, allocations: 50.39 kB / 397.8 MB, free: 14.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 2.805e-06/0.0533, allocations: 0 / 397.8 MB, free: 14.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=92): time 0.005992/0.05929, allocations: 1.954 MB / 399.8 MB, free: 12.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.458e-05/0.05938, allocations: 94.05 kB / 399.9 MB, free: 11.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005109/0.05989, allocations: 434.7 kB / 400.3 MB, free: 11.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.622e-05/0.05995, allocations: 41.7 kB / 400.4 MB, free: 11.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005316/0.06048, allocations: 379.6 kB / 400.7 MB, free: 11.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003856/0.06087, allocations: 353.2 kB / 401.1 MB, free: 10.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003143/0.06118, allocations: 176.3 kB / 401.2 MB, free: 10.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003645/0.06155, allocations: 0.5704 MB / 401.8 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000464/0.06201, allocations: 201.9 kB / 402 MB, free: 9.812 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006186/0.06263, allocations: 359.7 kB / 402.4 MB, free: 9.422 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.06387, allocations: 0.6489 MB / 403 MB, free: 8.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.06388, allocations: 4 kB / 403 MB, free: 8.727 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002186/0.06606, allocations: 0.918 MB / 403.9 MB, free: 7.797 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.06608, allocations: 4 kB / 403.9 MB, free: 7.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.006e-06/0.06609, allocations: 4 kB / 403.9 MB, free: 7.789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/0.06715, allocations: 272.6 kB / 404.2 MB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008071/0.06796, allocations: 179.7 kB / 404.4 MB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005451/0.07341, allocations: 3.411 MB / 407.8 MB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000822/0.07423, allocations: 47.91 kB / 407.8 MB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.332e-05/0.07433, allocations: 35.98 kB / 407.9 MB, free: 3.73 MB / 378.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.0003603/0.07469, allocations: 216.4 kB / 408.1 MB, free: 3.508 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/0.07489, allocations: 99.55 kB / 408.2 MB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002401/0.07729, allocations: 0.9566 MB / 409.1 MB, free: 2.445 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.0773, allocations: 12 kB / 409.2 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.07731, allocations: 7.938 kB / 409.2 MB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.07733, allocations: 7.984 kB / 409.2 MB, free: 2.418 MB / 378.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.004862/0.08219, allocations: 2.054 MB / 411.2 MB, free: 268 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.0822, allocations: 4 kB / 411.2 MB, free: 264 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000689/0.08289, allocations: 163.8 kB / 411.4 MB, free: 100 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000886/0.08377, allocations: 235.7 kB / 411.6 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.34e-05/0.08385, allocations: 27.94 kB / 411.6 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004914/0.08876, allocations: 3.274 MB / 414.9 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/0.08877, allocations: 7.938 kB / 414.9 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002601/0.09137, allocations: 1.186 MB / 416.1 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/0.09156, allocations: 71.56 kB / 416.2 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.09167, allocations: 20 kB / 416.2 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/0.09211, allocations: 39.97 kB / 416.2 MB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001831/0.09229, allocations: 88.72 kB / 416.3 MB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.207e-05/0.09237, allocations: 39.98 kB / 416.4 MB, free: 10.9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003238/0.0927, allocations: 267.1 kB / 416.6 MB, free: 10.64 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0927, allocations: 0 / 416.6 MB, free: 10.64 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009825/0.09368, allocations: 308 kB / 416.9 MB, free: 10.34 MB / 394.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.0002042/0.09389, allocations: 131 kB / 417.1 MB, free: 10.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00189/0.09578, allocations: 0.9405 MB / 418 MB, free: 9.242 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/0.09578, allocations: 8.125 kB / 418 MB, free: 9.234 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.09693, allocations: 0.6764 MB / 418.7 MB, free: 8.539 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006535/0.09758, allocations: 92.23 kB / 418.8 MB, free: 8.461 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/0.1004, allocations: 1.462 MB / 420.2 MB, free: 6.895 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005907/0.101, allocations: 452.8 kB / 420.7 MB, free: 6.43 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004079/0.1014, allocations: 152.6 kB / 420.8 MB, free: 6.281 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.1016, allocations: 68.41 kB / 420.9 MB, free: 6.211 MB / 394.7 MB Notification: Performance of SimCode: time 1.172e-06/0.1016, allocations: 0 / 420.9 MB, free: 6.211 MB / 394.7 MB Notification: Performance of Templates: time 0.02111/0.1227, allocations: 10.45 MB / 431.3 MB, free: 11.84 MB / 410.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.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.298461180063896]