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.001386/0.001386, allocations: 88.31 kB / 20.96 MB, free: 3.48 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.001557/0.001557, allocations: 161.7 kB / 24.26 MB, free: 180 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.464/1.464, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 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.2944/0.2944, allocations: 29.42 MB / 290.5 MB, free: 2.445 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.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: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.723e-05, allocations: 2.312 kB / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.005855/0.005882, allocations: 3.672 MB / 372.5 MB, free: 7.645 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003773/0.009656, allocations: 2.054 MB / 374.6 MB, free: 5.582 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002071/0.009863, allocations: 11.88 kB / 374.6 MB, free: 5.57 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009264/0.01079, allocations: 230.8 kB / 374.8 MB, free: 5.344 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008813/0.01167, allocations: 330.3 kB / 375.2 MB, free: 5.02 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006622/0.01233, allocations: 259 kB / 375.4 MB, free: 4.766 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007555/0.01309, allocations: 0.5453 MB / 376 MB, free: 4.219 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004448/0.01353, allocations: 199.8 kB / 376.2 MB, free: 4.023 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006389/0.01417, allocations: 323.2 kB / 376.5 MB, free: 3.707 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003576/0.01453, allocations: 207.4 kB / 376.7 MB, free: 3.504 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.753e-05/0.0146, allocations: 40 kB / 376.7 MB, free: 3.465 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008591/0.01546, allocations: 391 kB / 377.1 MB, free: 3.082 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.01563, allocations: 139.6 kB / 377.2 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001896/0.01582, allocations: 135.7 kB / 377.4 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.01685, allocations: 0.7283 MB / 378.1 MB, free: 2.082 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.01685, allocations: 0 / 378.1 MB, free: 2.082 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.01686, allocations: 0 / 378.1 MB, free: 2.082 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.01686, allocations: 0 / 378.1 MB, free: 2.082 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.001452/0.01831, allocations: 0.7099 MB / 378.8 MB, free: 1.328 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.01835, allocations: 15.98 kB / 378.8 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.01939, allocations: 164.5 kB / 379 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006125/0.02, allocations: 337.6 kB / 379.3 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.02003, allocations: 12.88 kB / 379.3 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.633e-05/0.0201, allocations: 36.28 kB / 379.4 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009863/0.02108, allocations: 477.1 kB / 379.8 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.0211, allocations: 11.81 kB / 379.8 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-05/0.02115, allocations: 15.98 kB / 379.8 MB, free: 228 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/0.02119, allocations: 12.5 kB / 379.9 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.02243, allocations: 0.5483 MB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002459/0.02489, allocations: 1.566 MB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.02607, allocations: 392.9 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004191/0.02649, allocations: 149.6 kB / 382.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.02652, allocations: 11.98 kB / 382.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006725/0.02719, allocations: 302.8 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.783e-06/0.0272, allocations: 0 / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.001628/0.02882, allocations: 0.5739 MB / 383.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002198/0.02904, allocations: 294.7 kB / 383.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006167/0.02966, allocations: 384.4 kB / 384 MB, free: 11.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.975e-05/0.02971, allocations: 37.7 kB / 384.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.0299, allocations: 196.6 kB / 384.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.03003, allocations: 111.1 kB / 384.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.03016, allocations: 70.05 kB / 384.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.03036, allocations: 346.8 kB / 384.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004605/0.03082, allocations: 177.6 kB / 385 MB, free: 10.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006102/0.03143, allocations: 356.3 kB / 385.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.03244, allocations: 485.6 kB / 385.8 MB, free: 9.891 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.03245, allocations: 4 kB / 385.8 MB, free: 9.887 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001355/0.0338, allocations: 0.582 MB / 386.4 MB, free: 9.285 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.726e-05/0.03385, allocations: 38.25 kB / 386.4 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.03386, allocations: 4 kB / 386.4 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.835e-05/0.03389, allocations: 15.94 kB / 386.4 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003737/0.03426, allocations: 87.88 kB / 386.5 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.03427, allocations: 11.94 kB / 386.5 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003025/0.03458, allocations: 51.75 kB / 386.6 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/0.03462, allocations: 12 kB / 386.6 MB, free: 9.062 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.000249/0.03487, allocations: 193.7 kB / 386.8 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.03498, allocations: 51.75 kB / 386.8 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.03616, allocations: 468.5 kB / 387.3 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/0.03618, allocations: 15.88 kB / 387.3 MB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.03619, allocations: 4 kB / 387.3 MB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.03619, allocations: 7.984 kB / 387.3 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.03733, allocations: 0.9639 MB / 388.3 MB, free: 7.301 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.03734, allocations: 4 kB / 388.3 MB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003191/0.03765, allocations: 71.89 kB / 388.4 MB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.03766, allocations: 4 kB / 388.4 MB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.538e-05/0.0377, allocations: 15.98 kB / 388.4 MB, free: 7.207 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.0377, allocations: 4 kB / 388.4 MB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.0377, allocations: 0 / 388.4 MB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.0389, allocations: 0.5422 MB / 388.9 MB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.248e-05/0.03898, allocations: 47.69 kB / 389 MB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.827e-05/0.03905, allocations: 12 kB / 389 MB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.03929, allocations: 31.97 kB / 389 MB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.0394, allocations: 39.88 kB / 389 MB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.03944, allocations: 23.92 kB / 389.1 MB, free: 6.469 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003379/0.03978, allocations: 271 kB / 389.3 MB, free: 6.207 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.03978, allocations: 0 / 389.3 MB, free: 6.207 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000493/0.04027, allocations: 115.8 kB / 389.4 MB, free: 6.094 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.002309/0.04258, allocations: 0.5461 MB / 390 MB, free: 5.773 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.04379, allocations: 481.2 kB / 390.5 MB, free: 5.285 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.04379, allocations: 0 / 390.5 MB, free: 5.285 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005842/0.04437, allocations: 219.7 kB / 390.7 MB, free: 5.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000579/0.04495, allocations: 89.11 kB / 390.8 MB, free: 4.988 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.04657, allocations: 0.7488 MB / 391.5 MB, free: 4.184 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.04684, allocations: 217.1 kB / 391.7 MB, free: 3.949 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002562/0.04709, allocations: 91.2 kB / 391.8 MB, free: 3.859 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.04724, allocations: 44.48 kB / 391.9 MB, free: 3.816 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.04724, allocations: 4 kB / 391.9 MB, free: 3.812 MB / 362.7 MB Notification: Performance of Templates: time 0.01195/0.05919, allocations: 5.593 MB / 397.5 MB, free: 14.28 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=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: 4.8791274290997535]