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.001473/0.001473, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001631/0.001631, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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.376/1.376, allocations: 230.6 MB / 258.3 MB, free: 7.977 MB / 206.1 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.179/0.179, allocations: 38.53 MB / 353.2 MB, free: 12.55 MB / 286.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 66.88 kB / 493.8 MB, free: 4.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2711, allocations: 62.48 MB / 0.5432 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.005043/0.2761, allocations: 3.847 MB / 0.547 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003488/0.2796, allocations: 2.226 MB / 0.5492 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/0.2798, allocations: 14.41 kB / 0.5492 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000856/0.2807, allocations: 249.2 kB / 0.5494 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008794/0.2816, allocations: 325.9 kB / 0.5497 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006816/0.2822, allocations: 260.9 kB / 0.55 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006877/0.2829, allocations: 0.5369 MB / 0.5505 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003604/0.2833, allocations: 197.6 kB / 0.5507 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004878/0.2838, allocations: 251 kB / 0.5509 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003315/0.2841, allocations: 230.7 kB / 0.5511 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.252e-05/0.2842, allocations: 39.38 kB / 0.5512 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007928/0.2849, allocations: 463.5 kB / 0.5516 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.2851, allocations: 130.1 kB / 0.5517 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.2853, allocations: 189.1 kB / 0.5519 GB, free: 9.945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009318/0.2862, allocations: 0.6887 MB / 0.5526 GB, free: 9.488 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2862, allocations: 0 / 0.5526 GB, free: 9.488 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2862, allocations: 0 / 0.5526 GB, free: 9.488 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.2862, allocations: 4 kB / 0.5526 GB, free: 9.484 MB / 398.1 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.001286/0.2875, allocations: 0.704 MB / 0.5533 GB, free: 8.883 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.2876, allocations: 14.05 kB / 0.5533 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000884/0.2884, allocations: 103.5 kB / 0.5534 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006702/0.2891, allocations: 369.9 kB / 0.5538 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.2891, allocations: 17.23 kB / 0.5538 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.087e-05/0.2892, allocations: 27.69 kB / 0.5538 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008346/0.29, allocations: 446.3 kB / 0.5542 GB, free: 8.215 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.29, allocations: 0 / 0.5542 GB, free: 8.215 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.035e-05/0.2901, allocations: 15.33 kB / 0.5542 GB, free: 8.203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-05/0.2901, allocations: 17.45 kB / 0.5543 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000989/0.2911, allocations: 0.5042 MB / 0.5547 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002272/0.2934, allocations: 1.636 MB / 0.5563 GB, free: 6.566 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009031/0.2943, allocations: 353.7 kB / 0.5567 GB, free: 6.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003359/0.2946, allocations: 130.9 kB / 0.5568 GB, free: 6.293 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.005e-05/0.2946, allocations: 9.438 kB / 0.5568 GB, free: 6.289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005733/0.2952, allocations: 290.6 kB / 0.5571 GB, free: 5.996 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 1.773e-06/0.2952, allocations: 4 kB / 0.5571 GB, free: 5.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.001348/0.2966, allocations: 0.5251 MB / 0.5576 GB, free: 5.461 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001752/0.2967, allocations: 294.7 kB / 0.5579 GB, free: 5.105 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004176/0.2972, allocations: 340.5 kB / 0.5582 GB, free: 4.762 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.477e-05/0.2972, allocations: 41.7 kB / 0.5583 GB, free: 4.715 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.2974, allocations: 208.5 kB / 0.5584 GB, free: 4.504 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.78e-05/0.2975, allocations: 107.2 kB / 0.5586 GB, free: 4.398 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.2976, allocations: 73.72 kB / 0.5586 GB, free: 4.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.2978, allocations: 350.8 kB / 0.559 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000366/0.2981, allocations: 135.8 kB / 0.5591 GB, free: 3.836 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004617/0.2986, allocations: 277 kB / 0.5594 GB, free: 3.504 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008466/0.2994, allocations: 461.7 kB / 0.5598 GB, free: 2.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.2994, allocations: 0 / 0.5598 GB, free: 2.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001098/0.3005, allocations: 0.5296 MB / 0.5603 GB, free: 2.445 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.138e-05/0.3006, allocations: 33.7 kB / 0.5603 GB, free: 2.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.3006, allocations: 4.562 kB / 0.5603 GB, free: 2.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.3006, allocations: 8 kB / 0.5604 GB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.3009, allocations: 87.88 kB / 0.5604 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.301, allocations: 11.94 kB / 0.5604 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.3012, allocations: 47.81 kB / 0.5605 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.3013, allocations: 20 kB / 0.5605 GB, free: 2.23 MB / 398.1 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.0002376/0.3015, allocations: 185.7 kB / 0.5607 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.203e-05/0.3016, allocations: 47.69 kB / 0.5607 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009635/0.3026, allocations: 406.9 kB / 0.5611 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.3026, allocations: 7.938 kB / 0.5611 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.3026, allocations: 4 kB / 0.5611 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.3026, allocations: 4 kB / 0.5611 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.3036, allocations: 1.01 MB / 0.5621 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3036, allocations: 0 / 0.5621 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.3039, allocations: 59.89 kB / 0.5622 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/0.3039, allocations: 8.188 kB / 0.5622 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.3039, allocations: 11.98 kB / 0.5622 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.3039, allocations: 7.938 kB / 0.5622 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.3039, allocations: 4 kB / 0.5622 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00096/0.3049, allocations: 475.4 kB / 0.5627 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.8e-05/0.305, allocations: 39.7 kB / 0.5627 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.227e-05/0.305, allocations: 15.98 kB / 0.5627 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.3052, allocations: 23.98 kB / 0.5627 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.3053, allocations: 39.88 kB / 0.5628 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-05/0.3054, allocations: 12 kB / 0.5628 GB, free: 15.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000281/0.3056, allocations: 247 kB / 0.563 GB, free: 15.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3056, allocations: 0 / 0.563 GB, free: 15.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004568/0.3061, allocations: 107.8 kB / 0.5631 GB, free: 15.41 MB / 414.1 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 (31): * Single equations (assignments): 26 * 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.001738/0.3078, allocations: 0.512 MB / 0.5636 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009339/0.3088, allocations: 403.5 kB / 0.564 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3088, allocations: 0 / 0.564 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004257/0.3092, allocations: 183.2 kB / 0.5642 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.3097, allocations: 78.19 kB / 0.5643 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.311, allocations: 0.7503 MB / 0.565 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/0.3114, allocations: 0.8072 MB / 0.5658 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.3116, allocations: 51.36 kB / 0.5658 GB, free: 12.74 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3116, allocations: 4 kB / 0.5658 GB, free: 12.74 MB / 414.1 MB Notification: Performance of Templates: time 0.009455/0.321, allocations: 5.791 MB / 0.5715 GB, free: 6.977 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.mat","/var/lib/jenkins1/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: 7.528587114997208]