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.0009868/0.0009868, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001279/0.001279, allocations: 172.4 kB / 25.61 MB, free: 8.91 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 0.9543/0.9543, allocations: 177.2 MB / 206.1 MB, free: 4.52 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.1149/0.1149, allocations: 29.44 MB / 292 MB, free: 2.656 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.864e-06/1.864e-06, allocations: 0 / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.695e-05/1.882e-05, allocations: 2.312 kB / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.004384/0.004403, allocations: 6.675 MB / 377.6 MB, free: 25.65 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003264/0.007667, allocations: 3.17 MB / 380.7 MB, free: 22.46 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003534/0.00802, allocations: 15.94 kB / 380.7 MB, free: 22.45 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009232/0.008943, allocations: 0.7002 MB / 381.4 MB, free: 21.75 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.01038, allocations: 1.213 MB / 382.7 MB, free: 20.53 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005182/0.0109, allocations: 322.8 kB / 383 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009859/0.01188, allocations: 1.406 MB / 384.4 MB, free: 18.8 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004778/0.01236, allocations: 0.5128 MB / 384.9 MB, free: 18.28 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005521/0.01291, allocations: 0.7983 MB / 385.7 MB, free: 17.48 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005021/0.01341, allocations: 0.6895 MB / 386.4 MB, free: 16.79 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.243e-05/0.01347, allocations: 64 kB / 386.4 MB, free: 16.73 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.01455, allocations: 1.114 MB / 387.6 MB, free: 15.61 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002712/0.01482, allocations: 0.5105 MB / 388.1 MB, free: 15.1 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.01502, allocations: 315.3 kB / 388.4 MB, free: 14.79 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009464/0.01596, allocations: 1.285 MB / 389.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.01597, allocations: 4 kB / 389.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.01597, allocations: 0 / 389.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.01598, allocations: 0 / 389.7 MB, free: 13.5 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.0009072/0.01689, allocations: 1.193 MB / 390.9 MB, free: 12.26 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.01692, allocations: 12.03 kB / 390.9 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001449/0.01837, allocations: 475.7 kB / 391.3 MB, free: 11.78 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.01872, allocations: 399.8 kB / 391.7 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.01874, allocations: 54.36 kB / 391.8 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.673e-05/0.01881, allocations: 72.36 kB / 391.8 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000509/0.01932, allocations: 0.6305 MB / 392.5 MB, free: 10.58 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.01934, allocations: 8.125 kB / 392.5 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.273e-05/0.01938, allocations: 28.36 kB / 392.5 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-05/0.01943, allocations: 77.89 kB / 392.6 MB, free: 10.47 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000382/0.01982, allocations: 401.5 kB / 393 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00195/0.02176, allocations: 2.505 MB / 395.5 MB, free: 7.508 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005056/0.02227, allocations: 0.5537 MB / 396 MB, free: 6.922 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.02246, allocations: 238.3 kB / 396.3 MB, free: 6.684 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.0225, allocations: 21 kB / 396.3 MB, free: 6.664 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.02252, allocations: 50.38 kB / 396.3 MB, free: 6.605 MB / 314.7 MB Notification: Performance of pre-optimization done (n=91): time 2.014e-06/0.02252, allocations: 0 / 396.3 MB, free: 6.605 MB / 314.7 MB Notification: Performance of matching and sorting (n=92): time 0.00224/0.02476, allocations: 1.567 MB / 397.9 MB, free: 5.035 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.02478, allocations: 86.11 kB / 398 MB, free: 4.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.02492, allocations: 378.4 kB / 398.4 MB, free: 4.547 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.02496, allocations: 41.7 kB / 398.4 MB, free: 4.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.741e-05/0.02505, allocations: 379.5 kB / 398.8 MB, free: 4.121 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.02517, allocations: 329.1 kB / 399.1 MB, free: 3.797 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.02529, allocations: 172.2 kB / 399.3 MB, free: 3.617 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.552e-05/0.02536, allocations: 0.5547 MB / 399.8 MB, free: 3.051 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.02549, allocations: 137.9 kB / 400 MB, free: 2.918 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.02568, allocations: 287.6 kB / 400.2 MB, free: 2.598 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003653/0.02604, allocations: 484.6 kB / 400.7 MB, free: 2.082 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.02605, allocations: 4 kB / 400.7 MB, free: 2.078 MB / 314.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0007455/0.02679, allocations: 0.7658 MB / 401.5 MB, free: 1.301 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.0268, allocations: 8 kB / 401.5 MB, free: 1.293 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.02681, allocations: 0 / 401.5 MB, free: 1.293 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004144/0.02722, allocations: 241.6 kB / 401.7 MB, free: 1.055 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.02753, allocations: 159.8 kB / 401.9 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/0.02964, allocations: 3.076 MB / 405 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.02983, allocations: 20 kB / 405 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-05/0.02987, allocations: 31.98 kB / 405 MB, free: 13.65 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.0001581/0.03003, allocations: 204.4 kB / 405.2 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.514e-05/0.03013, allocations: 87.61 kB / 405.3 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009603/0.03109, allocations: 0.8199 MB / 406.1 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.0311, allocations: 15.98 kB / 406.1 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.0311, allocations: 4 kB / 406.1 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.03111, allocations: 3.984 kB / 406.1 MB, free: 12.5 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.001895/0.03301, allocations: 1.699 MB / 407.8 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.03301, allocations: 4 kB / 407.8 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000285/0.0333, allocations: 147.8 kB / 408 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003772/0.03367, allocations: 205.6 kB / 408.2 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.985e-05/0.03371, allocations: 27.98 kB / 408.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002196/0.03591, allocations: 2.998 MB / 411.2 MB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.03591, allocations: 4 kB / 411.2 MB, free: 7.211 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009647/0.03688, allocations: 1.053 MB / 412.3 MB, free: 6.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.25e-05/0.03694, allocations: 71.55 kB / 412.3 MB, free: 6 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.779e-05/0.037, allocations: 23.98 kB / 412.4 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.03718, allocations: 31.94 kB / 412.4 MB, free: 5.945 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.555e-05/0.03727, allocations: 80.78 kB / 412.5 MB, free: 5.867 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.0373, allocations: 28 kB / 412.5 MB, free: 5.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000111/0.03742, allocations: 243 kB / 412.7 MB, free: 5.602 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03742, allocations: 0 / 412.7 MB, free: 5.602 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005456/0.03796, allocations: 304 kB / 413 MB, free: 5.305 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.0001258/0.03809, allocations: 119.1 kB / 413.1 MB, free: 5.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008308/0.03892, allocations: 0.8343 MB / 414 MB, free: 4.328 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.03892, allocations: 0 / 414 MB, free: 4.328 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004967/0.03942, allocations: 0.606 MB / 414.6 MB, free: 3.703 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.03983, allocations: 91.95 kB / 414.7 MB, free: 3.621 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.04153, allocations: 1.424 MB / 416.1 MB, free: 2.094 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.04172, allocations: 271.8 kB / 416.4 MB, free: 1.809 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001679/0.04188, allocations: 72.72 kB / 416.4 MB, free: 1.734 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/0.0421, allocations: 166.2 kB / 416.6 MB, free: 1.57 MB / 330.7 MB Notification: Performance of SimCode: time 1.152e-06/0.0421, allocations: 0 / 416.6 MB, free: 1.57 MB / 330.7 MB Notification: Performance of Templates: time 0.01215/0.05424, allocations: 11.22 MB / 427.8 MB, free: 6.449 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.341461183037609]