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.001039/0.001039, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001632/0.002672, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001081/0.001081, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001209/0.00229, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.8987/0.8987, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0791/0.9778, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1364/0.1364, allocations: 29.45 MB / 273.6 MB, free: 1.398 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1186/0.255, allocations: 9.544 MB / 283.2 MB, free: 12.81 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="windFarm.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/1.997e-05, allocations: 3.719 kB / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.005084/0.005104, allocations: 3.812 MB / 288.3 MB, free: 8.824 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00218/0.007285, allocations: 1.793 MB / 290.1 MB, free: 7.453 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.007425, allocations: 9.281 kB / 290.1 MB, free: 7.449 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000479/0.007904, allocations: 232 kB / 290.3 MB, free: 7.273 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004627/0.008367, allocations: 293.7 kB / 290.6 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000575/0.008942, allocations: 264.6 kB / 290.8 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004833/0.009425, allocations: 0.5432 MB / 291.4 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002758/0.009701, allocations: 191.5 kB / 291.6 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004372/0.01014, allocations: 369.1 kB / 291.9 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.01037, allocations: 205.6 kB / 292.1 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.359e-05/0.01041, allocations: 41.06 kB / 292.2 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004148/0.01083, allocations: 345.2 kB / 292.5 MB, free: 5.93 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.01093, allocations: 123.4 kB / 292.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.311e-05/0.01102, allocations: 101.6 kB / 292.7 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004867/0.01151, allocations: 499.9 kB / 293.2 MB, free: 5.629 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.01152, allocations: 0 / 293.2 MB, free: 5.629 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.01152, allocations: 0 / 293.2 MB, free: 5.629 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.01153, allocations: 1.312 kB / 293.2 MB, free: 5.629 MB / 282.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.0007887/0.01232, allocations: 0.7503 MB / 294 MB, free: 5.055 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.628e-05/0.01235, allocations: 8.312 kB / 294 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005745/0.01292, allocations: 231.4 kB / 294.2 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.01323, allocations: 303.3 kB / 294.5 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.01325, allocations: 20.88 kB / 294.5 MB, free: 4.551 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.01328, allocations: 20.38 kB / 294.5 MB, free: 4.531 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.01362, allocations: 315.9 kB / 294.8 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.01363, allocations: 3.938 kB / 294.8 MB, free: 4.184 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.01365, allocations: 8 kB / 294.9 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.468e-05/0.01369, allocations: 20.48 kB / 294.9 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002051/0.01389, allocations: 174 kB / 295 MB, free: 3.984 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.01513, allocations: 1.202 MB / 296.2 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003307/0.01546, allocations: 260 kB / 296.5 MB, free: 2.441 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.149e-05/0.01552, allocations: 50.11 kB / 296.5 MB, free: 2.387 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.01553, allocations: 7.984 kB / 296.6 MB, free: 2.379 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/0.01572, allocations: 199.2 kB / 296.7 MB, free: 2.152 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 1.133e-06/0.01572, allocations: 0 / 296.7 MB, free: 2.152 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.0002636/0.01599, allocations: 200.9 kB / 296.9 MB, free: 1.949 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.01605, allocations: 195.8 kB / 297.1 MB, free: 1.715 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.01623, allocations: 304.5 kB / 297.4 MB, free: 1.406 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.01626, allocations: 41.7 kB / 297.5 MB, free: 1.359 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.458e-05/0.01634, allocations: 161.2 kB / 297.6 MB, free: 1.199 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.938e-05/0.0164, allocations: 115.1 kB / 297.7 MB, free: 1.086 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.976e-05/0.01646, allocations: 65.66 kB / 297.8 MB, free: 1.016 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.474e-05/0.01655, allocations: 355.3 kB / 298.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.987e-05/0.01662, allocations: 76.45 kB / 298.2 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.01674, allocations: 210.6 kB / 298.4 MB, free: 316 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.01694, allocations: 260.8 kB / 298.7 MB, free: 15.99 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.01695, allocations: 0 / 298.7 MB, free: 15.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0002468/0.01719, allocations: 291.6 kB / 299 MB, free: 15.69 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.01722, allocations: 37.7 kB / 299 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.01723, allocations: 4 kB / 299 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.01724, allocations: 4 kB / 299 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.01747, allocations: 91.88 kB / 299.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.01748, allocations: 7.984 kB / 299.1 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.01759, allocations: 51.64 kB / 299.2 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.01761, allocations: 12.25 kB / 299.2 MB, free: 15.48 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 9.263e-05/0.0177, allocations: 145.2 kB / 299.3 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/0.01774, allocations: 31.97 kB / 299.4 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.01799, allocations: 235.9 kB / 299.6 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.01799, allocations: 8 kB / 299.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.01799, allocations: 4 kB / 299.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.018, allocations: 7.938 kB / 299.6 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003841/0.01838, allocations: 0.5452 MB / 300.1 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01839, allocations: 4 kB / 300.2 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.01856, allocations: 87.88 kB / 300.2 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/0.01859, allocations: 39.7 kB / 300.3 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.01859, allocations: 7.938 kB / 300.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.01861, allocations: 11.98 kB / 300.3 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.01861, allocations: 4 kB / 300.3 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01861, allocations: 0 / 300.3 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.01882, allocations: 255.2 kB / 300.5 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.01886, allocations: 12 kB / 300.6 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.335e-05/0.01894, allocations: 23.92 kB / 300.6 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.545e-05/0.01899, allocations: 43.86 kB / 300.6 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.01901, allocations: 8 kB / 300.6 MB, free: 13.94 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.649e-05/0.0191, allocations: 123.4 kB / 300.8 MB, free: 13.81 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0191, allocations: 0 / 300.8 MB, free: 13.81 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002447/0.01934, allocations: 127.7 kB / 300.9 MB, free: 13.69 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 37 * 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.001291/0.02063, allocations: 0.7205 MB / 301.6 MB, free: 13.37 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002498/0.02088, allocations: 265.2 kB / 301.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/0.0209, allocations: 12 kB / 301.9 MB, free: 13.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.02102, allocations: 126 kB / 302 MB, free: 12.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.02137, allocations: 479.2 kB / 302.5 MB, free: 12.4 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003612/0.02498, allocations: 0.6876 MB / 303.1 MB, free: 11.67 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.237e-05/0.02505, allocations: 118.1 kB / 303.3 MB, free: 11.54 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.02517, allocations: 59.25 kB / 303.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.02534, allocations: 127.3 kB / 303.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of SimCode: time 8.41e-07/0.02534, allocations: 4 kB / 303.5 MB, free: 11.35 MB / 298.7 MB Notification: Performance of Templates: time 0.007138/0.03248, allocations: 6.334 MB / 309.8 MB, free: 5.094 MB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9814506014809012]