Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.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.001021/0.001021, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001469/0.00249, allocations: 449.7 kB / 10.37 MB, free: 328 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.00114/0.00114, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001578/0.002718, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9875/0.9875, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08433/1.072, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.1374/0.1374, allocations: 29.44 MB / 273.4 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1298/0.2671, allocations: 9.53 MB / 283 MB, free: 12.84 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.PowerWorld.Test.WindFarmGridTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="windFarm.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="windFarm.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.325e-05, allocations: 4.641 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.00556/0.005583, allocations: 3.792 MB / 288 MB, free: 8.91 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002892/0.008475, allocations: 1.799 MB / 289.8 MB, free: 7.531 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.008659, allocations: 13.75 kB / 289.8 MB, free: 7.523 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006625/0.009321, allocations: 228.8 kB / 290.1 MB, free: 7.352 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000606/0.009927, allocations: 298.1 kB / 290.3 MB, free: 7.121 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005439/0.01047, allocations: 243.4 kB / 290.6 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005976/0.01107, allocations: 0.5552 MB / 291.1 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003293/0.0114, allocations: 188.1 kB / 291.3 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005066/0.0119, allocations: 360 kB / 291.7 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.01214, allocations: 214.7 kB / 291.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.5e-05/0.01218, allocations: 40.03 kB / 291.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004027/0.01259, allocations: 342.4 kB / 292.3 MB, free: 6.02 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.01269, allocations: 120.8 kB / 292.4 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.926e-05/0.01279, allocations: 102.9 kB / 292.5 MB, free: 5.961 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005069/0.0133, allocations: 499.5 kB / 293 MB, free: 5.719 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.348e-05/0.01331, allocations: 0 / 293 MB, free: 5.719 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.01331, allocations: 0 / 293 MB, free: 5.719 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.01332, allocations: 0 / 293 MB, free: 5.719 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.000818/0.01414, allocations: 0.7455 MB / 293.7 MB, free: 5.152 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.621e-05/0.01417, allocations: 10 kB / 293.7 MB, free: 5.152 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005245/0.01469, allocations: 235.7 kB / 294 MB, free: 4.988 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.01503, allocations: 299.4 kB / 294.2 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.01505, allocations: 20.88 kB / 294.3 MB, free: 4.691 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.01508, allocations: 24.36 kB / 294.3 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.01542, allocations: 311.9 kB / 294.6 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.01543, allocations: 3.938 kB / 294.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.01545, allocations: 8 kB / 294.6 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.747e-05/0.01548, allocations: 24.48 kB / 294.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002226/0.0157, allocations: 178 kB / 294.8 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.01678, allocations: 1.19 MB / 296 MB, free: 2.859 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/0.01709, allocations: 255.3 kB / 296.2 MB, free: 2.59 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.893e-05/0.01715, allocations: 54.09 kB / 296.3 MB, free: 2.531 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.01717, allocations: 7.984 kB / 296.3 MB, free: 2.523 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001958/0.01737, allocations: 209.7 kB / 296.5 MB, free: 2.277 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 1.322e-06/0.01737, allocations: 0 / 296.5 MB, free: 2.277 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.0002803/0.01765, allocations: 214.7 kB / 296.7 MB, free: 2.062 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.517e-05/0.01773, allocations: 273 kB / 297 MB, free: 1.734 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.01792, allocations: 308.4 kB / 297.3 MB, free: 1.418 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.01795, allocations: 33.7 kB / 297.3 MB, free: 1.379 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.549e-05/0.01801, allocations: 166.2 kB / 297.5 MB, free: 1.215 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.976e-05/0.01807, allocations: 115 kB / 297.6 MB, free: 1.102 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.729e-05/0.01814, allocations: 65.66 kB / 297.7 MB, free: 1.031 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.01834, allocations: 362.7 kB / 298 MB, free: 0.668 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.345e-05/0.01841, allocations: 64.52 kB / 298.1 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.01853, allocations: 225.2 kB / 298.3 MB, free: 312 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.01873, allocations: 272 kB / 298.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01873, allocations: 0 / 298.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0002407/0.01897, allocations: 291.3 kB / 298.8 MB, free: 15.67 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.01901, allocations: 37.69 kB / 298.9 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.01901, allocations: 4 kB / 298.9 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.01902, allocations: 8.562 kB / 298.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.01925, allocations: 103.8 kB / 299 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.01925, allocations: 8 kB / 299 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.01937, allocations: 39.77 kB / 299 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.01939, allocations: 16 kB / 299.1 MB, free: 15.45 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.windFarm.wind.nextTimeEvent,$whenCondition2,windFarm.disturbance.count,$PRE.windFarm.disturbance.count,windFarm.disturbance.T_start,$PRE.windFarm.disturbance.T_start,windFarm.wind.nextTimeEventScaled,$PRE.windFarm.wind.nextTimeEventScaled,windFarm.wind.nextTimeEvent,$whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.314e-05/0.01948, allocations: 153.1 kB / 299.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/0.01952, allocations: 31.97 kB / 299.2 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.01974, allocations: 200.8 kB / 299.4 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.01974, allocations: 15.94 kB / 299.4 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.01975, allocations: 3.984 kB / 299.5 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.01975, allocations: 4 kB / 299.5 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004442/0.02019, allocations: 0.7994 MB / 300.3 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.0202, allocations: 7.938 kB / 300.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.02036, allocations: 79.89 kB / 300.3 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/0.02039, allocations: 35.7 kB / 300.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.0204, allocations: 4.188 kB / 300.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.02042, allocations: 23.98 kB / 300.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.02042, allocations: 4 kB / 300.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.02042, allocations: 3.938 kB / 300.4 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.02063, allocations: 280.8 kB / 300.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.02066, allocations: 19.98 kB / 300.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.144e-05/0.02075, allocations: 19.98 kB / 300.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.33e-05/0.0208, allocations: 35.94 kB / 300.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.02081, allocations: 11.94 kB / 300.8 MB, free: 13.63 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.977e-05/0.0209, allocations: 131.4 kB / 300.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.0209, allocations: 0 / 300.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000243/0.02115, allocations: 115.8 kB / 301 MB, free: 13.38 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,$whenCondition2,$whenCondition1,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled,windFarm.disturbance.T_start,windFarm.disturbance.count) * Number of discrete states: 3 (windFarm.disturbance.count,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001642/0.02279, allocations: 0.7171 MB / 301.7 MB, free: 13.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002388/0.02303, allocations: 266.5 kB / 302 MB, free: 12.79 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/0.02304, allocations: 4 kB / 302 MB, free: 12.78 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.551e-05/0.02313, allocations: 104.6 kB / 302.1 MB, free: 12.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.02337, allocations: 111.3 kB / 302.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00356/0.02693, allocations: 0.7006 MB / 302.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.592e-05/0.02699, allocations: 118 kB / 303 MB, free: 11.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.02711, allocations: 55.25 kB / 303.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.02727, allocations: 127.3 kB / 303.2 MB, free: 11.5 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02727, allocations: 0 / 303.2 MB, free: 11.5 MB / 298.7 MB Notification: Performance of Templates: time 0.008054/0.03532, allocations: 6.133 MB / 309.3 MB, free: 5.441 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.sim & ./PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.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: 2.929991103708744]