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.0006937/0.0006937, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001315/0.002009, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007243/0.0007243, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001004/0.001728, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.01/1.01, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09254/1.103, allocations: 53.65 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1173/0.1173, allocations: 29.44 MB / 273.6 MB, free: 1.41 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1569/0.2742, allocations: 9.547 MB / 283.1 MB, free: 12.81 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="impedance3.i.[0-9,]+.|impedance3.p.[0-9,]+.|impedance3.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="impedance3.i.[0-9,]+.|impedance3.p.[0-9,]+.|impedance3.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 1.5 kB / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.235e-06/9.738e-06, allocations: 5.438 kB / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.0104/0.01041, allocations: 7.091 MB / 291.5 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009234/0.01965, allocations: 3.498 MB / 295 MB, free: 3.609 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002434/0.01989, allocations: 18.25 kB / 295.1 MB, free: 3.605 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.02121, allocations: 0.9782 MB / 296 MB, free: 2.871 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005078/0.02629, allocations: 1.33 MB / 297.4 MB, free: 1.762 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007053/0.02699, allocations: 362.7 kB / 297.7 MB, free: 1.406 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003221/0.03021, allocations: 1.558 MB / 299.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000504/0.03072, allocations: 0.531 MB / 299.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007468/0.03146, allocations: 0.9093 MB / 300.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006214/0.03208, allocations: 0.7205 MB / 301.4 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.5e-05/0.03215, allocations: 68 kB / 301.5 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.03341, allocations: 1.219 MB / 302.7 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003567/0.03377, allocations: 0.5146 MB / 303.2 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003298/0.0341, allocations: 283.5 kB / 303.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.03568, allocations: 1.258 MB / 304.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.325e-05/0.03569, allocations: 0 / 304.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.0357, allocations: 4 kB / 304.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.755e-05/0.03571, allocations: 0 / 304.8 MB, free: 10.32 MB / 298.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.001759/0.03747, allocations: 1.337 MB / 306.1 MB, free: 8.961 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.03752, allocations: 12.02 kB / 306.1 MB, free: 8.949 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003039/0.04056, allocations: 0.6066 MB / 306.7 MB, free: 8.324 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007223/0.04128, allocations: 400.9 kB / 307.1 MB, free: 7.902 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.318e-05/0.04133, allocations: 54.38 kB / 307.2 MB, free: 7.848 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.04148, allocations: 72.36 kB / 307.2 MB, free: 7.777 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.0425, allocations: 0.6633 MB / 307.9 MB, free: 7.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/0.04254, allocations: 8.141 kB / 307.9 MB, free: 7.082 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-05/0.04261, allocations: 28.36 kB / 307.9 MB, free: 7.055 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/0.04272, allocations: 77.89 kB / 308 MB, free: 6.977 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007656/0.04348, allocations: 368.5 kB / 308.4 MB, free: 6.617 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003782/0.04727, allocations: 2.253 MB / 310.6 MB, free: 4.293 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.04872, allocations: 0.5942 MB / 311.2 MB, free: 3.676 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004463/0.04917, allocations: 204.3 kB / 311.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.041e-05/0.04924, allocations: 21 kB / 311.4 MB, free: 3.453 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/0.04928, allocations: 39.56 kB / 311.5 MB, free: 3.402 MB / 298.7 MB Notification: Performance of pre-optimization done (n=92): time 3.226e-06/0.04928, allocations: 0 / 311.5 MB, free: 3.402 MB / 298.7 MB Notification: Performance of matching and sorting (n=93): time 0.004239/0.05352, allocations: 1.485 MB / 313 MB, free: 1.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.05357, allocations: 94.11 kB / 313.1 MB, free: 1.801 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.05378, allocations: 315.2 kB / 313.4 MB, free: 1.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.707e-05/0.05383, allocations: 37.7 kB / 313.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.05396, allocations: 305.4 kB / 313.7 MB, free: 1.129 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.05415, allocations: 329.1 kB / 314 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.05431, allocations: 150.5 kB / 314.2 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.05441, allocations: 374.6 kB / 314.5 MB, free: 284 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.05457, allocations: 124.8 kB / 314.7 MB, free: 156 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.05478, allocations: 240.3 kB / 314.9 MB, free: 15.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004137/0.05519, allocations: 449.6 kB / 315.3 MB, free: 15.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.0552, allocations: 0 / 315.3 MB, free: 15.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.0007569/0.05595, allocations: 0.6341 MB / 316 MB, free: 14.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.05597, allocations: 4 kB / 316 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.05598, allocations: 4 kB / 316 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004595/0.05644, allocations: 228.5 kB / 316.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/0.05688, allocations: 202.6 kB / 316.4 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002242/0.05912, allocations: 2.44 MB / 318.8 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.05936, allocations: 20.03 kB / 318.9 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.452e-05/0.0594, allocations: 27.98 kB / 318.9 MB, free: 11.75 MB / 314.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.0002046/0.05961, allocations: 160.4 kB / 319 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-05/0.05969, allocations: 67.94 kB / 319.1 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008586/0.06055, allocations: 0.6969 MB / 319.8 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.06056, allocations: 12 kB / 319.8 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.06056, allocations: 4 kB / 319.8 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.06057, allocations: 7.969 kB / 319.8 MB, free: 10.79 MB / 314.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.001986/0.06256, allocations: 1.521 MB / 321.3 MB, free: 9.184 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/0.06257, allocations: 4 kB / 321.4 MB, free: 9.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003976/0.06296, allocations: 179.8 kB / 321.5 MB, free: 9.004 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.134e-05/0.06303, allocations: 63.55 kB / 321.6 MB, free: 8.941 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003933/0.06343, allocations: 204.5 kB / 321.8 MB, free: 8.738 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-05/0.06348, allocations: 23.98 kB / 321.8 MB, free: 8.715 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002207/0.06568, allocations: 2.382 MB / 324.2 MB, free: 6.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.06569, allocations: 15.88 kB / 324.2 MB, free: 6.215 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008222/0.06651, allocations: 0.8894 MB / 325.1 MB, free: 5.246 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.303e-05/0.06656, allocations: 28 kB / 325.1 MB, free: 5.219 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.06675, allocations: 20 kB / 325.1 MB, free: 5.199 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.06685, allocations: 88.72 kB / 325.2 MB, free: 5.113 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.774e-05/0.06689, allocations: 20 kB / 325.3 MB, free: 5.094 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001009/0.06699, allocations: 128.7 kB / 325.4 MB, free: 4.965 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.06699, allocations: 0 / 325.4 MB, free: 4.965 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006665/0.06766, allocations: 316 kB / 325.7 MB, free: 4.656 MB / 314.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.0001368/0.06779, allocations: 109.4 kB / 325.8 MB, free: 4.543 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008264/0.06862, allocations: 0.7195 MB / 326.5 MB, free: 3.812 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.476e-05/0.06865, allocations: 16.59 kB / 326.5 MB, free: 3.797 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006371/0.06928, allocations: 0.6718 MB / 327.2 MB, free: 3.105 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004865/0.06977, allocations: 321.8 kB / 327.5 MB, free: 2.762 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01574/0.08551, allocations: 1.509 MB / 329 MB, free: 1.16 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.08574, allocations: 272 kB / 329.3 MB, free: 0.875 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002698/0.08601, allocations: 68.88 kB / 329.4 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/0.08627, allocations: 139.3 kB / 329.5 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of SimCode: time 1.423e-06/0.08627, allocations: 3.938 kB / 329.5 MB, free: 0.668 MB / 314.7 MB Notification: Performance of Templates: time 0.01447/0.1007, allocations: 11.32 MB / 340.8 MB, free: 5.445 MB / 330.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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0402162028476596]