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.001125/0.001125, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.001156/0.001156, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.001/1.001, allocations: 177.1 MB / 205 MB, free: 5.613 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.2324/0.2324, allocations: 29.42 MB / 290.9 MB, free: 2.477 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 2.004e-06/2.004e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.929e-05/3.129e-05, allocations: 2.312 kB / 369.7 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.004625/0.004656, allocations: 3.725 MB / 373.4 MB, free: 7.242 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002409/0.007065, allocations: 1.765 MB / 375.1 MB, free: 5.469 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.007249, allocations: 15.88 kB / 375.2 MB, free: 5.453 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005617/0.00781, allocations: 195 kB / 375.3 MB, free: 5.262 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005555/0.008366, allocations: 286.5 kB / 375.6 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004587/0.008825, allocations: 255 kB / 375.9 MB, free: 4.73 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004761/0.009301, allocations: 0.5453 MB / 376.4 MB, free: 4.184 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002836/0.009584, allocations: 191.8 kB / 376.6 MB, free: 3.996 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004578/0.01004, allocations: 323.1 kB / 376.9 MB, free: 3.68 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002627/0.0103, allocations: 207.5 kB / 377.1 MB, free: 3.477 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.732e-05/0.01035, allocations: 44 kB / 377.2 MB, free: 3.434 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004486/0.0108, allocations: 339.1 kB / 377.5 MB, free: 3.102 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.01091, allocations: 139.6 kB / 377.6 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.01103, allocations: 135.7 kB / 377.8 MB, free: 2.832 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000632/0.01166, allocations: 0.5256 MB / 378.3 MB, free: 2.305 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.01167, allocations: 0 / 378.3 MB, free: 2.305 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01167, allocations: 4 kB / 378.3 MB, free: 2.301 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.01167, allocations: 4 kB / 378.3 MB, free: 2.297 MB / 346.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.001068/0.01274, allocations: 0.7788 MB / 379.1 MB, free: 1.469 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.01278, allocations: 11.98 kB / 379.1 MB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005791/0.01336, allocations: 160.5 kB / 379.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003739/0.01373, allocations: 349 kB / 379.6 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.01375, allocations: 16.86 kB / 379.6 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/0.01378, allocations: 24.38 kB / 379.6 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004371/0.01422, allocations: 344.9 kB / 380 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.01423, allocations: 3.938 kB / 380 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.01425, allocations: 11.98 kB / 380 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.912e-05/0.01428, allocations: 16.5 kB / 380 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003272/0.01461, allocations: 266.6 kB / 380.3 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.0159, allocations: 1.641 MB / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004245/0.01632, allocations: 262.8 kB / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.524e-05/0.01642, allocations: 71.81 kB / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.01643, allocations: 7.984 kB / 382.2 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002403/0.01667, allocations: 246 kB / 382.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 2.896e-06/0.01668, allocations: 0 / 382.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.0004943/0.01717, allocations: 332.7 kB / 382.8 MB, free: 13.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.01727, allocations: 290.7 kB / 383.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.01753, allocations: 374.1 kB / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.01755, allocations: 41.73 kB / 383.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.01766, allocations: 251.3 kB / 383.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.079e-05/0.01773, allocations: 103.2 kB / 383.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.93e-05/0.01781, allocations: 79.3 kB / 383.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.01793, allocations: 0.5196 MB / 384.4 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.01805, allocations: 85.59 kB / 384.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.01823, allocations: 300 kB / 384.8 MB, free: 11.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/0.01851, allocations: 347.5 kB / 385.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.01852, allocations: 0 / 385.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000623/0.01914, allocations: 408.6 kB / 385.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.01917, allocations: 33.7 kB / 385.6 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.01917, allocations: 4 kB / 385.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.01919, allocations: 11.88 kB / 385.6 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.01937, allocations: 87.83 kB / 385.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.01938, allocations: 8 kB / 385.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.0195, allocations: 39.77 kB / 385.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.01953, allocations: 20 kB / 385.7 MB, free: 10.23 MB / 362.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.0001172/0.01964, allocations: 200.4 kB / 385.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.399e-05/0.0197, allocations: 47.77 kB / 386 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003674/0.02006, allocations: 300.8 kB / 386.3 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.02007, allocations: 11.94 kB / 386.3 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.02007, allocations: 0 / 386.3 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.02008, allocations: 7.984 kB / 386.3 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006188/0.0207, allocations: 1.218 MB / 387.5 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.0207, allocations: 4.188 kB / 387.5 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/0.0209, allocations: 67.91 kB / 387.6 MB, free: 8.297 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.0209, allocations: 7.984 kB / 387.6 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.02092, allocations: 11.98 kB / 387.6 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.02092, allocations: 4 kB / 387.6 MB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.02093, allocations: 7.938 kB / 387.6 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/0.0213, allocations: 408.9 kB / 388 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/0.02134, allocations: 47.69 kB / 388.1 MB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.02138, allocations: 12 kB / 388.1 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.886e-05/0.02147, allocations: 23.98 kB / 388.1 MB, free: 7.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.717e-05/0.02154, allocations: 39.88 kB / 388.1 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.02156, allocations: 23.92 kB / 388.2 MB, free: 7.668 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001515/0.02171, allocations: 251 kB / 388.4 MB, free: 7.426 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02171, allocations: 0 / 388.4 MB, free: 7.426 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003052/0.02202, allocations: 115.8 kB / 388.5 MB, free: 7.312 MB / 362.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.0009673/0.02298, allocations: 0.5097 MB / 389 MB, free: 6.988 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003495/0.02333, allocations: 297.2 kB / 389.3 MB, free: 6.676 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.02334, allocations: 0 / 389.3 MB, free: 6.676 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.02347, allocations: 131.6 kB / 389.5 MB, free: 6.543 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.02377, allocations: 73.09 kB / 389.5 MB, free: 6.473 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.02491, allocations: 0.6996 MB / 390.2 MB, free: 5.711 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.976e-05/0.02498, allocations: 118 kB / 390.3 MB, free: 5.574 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001442/0.02512, allocations: 79.2 kB / 390.4 MB, free: 5.492 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.254e-05/0.02521, allocations: 52.47 kB / 390.5 MB, free: 5.441 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.02521, allocations: 0 / 390.5 MB, free: 5.441 MB / 362.7 MB Notification: Performance of Templates: time 0.008186/0.0334, allocations: 6.003 MB / 396.5 MB, free: 15.5 MB / 378.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 -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.248236086219549]