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.0009525/0.0009525, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009941/0.0009941, allocations: 169.9 kB / 24.91 MB, free: 8.723 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 1.105/1.105, allocations: 177.1 MB / 205.3 MB, free: 5.09 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.2319/0.2319, allocations: 29.42 MB / 291.2 MB, free: 2.43 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.PowerWorld.Test.WindFarmGridTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|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="Time|windFarm.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.618e-05, allocations: 2.312 kB / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.005503/0.005529, allocations: 3.762 MB / 320.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005787/0.01132, allocations: 1.785 MB / 322.4 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.01151, allocations: 11.94 kB / 322.4 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006113/0.01212, allocations: 179 kB / 322.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005941/0.01271, allocations: 282.4 kB / 322.9 MB, free: 9.938 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004857/0.0132, allocations: 262.9 kB / 323.1 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003622/0.01682, allocations: 0.538 MB / 323.7 MB, free: 9.141 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003281/0.01715, allocations: 206.4 kB / 323.9 MB, free: 8.938 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005333/0.01768, allocations: 319.1 kB / 324.2 MB, free: 8.625 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002908/0.01798, allocations: 203.4 kB / 324.4 MB, free: 8.426 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.132e-05/0.01803, allocations: 40 kB / 324.4 MB, free: 8.387 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006045/0.01863, allocations: 347.2 kB / 324.8 MB, free: 8.047 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.01876, allocations: 139.6 kB / 324.9 MB, free: 7.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.01888, allocations: 135.6 kB / 325 MB, free: 7.777 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00373/0.02261, allocations: 0.5218 MB / 325.6 MB, free: 7.254 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.02262, allocations: 0 / 325.6 MB, free: 7.254 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.02262, allocations: 0 / 325.6 MB, free: 7.254 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.02263, allocations: 0 / 325.6 MB, free: 7.254 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008857/0.02351, allocations: 0.6575 MB / 326.2 MB, free: 6.559 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.02355, allocations: 15.98 kB / 326.2 MB, free: 6.543 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007829/0.02433, allocations: 144.7 kB / 326.4 MB, free: 6.402 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004564/0.02479, allocations: 306.3 kB / 326.7 MB, free: 6.074 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.02482, allocations: 24.86 kB / 326.7 MB, free: 6.051 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.469e-05/0.02486, allocations: 24.36 kB / 326.7 MB, free: 6.027 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003534/0.02839, allocations: 315.9 kB / 327 MB, free: 5.688 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.02841, allocations: 3.938 kB / 327 MB, free: 5.684 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.02843, allocations: 8 kB / 327 MB, free: 5.676 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.832e-05/0.02847, allocations: 28.36 kB / 327.1 MB, free: 5.645 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000302/0.02878, allocations: 178 kB / 327.2 MB, free: 5.469 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.03009, allocations: 1.186 MB / 328.4 MB, free: 4.215 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004103/0.0305, allocations: 263.8 kB / 328.7 MB, free: 3.938 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.652e-05/0.03058, allocations: 46.17 kB / 328.7 MB, free: 3.887 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.0306, allocations: 7.984 kB / 328.7 MB, free: 3.879 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002522/0.03085, allocations: 213.7 kB / 329 MB, free: 3.629 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.513e-06/0.03085, allocations: 0 / 329 MB, free: 3.629 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.003377/0.03423, allocations: 215.1 kB / 329.2 MB, free: 3.414 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.03434, allocations: 294.7 kB / 329.5 MB, free: 3.059 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.0346, allocations: 308.5 kB / 329.8 MB, free: 2.742 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.03463, allocations: 37.7 kB / 329.8 MB, free: 2.699 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.08e-05/0.03472, allocations: 173.2 kB / 330 MB, free: 2.527 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.13e-05/0.03479, allocations: 107.1 kB / 330.1 MB, free: 2.422 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.316e-05/0.03489, allocations: 70.38 kB / 330.1 MB, free: 2.348 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.03499, allocations: 354.7 kB / 330.5 MB, free: 1.992 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.215e-05/0.03508, allocations: 69.23 kB / 330.5 MB, free: 1.918 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.03525, allocations: 220.5 kB / 330.8 MB, free: 1.629 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/0.03551, allocations: 283.9 kB / 331 MB, free: 1.285 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.03551, allocations: 4 kB / 331 MB, free: 1.281 MB / 298.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003256/0.03583, allocations: 283.3 kB / 331.3 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/0.03587, allocations: 33.7 kB / 331.4 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.03588, allocations: 4 kB / 331.4 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.03589, allocations: 8 kB / 331.4 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/0.03619, allocations: 100.3 kB / 331.5 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.0362, allocations: 8 kB / 331.5 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.03638, allocations: 43.77 kB / 331.5 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.03641, allocations: 15.98 kB / 331.5 MB, free: 0.7695 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 0.0001322/0.03655, allocations: 144.5 kB / 331.7 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.393e-05/0.03661, allocations: 31.97 kB / 331.7 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003587/0.03697, allocations: 208.6 kB / 331.9 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.03698, allocations: 15.88 kB / 331.9 MB, free: 368 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.03698, allocations: 4 kB / 331.9 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.03699, allocations: 4 kB / 331.9 MB, free: 360 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003662/0.04065, allocations: 0.7956 MB / 332.7 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.04066, allocations: 7.938 kB / 332.7 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.04088, allocations: 71.89 kB / 332.8 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.04089, allocations: 4 kB / 332.8 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.04091, allocations: 12 kB / 332.8 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.04092, allocations: 12.11 kB / 332.8 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.04092, allocations: 8 kB / 332.8 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.04123, allocations: 272.6 kB / 333.1 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.156e-05/0.04127, allocations: 35.7 kB / 333.1 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.887e-05/0.04132, allocations: 19.98 kB / 333.2 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.04143, allocations: 19.98 kB / 333.2 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.382e-05/0.04151, allocations: 35.94 kB / 333.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.04153, allocations: 8 kB / 333.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001292/0.04166, allocations: 127.4 kB / 333.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04166, allocations: 4 kB / 333.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003814/0.04204, allocations: 115.8 kB / 333.5 MB, free: 14.72 MB / 314.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.004738/0.04678, allocations: 0.6437 MB / 334.1 MB, free: 14.42 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003359/0.04712, allocations: 258.5 kB / 334.4 MB, free: 14.15 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/0.04712, allocations: 4 kB / 334.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.04725, allocations: 96.88 kB / 334.5 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.04757, allocations: 104.7 kB / 334.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004423/0.05199, allocations: 0.67 MB / 335.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.627e-05/0.05209, allocations: 118.1 kB / 335.3 MB, free: 13.1 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001773/0.05227, allocations: 63.22 kB / 335.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.05249, allocations: 127.3 kB / 335.5 MB, free: 12.92 MB / 314.7 MB Notification: Performance of SimCode: time 1.233e-06/0.05249, allocations: 4 kB / 335.5 MB, free: 12.91 MB / 314.7 MB Notification: Performance of Templates: time 0.01504/0.06753, allocations: 6.015 MB / 341.5 MB, free: 6.98 MB / 314.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 -s gbode -gbm=radauIIA3 -emit_protected -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: 3.2438556230627]