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.001474/0.001474, allocations: 77.97 kB / 21.42 MB, free: 3.066 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.002283/0.002283, allocations: 165.3 kB / 24.82 MB, free: 9.312 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.097/1.097, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.3147/0.3147, allocations: 29.43 MB / 291.2 MB, free: 2.465 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.214e-06/2.214e-06, allocations: 0 / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.156e-05/3.377e-05, allocations: 2.312 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.008615/0.008649, allocations: 6.666 MB / 376.8 MB, free: 4.023 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005911/0.01456, allocations: 3.162 MB / 379.9 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006216/0.01518, allocations: 23.94 kB / 380 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.01695, allocations: 0.7041 MB / 380.7 MB, free: 120 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00345/0.0204, allocations: 1.221 MB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.02173, allocations: 314.9 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002065/0.0238, allocations: 1.398 MB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009924/0.02479, allocations: 0.5167 MB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001646/0.02644, allocations: 0.7944 MB / 384.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.02752, allocations: 0.6856 MB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.02764, allocations: 64 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00244/0.03008, allocations: 1.118 MB / 386.8 MB, free: 9.992 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004972/0.03058, allocations: 0.5184 MB / 387.3 MB, free: 9.473 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003715/0.03095, allocations: 315.3 kB / 387.6 MB, free: 9.164 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.03262, allocations: 1.281 MB / 388.9 MB, free: 7.879 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.03263, allocations: 0 / 388.9 MB, free: 7.879 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.03263, allocations: 4 kB / 388.9 MB, free: 7.875 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.03264, allocations: 0 / 388.9 MB, free: 7.875 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.001151/0.03379, allocations: 1.185 MB / 390.1 MB, free: 6.648 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.03385, allocations: 15.98 kB / 390.1 MB, free: 6.633 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001669/0.03552, allocations: 475.7 kB / 390.5 MB, free: 6.168 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004722/0.03599, allocations: 399.8 kB / 390.9 MB, free: 5.754 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.466e-05/0.03603, allocations: 54.36 kB / 391 MB, free: 5.699 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-05/0.03612, allocations: 76.28 kB / 391.1 MB, free: 5.625 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009881/0.03711, allocations: 0.6344 MB / 391.7 MB, free: 4.961 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.03713, allocations: 192 / 391.7 MB, free: 4.961 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.008e-05/0.03718, allocations: 32.36 kB / 391.7 MB, free: 4.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.126e-05/0.03725, allocations: 73.89 kB / 391.8 MB, free: 4.855 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004482/0.0377, allocations: 401.4 kB / 392.2 MB, free: 4.465 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002471/0.04017, allocations: 2.517 MB / 394.7 MB, free: 1.875 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006404/0.04081, allocations: 0.5471 MB / 395.3 MB, free: 1.293 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/0.04105, allocations: 238.3 kB / 395.5 MB, free: 1.055 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.441e-05/0.04109, allocations: 25 kB / 395.5 MB, free: 1.031 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.04113, allocations: 42.39 kB / 395.6 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of pre-optimization done (n=91): time 2.275e-06/0.04113, allocations: 0 / 395.6 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of matching and sorting (n=92): time 0.002696/0.04382, allocations: 1.569 MB / 397.1 MB, free: 15.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.04388, allocations: 86.11 kB / 397.2 MB, free: 15.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.04414, allocations: 382.4 kB / 397.6 MB, free: 14.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.042e-05/0.04418, allocations: 45.73 kB / 397.6 MB, free: 14.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/0.04436, allocations: 367.6 kB / 398 MB, free: 14.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000225/0.04459, allocations: 337.1 kB / 398.3 MB, free: 14.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/0.04476, allocations: 168.2 kB / 398.5 MB, free: 13.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0005051/0.04527, allocations: 0.5507 MB / 399 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.04544, allocations: 129.9 kB / 399.2 MB, free: 13.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.0457, allocations: 295.6 kB / 399.4 MB, free: 12.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004671/0.04617, allocations: 480.6 kB / 399.9 MB, free: 12.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.04617, allocations: 4 kB / 399.9 MB, free: 12.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0009419/0.04712, allocations: 0.7658 MB / 400.7 MB, free: 11.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.04714, allocations: 11.98 kB / 400.7 MB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.04716, allocations: 0 / 400.7 MB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000524/0.04768, allocations: 244.4 kB / 400.9 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003533/0.04803, allocations: 155.8 kB / 401.1 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002653/0.05069, allocations: 3.096 MB / 404.2 MB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.05091, allocations: 24.03 kB / 404.2 MB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.144e-05/0.05095, allocations: 31.92 kB / 404.2 MB, free: 8.012 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.0002351/0.05119, allocations: 196.5 kB / 404.4 MB, free: 7.809 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.05129, allocations: 91.61 kB / 404.5 MB, free: 7.719 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.05236, allocations: 0.8237 MB / 405.3 MB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.05236, allocations: 12 kB / 405.4 MB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.05237, allocations: 4 kB / 405.4 MB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.05238, allocations: 11.97 kB / 405.4 MB, free: 6.859 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.002455/0.05484, allocations: 1.687 MB / 407.1 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.05484, allocations: 4 kB / 407.1 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002898/0.05513, allocations: 143.8 kB / 407.2 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003949/0.05553, allocations: 195.9 kB / 407.4 MB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.958e-05/0.05557, allocations: 31.98 kB / 407.4 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002336/0.0579, allocations: 3.003 MB / 410.4 MB, free: 1.586 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.05791, allocations: 4 kB / 410.4 MB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.059, allocations: 1.049 MB / 411.5 MB, free: 456 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.975e-05/0.05909, allocations: 71.58 kB / 411.6 MB, free: 384 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.897e-05/0.05914, allocations: 24 kB / 411.6 MB, free: 360 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.05932, allocations: 23.94 kB / 411.6 MB, free: 336 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.616e-05/0.05942, allocations: 88.69 kB / 411.7 MB, free: 248 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.299e-05/0.05947, allocations: 31.98 kB / 411.7 MB, free: 216 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001528/0.05962, allocations: 239 kB / 412 MB, free: 15.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-07/0.05962, allocations: 0 / 412 MB, free: 15.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007218/0.06034, allocations: 304 kB / 412.2 MB, free: 15.68 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.0001617/0.0605, allocations: 138.4 kB / 412.4 MB, free: 15.54 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001271/0.06178, allocations: 0.8268 MB / 413.2 MB, free: 14.7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.654e-06/0.06178, allocations: 3.938 kB / 413.2 MB, free: 14.69 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00052/0.0623, allocations: 0.5908 MB / 413.8 MB, free: 14.08 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.06274, allocations: 93.28 kB / 413.9 MB, free: 14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.06463, allocations: 1.438 MB / 415.3 MB, free: 12.45 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.06483, allocations: 263.9 kB / 415.6 MB, free: 12.17 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001656/0.06499, allocations: 68.72 kB / 415.7 MB, free: 12.11 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.06521, allocations: 162.2 kB / 415.8 MB, free: 11.95 MB / 394.7 MB Notification: Performance of SimCode: time 1.292e-06/0.06521, allocations: 0 / 415.8 MB, free: 11.95 MB / 394.7 MB Notification: Performance of Templates: time 0.01463/0.07984, allocations: 10.96 MB / 426.8 MB, free: 1.043 MB / 394.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.5933173899538815]