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.001464/0.001464, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001214/0.001214, allocations: 169 kB / 24.82 MB, free: 9.27 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.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.2311/0.2311, allocations: 29.42 MB / 291.2 MB, free: 2.457 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.743e-06/1.743e-06, allocations: 0 / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.75e-05, allocations: 9.406 kB / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.005353/0.00538, allocations: 3.691 MB / 373.8 MB, free: 7.023 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002883/0.008263, allocations: 1.745 MB / 375.5 MB, free: 5.27 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002716/0.008534, allocations: 11.88 kB / 375.6 MB, free: 5.258 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007631/0.009298, allocations: 187.1 kB / 375.7 MB, free: 5.074 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007968/0.01009, allocations: 294.5 kB / 376 MB, free: 4.785 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006627/0.01076, allocations: 254.9 kB / 376.3 MB, free: 4.535 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006766/0.01143, allocations: 0.5415 MB / 376.8 MB, free: 3.992 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004165/0.01185, allocations: 199.7 kB / 377 MB, free: 3.797 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006246/0.01247, allocations: 319.1 kB / 377.3 MB, free: 3.484 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004823/0.01296, allocations: 211.4 kB / 377.5 MB, free: 3.277 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.01308, allocations: 40 kB / 377.6 MB, free: 3.238 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005825/0.01366, allocations: 339.2 kB / 377.9 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.01378, allocations: 143.6 kB / 378 MB, free: 2.766 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.01391, allocations: 131.7 kB / 378.2 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005987/0.0145, allocations: 0.5218 MB / 378.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.01451, allocations: 0 / 378.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01451, allocations: 0 / 378.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.01451, allocations: 0 / 378.7 MB, free: 2.113 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.0008175/0.01533, allocations: 0.7865 MB / 379.5 MB, free: 1.277 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.01537, allocations: 11.98 kB / 379.5 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005088/0.01588, allocations: 156.5 kB / 379.6 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.01621, allocations: 333 kB / 380 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.01623, allocations: 20.86 kB / 380 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.01627, allocations: 32.28 kB / 380 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/0.01662, allocations: 328.9 kB / 380.3 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.01663, allocations: 3.938 kB / 380.3 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.01666, allocations: 19.94 kB / 380.4 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/0.01668, allocations: 16.48 kB / 380.4 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002318/0.01692, allocations: 191.2 kB / 380.6 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.01842, allocations: 1.629 MB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003496/0.01877, allocations: 242.7 kB / 382.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.75e-05/0.01884, allocations: 55.81 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.01886, allocations: 7.984 kB / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.01908, allocations: 242 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.532e-06/0.01908, allocations: 0 / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.0004077/0.01949, allocations: 303.8 kB / 383 MB, free: 13.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.722e-05/0.01958, allocations: 298.7 kB / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.01981, allocations: 362 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.01984, allocations: 41.69 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.02009, allocations: 251.3 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.936e-05/0.02015, allocations: 108.2 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.746e-05/0.02023, allocations: 83.27 kB / 384.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.02036, allocations: 0.5195 MB / 384.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.875e-05/0.02042, allocations: 65.67 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.02058, allocations: 297 kB / 385 MB, free: 11.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.02081, allocations: 319.4 kB / 385.3 MB, free: 10.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.02081, allocations: 0 / 385.3 MB, free: 10.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003391/0.02115, allocations: 384.1 kB / 385.7 MB, free: 10.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.02118, allocations: 37.7 kB / 385.7 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.02118, allocations: 4 kB / 385.8 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.0212, allocations: 12.5 kB / 385.8 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.02137, allocations: 83.89 kB / 385.8 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.02138, allocations: 11.92 kB / 385.9 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.0215, allocations: 47.77 kB / 385.9 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.02151, allocations: 12 kB / 385.9 MB, free: 10.27 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.00012/0.02163, allocations: 196.4 kB / 386.1 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.02168, allocations: 51.75 kB / 386.2 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003064/0.02199, allocations: 284.7 kB / 386.4 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.022, allocations: 7.938 kB / 386.4 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.022, allocations: 8 kB / 386.5 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.022, allocations: 4 kB / 386.5 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008248/0.02283, allocations: 1.16 MB / 387.6 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.02283, allocations: 7.938 kB / 387.6 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.02296, allocations: 63.91 kB / 387.7 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.02297, allocations: 4 kB / 387.7 MB, free: 8.414 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.02298, allocations: 11.98 kB / 387.7 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.02298, allocations: 4.188 kB / 387.7 MB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.02299, allocations: 12 kB / 387.7 MB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.0233, allocations: 388.9 kB / 388.1 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/0.02333, allocations: 51.61 kB / 388.1 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.02336, allocations: 16 kB / 388.2 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.557e-05/0.02345, allocations: 23.98 kB / 388.2 MB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.02351, allocations: 35.88 kB / 388.2 MB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.02353, allocations: 19.98 kB / 388.2 MB, free: 7.809 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001119/0.02364, allocations: 234.9 kB / 388.5 MB, free: 7.582 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02364, allocations: 4 kB / 388.5 MB, free: 7.578 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002758/0.02391, allocations: 119.7 kB / 388.6 MB, free: 7.461 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.0009934/0.02491, allocations: 0.4944 MB / 389.1 MB, free: 7.152 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002691/0.02518, allocations: 280.3 kB / 389.4 MB, free: 6.855 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.02518, allocations: 0 / 389.4 MB, free: 6.855 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.02529, allocations: 116.8 kB / 389.5 MB, free: 6.738 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.02557, allocations: 92.39 kB / 389.6 MB, free: 6.652 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.02659, allocations: 0.6875 MB / 390.2 MB, free: 5.902 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.224e-05/0.02666, allocations: 122.1 kB / 390.4 MB, free: 5.762 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.02678, allocations: 59.25 kB / 390.4 MB, free: 5.699 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.02694, allocations: 146.2 kB / 390.6 MB, free: 5.555 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02694, allocations: 0 / 390.6 MB, free: 5.555 MB / 362.7 MB Notification: Performance of Templates: time 0.007863/0.03481, allocations: 6.146 MB / 396.7 MB, free: 15.48 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.1418010001070797]