Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.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.00192/0.00192, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002036/0.002036, allocations: 161.6 kB / 24.27 MB, free: 156 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.521/1.521, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.3269/0.3269, allocations: 29.4 MB / 290.5 MB, free: 2.418 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.NetworkOpened,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.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,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.NetworkOpened") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/2.914e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.01091/0.01094, allocations: 7.628 MB / 376.5 MB, free: 3.648 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008201/0.01914, allocations: 4.693 MB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006798/0.01982, allocations: 15.94 kB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003229/0.02305, allocations: 1.097 MB / 382.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003724/0.02677, allocations: 1.306 MB / 383.6 MB, free: 12.51 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.02793, allocations: 378.5 kB / 384 MB, free: 12.14 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002177/0.03011, allocations: 1.496 MB / 385.5 MB, free: 10.64 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009606/0.03107, allocations: 0.5133 MB / 386 MB, free: 10.12 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001701/0.03277, allocations: 0.8488 MB / 386.9 MB, free: 9.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001228/0.034, allocations: 0.7206 MB / 387.6 MB, free: 8.547 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.03412, allocations: 64 kB / 387.6 MB, free: 8.484 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002822/0.03695, allocations: 1.223 MB / 388.9 MB, free: 7.258 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006786/0.03763, allocations: 0.5417 MB / 389.4 MB, free: 6.715 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000529/0.03815, allocations: 327.3 kB / 389.7 MB, free: 6.395 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003029/0.04118, allocations: 1.62 MB / 391.3 MB, free: 4.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.04119, allocations: 0 / 391.3 MB, free: 4.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.04119, allocations: 4 kB / 391.3 MB, free: 4.766 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.691e-05/0.04121, allocations: 7.938 kB / 391.3 MB, free: 4.758 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002225/0.04343, allocations: 1.267 MB / 392.6 MB, free: 3.449 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.04348, allocations: 11.98 kB / 392.6 MB, free: 3.438 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00358/0.04706, allocations: 0.5698 MB / 393.2 MB, free: 2.867 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.0482, allocations: 447.7 kB / 393.6 MB, free: 2.406 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.845e-05/0.04827, allocations: 58.36 kB / 393.7 MB, free: 2.348 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.04842, allocations: 80.3 kB / 393.8 MB, free: 2.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.05008, allocations: 0.7868 MB / 394.6 MB, free: 1.453 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/0.05011, allocations: 192 / 394.6 MB, free: 1.453 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.022e-05/0.0502, allocations: 32.36 kB / 394.6 MB, free: 1.422 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001292/0.05033, allocations: 85.83 kB / 394.7 MB, free: 1.336 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.0517, allocations: 0.6167 MB / 395.3 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006333/0.05804, allocations: 3.043 MB / 398.3 MB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.05957, allocations: 0.6139 MB / 398.9 MB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005759/0.06015, allocations: 290.3 kB / 399.2 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.284e-05/0.06023, allocations: 28.98 kB / 399.3 MB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.378e-05/0.06028, allocations: 54.27 kB / 399.3 MB, free: 12.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 3.437e-06/0.06029, allocations: 0 / 399.3 MB, free: 12.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=93): time 0.006599/0.06689, allocations: 2.009 MB / 401.3 MB, free: 10.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.81e-05/0.06697, allocations: 90.11 kB / 401.4 MB, free: 10.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006061/0.06758, allocations: 450.6 kB / 401.8 MB, free: 9.977 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.408e-05/0.06765, allocations: 41.64 kB / 401.9 MB, free: 9.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000386/0.06803, allocations: 407.7 kB / 402.3 MB, free: 9.523 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004334/0.06846, allocations: 345.1 kB / 402.6 MB, free: 9.184 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003407/0.06881, allocations: 180.2 kB / 402.8 MB, free: 8.996 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004012/0.06921, allocations: 0.5859 MB / 403.4 MB, free: 8.398 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004494/0.06966, allocations: 193.9 kB / 403.6 MB, free: 8.211 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006476/0.0703, allocations: 375.4 kB / 403.9 MB, free: 7.801 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.07153, allocations: 0.6565 MB / 404.6 MB, free: 7.098 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.07153, allocations: 0 / 404.6 MB, free: 7.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002212/0.07375, allocations: 0.9337 MB / 405.5 MB, free: 6.152 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.07377, allocations: 7.938 kB / 405.5 MB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.07378, allocations: 4 kB / 405.5 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.07481, allocations: 276.5 kB / 405.8 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007691/0.07558, allocations: 175.8 kB / 406 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005387/0.08097, allocations: 3.409 MB / 409.4 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006371/0.08161, allocations: 47.95 kB / 409.4 MB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-05/0.08169, allocations: 35.98 kB / 409.5 MB, free: 2.082 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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.0003903/0.08208, allocations: 208.4 kB / 409.7 MB, free: 1.867 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/0.08229, allocations: 103.5 kB / 409.8 MB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002379/0.08467, allocations: 0.9568 MB / 410.7 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.08468, allocations: 12 kB / 410.7 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.08469, allocations: 7.984 kB / 410.8 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.0847, allocations: 3.984 kB / 410.8 MB, free: 0.7773 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.004787/0.08949, allocations: 2.062 MB / 412.8 MB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.0895, allocations: 4 kB / 412.8 MB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006459/0.09015, allocations: 168.2 kB / 413 MB, free: 14.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008372/0.09098, allocations: 223.4 kB / 413.2 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.291e-05/0.09106, allocations: 27.98 kB / 413.2 MB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005017/0.09607, allocations: 3.281 MB / 416.5 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.09608, allocations: 4 kB / 416.5 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002388/0.09847, allocations: 1.186 MB / 417.7 MB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001998/0.09867, allocations: 79.44 kB / 417.8 MB, free: 9.438 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.155e-05/0.09876, allocations: 20 kB / 417.8 MB, free: 9.418 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004547/0.09921, allocations: 39.95 kB / 417.8 MB, free: 9.379 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/0.0994, allocations: 88.73 kB / 417.9 MB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.217e-05/0.09948, allocations: 35.98 kB / 418 MB, free: 9.258 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003688/0.09985, allocations: 283.1 kB / 418.2 MB, free: 8.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09985, allocations: 0 / 418.2 MB, free: 8.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001087/0.1009, allocations: 308 kB / 418.5 MB, free: 8.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.0002129/0.1012, allocations: 123.1 kB / 418.7 MB, free: 8.547 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002009/0.1032, allocations: 0.9513 MB / 419.6 MB, free: 7.578 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/0.1032, allocations: 4 kB / 419.6 MB, free: 7.574 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.1044, allocations: 0.6726 MB / 420.3 MB, free: 6.879 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006762/0.105, allocations: 96.91 kB / 420.4 MB, free: 6.793 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/0.1079, allocations: 1.489 MB / 421.9 MB, free: 5.207 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000639/0.1086, allocations: 469.1 kB / 422.3 MB, free: 4.727 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000418/0.109, allocations: 152.7 kB / 422.5 MB, free: 4.578 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.1092, allocations: 60.47 kB / 422.5 MB, free: 4.52 MB / 394.7 MB Notification: Performance of SimCode: time 1.653e-06/0.1092, allocations: 0 / 422.5 MB, free: 4.52 MB / 394.7 MB Notification: Performance of Templates: time 0.02152/0.1307, allocations: 10.43 MB / 433 MB, free: 10.17 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkOpened.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.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.371526991948485]