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.0009503/0.0009503, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009901/0.0009901, allocations: 162.6 kB / 24.99 MB, free: 8.336 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 0.9628/0.9628, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2472/0.2472, allocations: 29.41 MB / 291.2 MB, free: 2.512 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 1.573e-06/1.573e-06, allocations: 0 / 369.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.574e-05, allocations: 2.312 kB / 369.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.009827/0.009852, allocations: 3.828 MB / 373.4 MB, free: 7.5 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002688/0.01254, allocations: 2.147 MB / 375.6 MB, free: 5.344 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002057/0.01275, allocations: 15.88 kB / 375.6 MB, free: 5.328 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008043/0.01355, allocations: 238.8 kB / 375.8 MB, free: 5.094 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006085/0.01416, allocations: 330.3 kB / 376.2 MB, free: 4.77 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000438/0.0146, allocations: 258.9 kB / 376.4 MB, free: 4.516 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005562/0.01515, allocations: 0.5493 MB / 377 MB, free: 3.965 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000347/0.0155, allocations: 199.8 kB / 377.2 MB, free: 3.77 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004912/0.01599, allocations: 323.1 kB / 377.5 MB, free: 3.453 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002772/0.01627, allocations: 203.5 kB / 377.7 MB, free: 3.254 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.531e-05/0.01632, allocations: 44 kB / 377.7 MB, free: 3.211 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005002/0.01682, allocations: 394.9 kB / 378.1 MB, free: 2.824 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.01697, allocations: 143.5 kB / 378.2 MB, free: 2.684 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.01712, allocations: 131.7 kB / 378.4 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007072/0.01782, allocations: 0.5491 MB / 378.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.01783, allocations: 0 / 378.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01783, allocations: 0 / 378.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.01783, allocations: 4 kB / 378.9 MB, free: 2 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.001001/0.01884, allocations: 0.7943 MB / 379.7 MB, free: 1.156 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.01887, allocations: 15.98 kB / 379.7 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008558/0.01973, allocations: 160.5 kB / 379.9 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/0.02019, allocations: 341 kB / 380.2 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.02021, allocations: 16.88 kB / 380.2 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.283e-05/0.02025, allocations: 24.36 kB / 380.3 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005451/0.0208, allocations: 341 kB / 380.6 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.02081, allocations: 7.875 kB / 380.6 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.02085, allocations: 19.92 kB / 380.6 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.781e-05/0.02088, allocations: 20.48 kB / 380.6 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004973/0.02138, allocations: 254.6 kB / 380.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.02307, allocations: 1.645 MB / 382.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005797/0.02365, allocations: 270 kB / 382.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.02378, allocations: 63.34 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.0238, allocations: 4 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000321/0.02412, allocations: 250 kB / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.723e-06/0.02412, allocations: 0 / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.0006885/0.02481, allocations: 327.2 kB / 383.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.02493, allocations: 294.7 kB / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003692/0.0253, allocations: 379.2 kB / 384.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.02533, allocations: 33.7 kB / 384.1 MB, free: 12.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.02548, allocations: 251.3 kB / 384.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.399e-05/0.02556, allocations: 111.2 kB / 384.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.02567, allocations: 79.3 kB / 384.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.02584, allocations: 0.5157 MB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.02599, allocations: 81.66 kB / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/0.02627, allocations: 297 kB / 385.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004259/0.02669, allocations: 347.4 kB / 385.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.0267, allocations: 4 kB / 385.8 MB, free: 10.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006483/0.02734, allocations: 400.6 kB / 386.2 MB, free: 10.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.471e-05/0.02739, allocations: 41.69 kB / 386.2 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.507e-06/0.0274, allocations: 8.031 kB / 386.2 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.02742, allocations: 11.94 kB / 386.2 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.02771, allocations: 83.89 kB / 386.3 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.02772, allocations: 7.938 kB / 386.3 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.0279, allocations: 43.77 kB / 386.4 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.02793, allocations: 16 kB / 386.4 MB, free: 9.918 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.0001502/0.02808, allocations: 188.4 kB / 386.6 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.818e-05/0.02817, allocations: 55.7 kB / 386.6 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005083/0.02868, allocations: 300.7 kB / 386.9 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.02869, allocations: 15.92 kB / 386.9 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.02869, allocations: 7.938 kB / 386.9 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.0287, allocations: 3.984 kB / 386.9 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008155/0.02952, allocations: 1.214 MB / 388.2 MB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.02952, allocations: 4 kB / 388.2 MB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.02972, allocations: 63.91 kB / 388.2 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.02973, allocations: 8.188 kB / 388.2 MB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.02976, allocations: 15.98 kB / 388.2 MB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.02976, allocations: 4 kB / 388.2 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.02976, allocations: 4 kB / 388.2 MB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005481/0.03031, allocations: 412.8 kB / 388.7 MB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.03036, allocations: 43.69 kB / 388.7 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.561e-05/0.03042, allocations: 16 kB / 388.7 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.03056, allocations: 15.98 kB / 388.7 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.2e-05/0.03065, allocations: 43.88 kB / 388.8 MB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.03068, allocations: 23.92 kB / 388.8 MB, free: 7.359 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002146/0.03089, allocations: 247 kB / 389 MB, free: 7.121 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.03089, allocations: 0 / 389 MB, free: 7.121 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004407/0.03133, allocations: 119.8 kB / 389.2 MB, free: 7.004 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.001289/0.03262, allocations: 0.5068 MB / 389.7 MB, free: 6.684 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004865/0.03311, allocations: 300.3 kB / 390 MB, free: 6.367 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.03311, allocations: 0 / 390 MB, free: 6.367 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.03332, allocations: 124.9 kB / 390.1 MB, free: 6.242 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.03374, allocations: 91.14 kB / 390.2 MB, free: 6.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.03523, allocations: 0.699 MB / 390.9 MB, free: 5.398 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.03534, allocations: 130 kB / 391 MB, free: 5.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002078/0.03555, allocations: 79.22 kB / 391.1 MB, free: 5.168 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.03567, allocations: 48.47 kB / 391.1 MB, free: 5.121 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.03567, allocations: 0 / 391.1 MB, free: 5.121 MB / 362.7 MB Notification: Performance of Templates: time 0.008812/0.04448, allocations: 5.598 MB / 396.7 MB, free: 15.58 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.1170454029925168]