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.001602/0.001602, allocations: 107.1 kB / 20.44 MB, free: 1.195 MB / 14.72 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.001634/0.001634, allocations: 206.5 kB / 23.73 MB, free: 4.402 MB / 14.72 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.536/1.536, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 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.2438/0.2438, allocations: 38.55 MB / 352.5 MB, free: 12.33 MB / 286.1 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.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 67.91 kB / 493 MB, free: 4.227 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3716, allocations: 62.47 MB / 0.5424 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.006266/0.3779, allocations: 3.666 MB / 0.546 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004194/0.382, allocations: 2.052 MB / 0.548 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002447/0.3823, allocations: 15.38 kB / 0.548 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.3833, allocations: 230.1 kB / 0.5482 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.3844, allocations: 327.6 kB / 0.5486 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008395/0.3852, allocations: 265.5 kB / 0.5488 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008293/0.386, allocations: 0.5325 MB / 0.5493 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004644/0.3865, allocations: 194.1 kB / 0.5495 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005515/0.3871, allocations: 247.4 kB / 0.5497 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000371/0.3874, allocations: 216.3 kB / 0.55 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.128e-05/0.3875, allocations: 41.47 kB / 0.55 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008542/0.3884, allocations: 390.8 kB / 0.5504 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.3885, allocations: 137.2 kB / 0.5505 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001976/0.3887, allocations: 161.7 kB / 0.5507 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.3897, allocations: 0.6924 MB / 0.5513 GB, free: 9.824 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3898, allocations: 0 / 0.5513 GB, free: 9.824 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3898, allocations: 0 / 0.5513 GB, free: 9.824 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.3898, allocations: 3.938 kB / 0.5513 GB, free: 9.82 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.001553/0.3913, allocations: 0.7099 MB / 0.552 GB, free: 9.215 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/0.3914, allocations: 16.42 kB / 0.552 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.3924, allocations: 108.8 kB / 0.5521 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006535/0.3931, allocations: 327.8 kB / 0.5525 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.3931, allocations: 14.69 kB / 0.5525 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.763e-05/0.3931, allocations: 34.92 kB / 0.5525 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009665/0.3941, allocations: 482.7 kB / 0.553 GB, free: 8.531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.3941, allocations: 5.125 kB / 0.553 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.416e-05/0.3942, allocations: 10.22 kB / 0.553 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.563e-05/0.3942, allocations: 22.52 kB / 0.553 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.3954, allocations: 0.5487 MB / 0.5535 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002346/0.3978, allocations: 1.562 MB / 0.5551 GB, free: 6.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.3989, allocations: 395.2 kB / 0.5554 GB, free: 6.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003809/0.3993, allocations: 146.5 kB / 0.5556 GB, free: 6.566 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.3993, allocations: 4 kB / 0.5556 GB, free: 6.562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000636/0.3999, allocations: 302.7 kB / 0.5559 GB, free: 6.227 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 2.434e-06/0.3999, allocations: 4 kB / 0.5559 GB, free: 6.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.001514/0.4014, allocations: 0.5708 MB / 0.5564 GB, free: 5.648 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001848/0.4016, allocations: 294.7 kB / 0.5567 GB, free: 5.293 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004973/0.4021, allocations: 376.5 kB / 0.5571 GB, free: 4.918 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.925e-05/0.4022, allocations: 41.69 kB / 0.5571 GB, free: 4.871 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.4023, allocations: 196.6 kB / 0.5573 GB, free: 4.672 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.4024, allocations: 107.2 kB / 0.5574 GB, free: 4.566 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.4026, allocations: 77.64 kB / 0.5575 GB, free: 4.484 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.4027, allocations: 346.8 kB / 0.5578 GB, free: 4.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004278/0.4032, allocations: 177.6 kB / 0.558 GB, free: 3.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005412/0.4037, allocations: 348.5 kB / 0.5583 GB, free: 3.543 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000944/0.4046, allocations: 489.6 kB / 0.5588 GB, free: 3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.4047, allocations: 4 kB / 0.5588 GB, free: 2.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001202/0.4059, allocations: 0.5668 MB / 0.5593 GB, free: 2.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.196e-05/0.4059, allocations: 44.28 kB / 0.5594 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.4059, allocations: 4 kB / 0.5594 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.4059, allocations: 8 kB / 0.5594 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000354/0.4063, allocations: 83.89 kB / 0.5595 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.4063, allocations: 16.17 kB / 0.5595 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003042/0.4066, allocations: 55.75 kB / 0.5595 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.4067, allocations: 16 kB / 0.5596 GB, free: 2.184 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.0002382/0.4069, allocations: 189.8 kB / 0.5597 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-05/0.407, allocations: 39.7 kB / 0.5598 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.4081, allocations: 476.5 kB / 0.5602 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.4081, allocations: 8 kB / 0.5602 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.4081, allocations: 0 / 0.5602 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.4081, allocations: 7.984 kB / 0.5602 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.4092, allocations: 0.9562 MB / 0.5612 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4092, allocations: 3.938 kB / 0.5612 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003055/0.4095, allocations: 80.08 kB / 0.5613 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.4095, allocations: 4 kB / 0.5613 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.4095, allocations: 11.98 kB / 0.5613 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.4095, allocations: 4 kB / 0.5613 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.4095, allocations: 4 kB / 0.5613 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.4107, allocations: 0.538 MB / 0.5618 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.001e-05/0.4107, allocations: 43.7 kB / 0.5618 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.443e-05/0.4108, allocations: 23.98 kB / 0.5619 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.411, allocations: 31.97 kB / 0.5619 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.4112, allocations: 39.81 kB / 0.5619 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.803e-05/0.4112, allocations: 20 kB / 0.562 GB, free: 15.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000343/0.4115, allocations: 271 kB / 0.5622 GB, free: 15.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4115, allocations: 0 / 0.5622 GB, free: 15.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005306/0.4121, allocations: 115.8 kB / 0.5623 GB, free: 15.22 MB / 414.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 (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.001997/0.4141, allocations: 0.5395 MB / 0.5628 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001172/0.4152, allocations: 473.4 kB / 0.5633 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.4152, allocations: 320 / 0.5633 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005404/0.4158, allocations: 215.7 kB / 0.5635 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/0.4163, allocations: 89.72 kB / 0.5636 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.4179, allocations: 0.7606 MB / 0.5643 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.4182, allocations: 209.6 kB / 0.5645 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002579/0.4184, allocations: 91.2 kB / 0.5646 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.4186, allocations: 47.42 kB / 0.5647 GB, free: 12.95 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4186, allocations: 0 / 0.5647 GB, free: 12.95 MB / 414.1 MB Notification: Performance of Templates: time 0.0121/0.4307, allocations: 5.896 MB / 0.5704 GB, free: 7.121 MB / 414.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.645338151603937]