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.001256/0.001256, allocations: 83.58 kB / 21.18 MB, free: 3.387 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.001098/0.001098, allocations: 161 kB / 24.56 MB, free: 20 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.016/1.016, allocations: 177.1 MB / 205 MB, free: 5.605 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.2363/0.2363, allocations: 29.42 MB / 290.9 MB, free: 2.508 MB / 266.7 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.[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.285e-06/2.285e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.184e-05/3.413e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.006225/0.006259, allocations: 3.722 MB / 373.4 MB, free: 7.246 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0036/0.009859, allocations: 1.757 MB / 375.1 MB, free: 5.48 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002944/0.01015, allocations: 11.88 kB / 375.1 MB, free: 5.469 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.01119, allocations: 203 kB / 375.3 MB, free: 5.27 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008715/0.01206, allocations: 290.5 kB / 375.6 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007483/0.01281, allocations: 254.9 kB / 375.9 MB, free: 4.734 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006978/0.0135, allocations: 0.5415 MB / 376.4 MB, free: 4.191 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004191/0.01392, allocations: 195.8 kB / 376.6 MB, free: 4 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006679/0.01459, allocations: 323.1 kB / 376.9 MB, free: 3.684 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003789/0.01497, allocations: 203.5 kB / 377.1 MB, free: 3.484 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.825e-05/0.01505, allocations: 40 kB / 377.1 MB, free: 3.445 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007173/0.01576, allocations: 347.1 kB / 377.5 MB, free: 3.105 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.01592, allocations: 143.6 kB / 377.6 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.0161, allocations: 131.7 kB / 377.7 MB, free: 2.836 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009038/0.017, allocations: 0.5256 MB / 378.3 MB, free: 2.309 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.01701, allocations: 0 / 378.3 MB, free: 2.309 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.01701, allocations: 0 / 378.3 MB, free: 2.309 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.01702, allocations: 0 / 378.3 MB, free: 2.309 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.001043/0.01806, allocations: 0.7867 MB / 379.1 MB, free: 1.473 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.0181, allocations: 11.98 kB / 379.1 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006101/0.01871, allocations: 156.5 kB / 379.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004076/0.01912, allocations: 353 kB / 379.6 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.01914, allocations: 16.88 kB / 379.6 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.706e-05/0.01918, allocations: 24.38 kB / 379.6 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004598/0.01964, allocations: 344.9 kB / 379.9 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.01965, allocations: 3.938 kB / 380 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.01968, allocations: 11.98 kB / 380 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.101e-05/0.01971, allocations: 16.5 kB / 380 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003522/0.02006, allocations: 254.6 kB / 380.2 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.0216, allocations: 1.649 MB / 381.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004514/0.02205, allocations: 266.8 kB / 382.1 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.02215, allocations: 67.75 kB / 382.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.02218, allocations: 7.984 kB / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002711/0.02245, allocations: 250 kB / 382.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.473e-06/0.02245, allocations: 0 / 382.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005257/0.02298, allocations: 327.8 kB / 382.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.963e-05/0.02308, allocations: 294.7 kB / 383.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.02335, allocations: 375.1 kB / 383.4 MB, free: 12.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.02338, allocations: 41.64 kB / 383.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.0235, allocations: 251.3 kB / 383.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.099e-05/0.02356, allocations: 107.2 kB / 383.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.239e-05/0.02364, allocations: 79.3 kB / 383.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.02377, allocations: 0.5235 MB / 384.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.02389, allocations: 77.67 kB / 384.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.02407, allocations: 297 kB / 384.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.02437, allocations: 343.4 kB / 385.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.02437, allocations: 8 kB / 385.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000429/0.0248, allocations: 404.6 kB / 385.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/0.02484, allocations: 37.69 kB / 385.6 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.02485, allocations: 8.031 kB / 385.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.02487, allocations: 7.938 kB / 385.6 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.02506, allocations: 87.83 kB / 385.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.02507, allocations: 8 kB / 385.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.0252, allocations: 39.77 kB / 385.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.02523, 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.0001278/0.02535, allocations: 196.3 kB / 385.9 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.722e-05/0.02541, allocations: 51.77 kB / 386 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003943/0.02581, allocations: 300.8 kB / 386.3 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.02581, allocations: 7.938 kB / 386.3 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.02582, allocations: 4 kB / 386.3 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.02583, allocations: 7.984 kB / 386.3 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006594/0.02649, allocations: 1.21 MB / 387.5 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.02649, allocations: 0 / 387.5 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.02664, allocations: 67.91 kB / 387.6 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.02664, allocations: 8.188 kB / 387.6 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.02666, allocations: 15.98 kB / 387.6 MB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.02667, allocations: 4 kB / 387.6 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.02667, allocations: 3.938 kB / 387.6 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005412/0.02721, allocations: 416.8 kB / 388 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.02725, allocations: 43.69 kB / 388 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.02729, allocations: 16 kB / 388.1 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.25e-05/0.02738, allocations: 19.98 kB / 388.1 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.386e-05/0.02746, allocations: 43.94 kB / 388.1 MB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.02748, allocations: 23.92 kB / 388.1 MB, free: 7.672 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001583/0.02764, allocations: 251 kB / 388.4 MB, free: 7.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02764, allocations: 0 / 388.4 MB, free: 7.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003155/0.02795, allocations: 115.8 kB / 388.5 MB, free: 7.316 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.001061/0.02901, allocations: 0.507 MB / 389 MB, free: 7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003645/0.02938, allocations: 300.2 kB / 389.3 MB, free: 6.684 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.02938, allocations: 4 kB / 389.3 MB, free: 6.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.02952, allocations: 124.9 kB / 389.4 MB, free: 6.555 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.02984, allocations: 90.47 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.001216/0.03105, allocations: 0.6952 MB / 390.2 MB, free: 5.715 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.453e-05/0.03113, allocations: 126 kB / 390.3 MB, free: 5.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000147/0.03127, allocations: 75.22 kB / 390.4 MB, free: 5.492 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.368e-05/0.03137, allocations: 52.41 kB / 390.5 MB, free: 5.441 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.03137, allocations: 0 / 390.5 MB, free: 5.441 MB / 362.7 MB Notification: Performance of Templates: time 0.01155/0.04292, allocations: 5.596 MB / 396.1 MB, free: 15.89 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.4497197940945625]