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.0007894/0.0007894, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003396/0.003396, allocations: 163.1 kB / 24.7 MB, free: 8.891 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 0.8534/0.8534, allocations: 177.1 MB / 205 MB, free: 5.77 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.2014/0.2014, allocations: 29.41 MB / 290.8 MB, free: 2.441 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.513e-06/1.513e-06, allocations: 0 / 431.5 MB, free: 13.14 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/1.876e-05, allocations: 5.234 kB / 431.5 MB, free: 13.13 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.003305/0.003323, allocations: 3.657 MB / 435.1 MB, free: 9.449 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.005139, allocations: 2.057 MB / 437.2 MB, free: 7.383 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.005265, allocations: 15.88 kB / 437.2 MB, free: 7.367 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005629/0.005828, allocations: 238.7 kB / 437.4 MB, free: 7.133 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004151/0.006243, allocations: 326.3 kB / 437.7 MB, free: 6.812 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.006527, allocations: 262.9 kB / 438 MB, free: 6.555 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006278/0.007155, allocations: 0.5454 MB / 438.6 MB, free: 6.008 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002623/0.007417, allocations: 199.8 kB / 438.7 MB, free: 5.805 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003392/0.007756, allocations: 318.4 kB / 439.1 MB, free: 5.496 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.007953, allocations: 203.4 kB / 439.3 MB, free: 5.297 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.196e-05/0.007995, allocations: 40 kB / 439.3 MB, free: 5.258 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003334/0.008329, allocations: 399 kB / 439.7 MB, free: 4.867 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.901e-05/0.008428, allocations: 143.5 kB / 439.8 MB, free: 4.727 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.221e-05/0.00852, allocations: 127.7 kB / 439.9 MB, free: 4.602 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005643/0.009084, allocations: 0.7323 MB / 440.7 MB, free: 3.867 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.009086, allocations: 0 / 440.7 MB, free: 3.867 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.009088, allocations: 0 / 440.7 MB, free: 3.867 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.009093, allocations: 0 / 440.7 MB, free: 3.867 MB / 410.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.000799/0.009892, allocations: 0.7022 MB / 441.4 MB, free: 3.129 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.009928, allocations: 11.98 kB / 441.4 MB, free: 3.117 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004724/0.0104, allocations: 112.6 kB / 441.5 MB, free: 3.008 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.01076, allocations: 333.5 kB / 441.8 MB, free: 2.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.01078, allocations: 16.88 kB / 441.8 MB, free: 2.645 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.01081, allocations: 24.36 kB / 441.9 MB, free: 2.621 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005248/0.01133, allocations: 493.1 kB / 442.4 MB, free: 2.105 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.01134, allocations: 3.938 kB / 442.4 MB, free: 2.102 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.01137, allocations: 11.98 kB / 442.4 MB, free: 2.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.507e-05/0.01139, allocations: 16.5 kB / 442.4 MB, free: 2.074 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006232/0.01202, allocations: 0.5444 MB / 442.9 MB, free: 1.527 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1486/0.1606, allocations: 1.558 MB / 444.5 MB, free: 54.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006984/0.1613, allocations: 387.2 kB / 444.9 MB, free: 54.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.1615, allocations: 150.5 kB / 445 MB, free: 54.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.1615, allocations: 3.719 kB / 445 MB, free: 54.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003034/0.1618, allocations: 304.8 kB / 445.3 MB, free: 53.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 2.675e-06/0.1618, allocations: 0.5 kB / 445.3 MB, free: 53.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.0007488/0.1625, allocations: 0.5631 MB / 445.9 MB, free: 53.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.1626, allocations: 298.5 kB / 446.2 MB, free: 53.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.1628, allocations: 375.3 kB / 446.5 MB, free: 53.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.1629, allocations: 40.14 kB / 446.6 MB, free: 53.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.284e-05/0.1629, allocations: 200.8 kB / 446.8 MB, free: 53.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.163, allocations: 113.1 kB / 446.9 MB, free: 53.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.559e-05/0.163, allocations: 70.34 kB / 447 MB, free: 53.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.023e-05/0.1631, allocations: 352.5 kB / 447.3 MB, free: 52.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.1633, allocations: 176.5 kB / 447.5 MB, free: 52.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.1635, allocations: 342.3 kB / 447.8 MB, free: 52.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004031/0.1639, allocations: 485.1 kB / 448.3 MB, free: 52.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1639, allocations: 0 / 448.3 MB, free: 52.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005249/0.1644, allocations: 0.5763 MB / 448.9 MB, free: 51.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.1644, allocations: 39.2 kB / 448.9 MB, free: 51.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1644, allocations: 3.219 kB / 448.9 MB, free: 51.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.1645, allocations: 10.12 kB / 448.9 MB, free: 51.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.1646, allocations: 80.2 kB / 449 MB, free: 51.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1646, allocations: 18.58 kB / 449 MB, free: 51.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.1648, allocations: 57.98 kB / 449.1 MB, free: 51.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.1648, allocations: 12.91 kB / 449.1 MB, free: 51.75 MB / 410.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.0001125/0.1649, allocations: 198.7 kB / 449.3 MB, free: 51.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.1649, allocations: 35.8 kB / 449.3 MB, free: 51.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004977/0.1654, allocations: 471.8 kB / 449.8 MB, free: 51.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1654, allocations: 6.375 kB / 449.8 MB, free: 51.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1655, allocations: 6.609 kB / 449.8 MB, free: 51.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1655, allocations: 7.156 kB / 449.8 MB, free: 51.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004404/0.1659, allocations: 0.9567 MB / 450.7 MB, free: 50.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.1659, allocations: 6.625 kB / 450.7 MB, free: 50.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.166, allocations: 74.77 kB / 450.8 MB, free: 50.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.166, allocations: 6.625 kB / 450.8 MB, free: 50.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.1661, allocations: 10.34 kB / 450.8 MB, free: 50.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1661, allocations: 3.281 kB / 450.8 MB, free: 50.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1661, allocations: 7.094 kB / 450.8 MB, free: 50.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000455/0.1665, allocations: 0.5372 MB / 451.4 MB, free: 50.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.183e-05/0.1665, allocations: 43.31 kB / 451.4 MB, free: 50.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.1666, allocations: 17.77 kB / 451.4 MB, free: 50.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.708e-05/0.1667, allocations: 31.55 kB / 451.5 MB, free: 50.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/0.1667, allocations: 45.27 kB / 451.5 MB, free: 50.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.1668, allocations: 17.69 kB / 451.5 MB, free: 50.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001387/0.1669, allocations: 268.8 kB / 451.8 MB, free: 50.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1669, allocations: 0 / 451.8 MB, free: 50.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002759/0.1672, allocations: 114 kB / 451.9 MB, free: 50.12 MB / 410.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.0007679/0.1679, allocations: 0.5594 MB / 452.5 MB, free: 49.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004743/0.1684, allocations: 475.7 kB / 452.9 MB, free: 49.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1684, allocations: 0 / 452.9 MB, free: 49.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.1686, allocations: 212.9 kB / 453.1 MB, free: 49.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.1689, allocations: 83.95 kB / 453.2 MB, free: 49.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007152/0.1696, allocations: 0.7672 MB / 454 MB, free: 49.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.1697, allocations: 216.8 kB / 454.2 MB, free: 49.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.064e-05/0.1698, allocations: 47.17 kB / 454.2 MB, free: 49.07 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1698, allocations: 0 / 454.2 MB, free: 49.07 MB / 410.7 MB Notification: Performance of Templates: time 0.004464/0.1743, allocations: 6.066 MB / 460.3 MB, free: 48.38 MB / 410.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: 5.015485141426325]