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.001308/0.001308, allocations: 81.72 kB / 20.68 MB, free: 1.035 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.001348/0.001348, allocations: 163 kB / 23.95 MB, free: 4.168 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.375/1.375, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 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.1696/0.1696, allocations: 29.42 MB / 290.1 MB, free: 3.309 MB / 270.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: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 430.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.586e-05, allocations: 2.281 kB / 430.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.005187/0.005213, allocations: 3.66 MB / 434.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0034/0.008613, allocations: 2.057 MB / 436.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.008758, allocations: 15.88 kB / 436.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000851/0.009609, allocations: 226.8 kB / 436.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007364/0.01035, allocations: 330.3 kB / 437 MB, free: 11.65 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006048/0.01095, allocations: 259 kB / 437.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006578/0.01161, allocations: 0.5454 MB / 437.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003578/0.01197, allocations: 195.8 kB / 438 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005907/0.01256, allocations: 335 kB / 438.3 MB, free: 10.33 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003179/0.01287, allocations: 191.5 kB / 438.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.934e-05/0.01294, allocations: 40 kB / 438.5 MB, free: 10.1 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006693/0.01361, allocations: 394.9 kB / 438.9 MB, free: 9.715 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.01378, allocations: 143.5 kB / 439.1 MB, free: 9.574 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.01396, allocations: 127.7 kB / 439.2 MB, free: 9.449 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009636/0.01492, allocations: 0.7322 MB / 439.9 MB, free: 8.715 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.077e-05/0.01493, allocations: 4 kB / 439.9 MB, free: 8.711 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01493, allocations: 4 kB / 439.9 MB, free: 8.707 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.01494, allocations: 0 / 439.9 MB, free: 8.707 MB / 366.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.001325/0.01626, allocations: 0.7022 MB / 440.6 MB, free: 7.965 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.01629, allocations: 8.031 kB / 440.6 MB, free: 7.957 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008751/0.01717, allocations: 108.6 kB / 440.7 MB, free: 7.852 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005621/0.01773, allocations: 333.5 kB / 441.1 MB, free: 7.504 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.01776, allocations: 20.88 kB / 441.1 MB, free: 7.484 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.004e-05/0.01781, allocations: 20.38 kB / 441.1 MB, free: 7.465 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009503/0.01876, allocations: 485 kB / 441.6 MB, free: 6.957 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.01878, allocations: 11.94 kB / 441.6 MB, free: 6.945 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.805e-05/0.01882, allocations: 8 kB / 441.6 MB, free: 6.938 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.114e-05/0.01886, allocations: 20.48 kB / 441.6 MB, free: 6.918 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.02003, allocations: 0.5482 MB / 442.2 MB, free: 6.371 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/0.02234, allocations: 1.558 MB / 443.7 MB, free: 4.734 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.0235, allocations: 393 kB / 444.1 MB, free: 4.332 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004054/0.02391, allocations: 151 kB / 444.3 MB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.02393, allocations: 4 kB / 444.3 MB, free: 4.176 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006159/0.02455, allocations: 302.8 kB / 444.6 MB, free: 3.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=31): time 2.024e-06/0.02455, allocations: 0 / 444.6 MB, free: 3.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.001531/0.02608, allocations: 0.5704 MB / 445.1 MB, free: 3.266 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001815/0.02626, allocations: 290.7 kB / 445.4 MB, free: 2.914 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005035/0.02676, allocations: 388.3 kB / 445.8 MB, free: 2.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.028e-05/0.02682, allocations: 38.05 kB / 445.8 MB, free: 2.477 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.02699, allocations: 208.6 kB / 446 MB, free: 2.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.0271, allocations: 111.1 kB / 446.1 MB, free: 2.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.02723, allocations: 73.62 kB / 446.2 MB, free: 2.082 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.02742, allocations: 342.8 kB / 446.5 MB, free: 1.738 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004447/0.02786, allocations: 181.6 kB / 446.7 MB, free: 1.555 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005666/0.02843, allocations: 340.4 kB / 447.1 MB, free: 1.148 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009646/0.02939, allocations: 489.6 kB / 447.5 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.0294, allocations: 0 / 447.5 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001257/0.03065, allocations: 0.5748 MB / 448.1 MB, free: 12 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.1656/0.1962, allocations: 33.36 kB / 448.1 MB, free: 29.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.1962, allocations: 4.812 kB / 448.1 MB, free: 29.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/0.1962, allocations: 7.906 kB / 448.2 MB, free: 29.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004222/0.1967, allocations: 84.86 kB / 448.2 MB, free: 29.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.1967, allocations: 12.02 kB / 448.2 MB, free: 29.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003269/0.197, allocations: 46.52 kB / 448.3 MB, free: 29.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.197, allocations: 21.55 kB / 448.3 MB, free: 29.84 MB / 366.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.0002076/0.1972, allocations: 191.2 kB / 448.5 MB, free: 29.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.378e-05/0.1973, allocations: 46.69 kB / 448.5 MB, free: 29.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.1984, allocations: 457 kB / 449 MB, free: 29.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.1984, allocations: 6.688 kB / 449 MB, free: 29.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.1984, allocations: 4.469 kB / 449 MB, free: 29.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.1984, allocations: 4.188 kB / 449 MB, free: 29.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007012/0.1991, allocations: 0.963 MB / 450 MB, free: 29.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1991, allocations: 1.25 kB / 450 MB, free: 29.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002917/0.1994, allocations: 80.62 kB / 450 MB, free: 29.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.1994, allocations: 3.969 kB / 450.1 MB, free: 29.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.1994, allocations: 12.62 kB / 450.1 MB, free: 29.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.1994, allocations: 3.281 kB / 450.1 MB, free: 29.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.1994, allocations: 7.672 kB / 450.1 MB, free: 29.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009598/0.2004, allocations: 0.529 MB / 450.6 MB, free: 28.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.174e-05/0.2004, allocations: 48.61 kB / 450.7 MB, free: 28.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.528e-05/0.2005, allocations: 18.05 kB / 450.7 MB, free: 28.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.2007, allocations: 26.41 kB / 450.7 MB, free: 28.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.2008, allocations: 56.84 kB / 450.8 MB, free: 28.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.2009, allocations: 18 kB / 450.8 MB, free: 28.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002607/0.2011, allocations: 270.2 kB / 451 MB, free: 28.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2011, allocations: 0 / 451 MB, free: 28.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004469/0.2016, allocations: 113.6 kB / 451.1 MB, free: 28.56 MB / 366.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 (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.001871/0.2034, allocations: 0.5595 MB / 451.7 MB, free: 28.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009922/0.2044, allocations: 473.9 kB / 452.2 MB, free: 28.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2044, allocations: 1.219 kB / 452.2 MB, free: 28.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004982/0.2049, allocations: 224.9 kB / 452.4 MB, free: 28.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.2054, allocations: 72.17 kB / 452.5 MB, free: 28.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.2065, allocations: 0.7339 MB / 453.2 MB, free: 27.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.2067, allocations: 211.5 kB / 453.4 MB, free: 27.56 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002014/0.2069, allocations: 87.83 kB / 453.5 MB, free: 27.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.207, allocations: 46.36 kB / 453.5 MB, free: 27.54 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.207, allocations: 1.188 kB / 453.5 MB, free: 27.54 MB / 366.1 MB Notification: Performance of Templates: time 0.01153/0.2186, allocations: 5.558 MB / 459.1 MB, free: 26.86 MB / 366.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/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.593020901083946]