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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 250.8 MB, free: 13.4 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1835/0.1835, allocations: 38.53 MB / 344.5 MB, free: 2.605 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|windFarm.p.1.|windFarm.p.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|windFarm.p.1.|windFarm.p.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 67.88 kB / 482.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3738, allocations: 61.25 MB / 0.5306 GB, free: 5.516 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.004932/0.3787, allocations: 3.786 MB / 0.5343 GB, free: 2.863 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002643/0.3813, allocations: 2.071 MB / 0.5363 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002089/0.3815, allocations: 10.81 kB / 0.5363 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008794/0.3824, allocations: 241.9 kB / 0.5365 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006149/0.383, allocations: 283.2 kB / 0.5368 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000682/0.3837, allocations: 295.4 kB / 0.5371 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005439/0.3843, allocations: 0.5214 MB / 0.5376 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003044/0.3846, allocations: 158.2 kB / 0.5377 GB, free: 400 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000392/0.385, allocations: 242.6 kB / 0.538 GB, free: 244 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.3852, allocations: 225.3 kB / 0.5382 GB, free: 92 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.25e-05/0.3853, allocations: 38.5 kB / 0.5382 GB, free: 92 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006684/0.3859, allocations: 400.6 kB / 0.5386 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.3861, allocations: 132.8 kB / 0.5387 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002376/0.3863, allocations: 186.5 kB / 0.5389 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.3873, allocations: 0.6368 MB / 0.5395 GB, free: 15.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3873, allocations: 0 / 0.5395 GB, free: 15.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3873, allocations: 0 / 0.5395 GB, free: 15.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.3873, allocations: 5.531 kB / 0.5395 GB, free: 15.23 MB / 398.1 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.001482/0.3888, allocations: 0.7574 MB / 0.5403 GB, free: 14.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.3889, allocations: 13.89 kB / 0.5403 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009242/0.3898, allocations: 108.2 kB / 0.5404 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006735/0.3905, allocations: 429 kB / 0.5408 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.3905, allocations: 14.41 kB / 0.5408 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.439e-05/0.3905, allocations: 27.53 kB / 0.5408 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008933/0.3914, allocations: 445.4 kB / 0.5413 GB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.3914, allocations: 1.375 kB / 0.5413 GB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/0.3915, allocations: 10.67 kB / 0.5413 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.892e-05/0.3915, allocations: 18.31 kB / 0.5413 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.3926, allocations: 0.4961 MB / 0.5418 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002304/0.3949, allocations: 1.686 MB / 0.5434 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009297/0.3958, allocations: 349 kB / 0.5438 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003585/0.3961, allocations: 135.5 kB / 0.5439 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.279e-05/0.3962, allocations: 10.27 kB / 0.5439 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005885/0.3968, allocations: 285.9 kB / 0.5442 GB, free: 11.6 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 4.529e-06/0.3968, allocations: 4 kB / 0.5442 GB, free: 11.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.001396/0.3982, allocations: 0.5269 MB / 0.5447 GB, free: 11.33 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002061/0.3984, allocations: 309.3 kB / 0.545 GB, free: 10.97 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004045/0.3988, allocations: 327.4 kB / 0.5453 GB, free: 10.76 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.477e-05/0.3988, allocations: 38.3 kB / 0.5453 GB, free: 10.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/0.3991, allocations: 191.4 kB / 0.5455 GB, free: 10.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.3992, allocations: 115.8 kB / 0.5456 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.3993, allocations: 65.42 kB / 0.5457 GB, free: 10.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002638/0.3996, allocations: 351.8 kB / 0.546 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003661/0.4, allocations: 135.9 kB / 0.5462 GB, free: 10 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004651/0.4004, allocations: 279 kB / 0.5464 GB, free: 9.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008572/0.4013, allocations: 460 kB / 0.5469 GB, free: 9.395 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.4013, allocations: 1.906 kB / 0.5469 GB, free: 9.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001084/0.4024, allocations: 0.5119 MB / 0.5474 GB, free: 9.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.921e-05/0.4024, allocations: 37.7 kB / 0.5474 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.4024, allocations: 3.562 kB / 0.5474 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.4025, allocations: 7.469 kB / 0.5474 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/0.4028, allocations: 91.94 kB / 0.5475 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.4028, allocations: 6.719 kB / 0.5475 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002965/0.4031, allocations: 50.97 kB / 0.5475 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/0.4031, allocations: 18.38 kB / 0.5476 GB, free: 9.02 MB / 398.1 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 0.0002957/0.4034, allocations: 211.7 kB / 0.5478 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.71e-05/0.4035, allocations: 40.95 kB / 0.5478 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009725/0.4045, allocations: 401.6 kB / 0.5482 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.4045, allocations: 5.375 kB / 0.5482 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.4045, allocations: 2.469 kB / 0.5482 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4045, allocations: 2.906 kB / 0.5482 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.4055, allocations: 1.033 MB / 0.5492 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.4055, allocations: 2.5 kB / 0.5492 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.4058, allocations: 63.64 kB / 0.5493 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.4058, allocations: 3.156 kB / 0.5493 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.4058, allocations: 14.34 kB / 0.5493 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.4058, allocations: 2.844 kB / 0.5493 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.4058, allocations: 2.594 kB / 0.5493 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009433/0.4068, allocations: 466.7 kB / 0.5497 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.687e-05/0.4069, allocations: 111.7 kB / 0.5498 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.463e-05/0.4069, allocations: 22.83 kB / 0.5499 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.4071, allocations: 28.44 kB / 0.5499 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.4072, allocations: 44.28 kB / 0.5499 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.29e-05/0.4073, allocations: 15.52 kB / 0.55 GB, free: 7.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000259/0.4075, allocations: 236.5 kB / 0.5502 GB, free: 6.957 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4075, allocations: 0 / 0.5502 GB, free: 6.957 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004154/0.4079, allocations: 87.86 kB / 0.5503 GB, free: 6.938 MB / 398.1 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 (31): * Single equations (assignments): 26 * 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.001599/0.4095, allocations: 474 kB / 0.5507 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009073/0.4104, allocations: 403.2 kB / 0.5511 GB, free: 6.488 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4104, allocations: 0 / 0.5511 GB, free: 6.488 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004502/0.4109, allocations: 195.7 kB / 0.5513 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.4113, allocations: 75.25 kB / 0.5514 GB, free: 6.359 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.4128, allocations: 0.7043 MB / 0.552 GB, free: 5.863 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.4132, allocations: 0.8083 MB / 0.5528 GB, free: 5.105 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000242/0.4135, allocations: 85.55 kB / 0.5529 GB, free: 5.066 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.4136, allocations: 47.77 kB / 0.553 GB, free: 5.047 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4136, allocations: 0 / 0.553 GB, free: 5.047 MB / 398.1 MB Notification: Performance of Templates: time 0.01011/0.4237, allocations: 4.794 MB / 0.5576 GB, free: 388 kB / 398.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.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.130290541797876]