Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.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.000887/0.000887, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008683/0.0008683, allocations: 174 kB / 23.94 MB, free: 0.6172 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.9086/0.9086, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.213/0.213, allocations: 29.41 MB / 290.1 MB, free: 2.445 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: "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.363e-05/1.484e-05, allocations: 2.281 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.003938/0.003953, allocations: 4.165 MB / 434.4 MB, free: 9.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.006224, allocations: 2.466 MB / 436.8 MB, free: 6.934 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.006376, allocations: 15.88 kB / 436.9 MB, free: 6.918 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006859/0.007062, allocations: 338.4 kB / 437.2 MB, free: 6.586 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005163/0.007578, allocations: 386 kB / 437.6 MB, free: 6.207 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004298/0.008008, allocations: 374.4 kB / 437.9 MB, free: 5.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004469/0.008455, allocations: 0.635 MB / 438.6 MB, free: 5.203 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000311/0.008766, allocations: 222.1 kB / 438.8 MB, free: 4.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006883/0.009454, allocations: 359 kB / 439.1 MB, free: 4.629 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/0.009708, allocations: 235.3 kB / 439.4 MB, free: 4.398 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.279e-05/0.009751, allocations: 44 kB / 439.4 MB, free: 4.355 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000484/0.01023, allocations: 0.5141 MB / 439.9 MB, free: 3.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.01034, allocations: 147.5 kB / 440.1 MB, free: 3.695 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.01045, allocations: 135.6 kB / 440.2 MB, free: 3.562 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000656/0.0111, allocations: 0.7946 MB / 441 MB, free: 2.766 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.01111, allocations: 0 / 441 MB, free: 2.766 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.01111, allocations: 0 / 441 MB, free: 2.766 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.01111, allocations: 0 / 441 MB, free: 2.766 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0008441/0.01196, allocations: 0.7333 MB / 441.7 MB, free: 1.996 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.012, allocations: 15.98 kB / 441.7 MB, free: 1.98 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.018e-05/0.01205, allocations: 62.72 kB / 441.8 MB, free: 1.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000545/0.01259, allocations: 116.5 kB / 441.9 MB, free: 1.797 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.01296, allocations: 337.5 kB / 442.2 MB, free: 1.445 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.01298, allocations: 20.86 kB / 442.3 MB, free: 1.426 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.422e-05/0.01302, allocations: 24.38 kB / 442.3 MB, free: 1.402 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005606/0.01358, allocations: 498.5 kB / 442.8 MB, free: 0.875 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.01359, allocations: 0 / 442.8 MB, free: 0.875 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.01361, allocations: 8 kB / 442.8 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-05/0.01364, allocations: 24.48 kB / 442.8 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006283/0.01427, allocations: 0.5248 MB / 443.3 MB, free: 324 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.159/0.1732, allocations: 1.71 MB / 445 MB, free: 53.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006404/0.1739, allocations: 400.2 kB / 445.4 MB, free: 53.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.1741, allocations: 148.4 kB / 445.6 MB, free: 53.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.1741, allocations: 5.75 kB / 445.6 MB, free: 53.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000299/0.1744, allocations: 287.8 kB / 445.9 MB, free: 52.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.573e-06/0.1744, allocations: 0 / 445.9 MB, free: 52.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.0007328/0.1751, allocations: 0.5538 MB / 446.4 MB, free: 52.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.1752, allocations: 245.5 kB / 446.7 MB, free: 52.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.1754, allocations: 417.4 kB / 447.1 MB, free: 52.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.1754, allocations: 36.12 kB / 447.1 MB, free: 52.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.809e-05/0.1755, allocations: 215.2 kB / 447.3 MB, free: 52.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.1755, allocations: 102.9 kB / 447.4 MB, free: 52.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.533e-05/0.1756, allocations: 69.69 kB / 447.5 MB, free: 52.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.304e-05/0.1756, allocations: 355.2 kB / 447.8 MB, free: 51.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.1758, allocations: 185.3 kB / 448 MB, free: 51.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.1761, allocations: 339.3 kB / 448.3 MB, free: 51.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004162/0.1765, allocations: 495.7 kB / 448.8 MB, free: 51.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1765, allocations: 0 / 448.8 MB, free: 51.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005412/0.177, allocations: 0.5898 MB / 449.4 MB, free: 50.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.1771, allocations: 40.86 kB / 449.4 MB, free: 50.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1771, allocations: 3.156 kB / 449.4 MB, free: 50.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1771, allocations: 6.406 kB / 449.5 MB, free: 50.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.1772, allocations: 91.12 kB / 449.5 MB, free: 50.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.1773, allocations: 19.45 kB / 449.6 MB, free: 50.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.1774, allocations: 48.36 kB / 449.6 MB, free: 50.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.1774, allocations: 18.47 kB / 449.6 MB, free: 50.7 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 (44): * Single equations (assignments): 43 * 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.0001183/0.1775, allocations: 193.7 kB / 449.8 MB, free: 50.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.1776, allocations: 42.81 kB / 449.9 MB, free: 50.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005163/0.1781, allocations: 488.9 kB / 450.3 MB, free: 50.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.1781, allocations: 6.25 kB / 450.3 MB, free: 50.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1781, allocations: 3.094 kB / 450.3 MB, free: 50.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1781, allocations: 3.375 kB / 450.3 MB, free: 50.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004265/0.1785, allocations: 0.8246 MB / 451.2 MB, free: 49.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1785, allocations: 3.969 kB / 451.2 MB, free: 49.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.1787, allocations: 78.5 kB / 451.3 MB, free: 49.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1787, allocations: 5.594 kB / 451.3 MB, free: 49.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.1787, allocations: 10.5 kB / 451.3 MB, free: 49.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1787, allocations: 7.094 kB / 451.3 MB, free: 49.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1787, allocations: 0 / 451.3 MB, free: 49.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004568/0.1792, allocations: 0.5198 MB / 451.8 MB, free: 49.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.156e-05/0.1792, allocations: 42.66 kB / 451.8 MB, free: 49.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.1792, allocations: 17.86 kB / 451.9 MB, free: 49.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.1793, allocations: 34.77 kB / 451.9 MB, free: 49.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/0.1794, allocations: 34.41 kB / 451.9 MB, free: 49.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.1794, allocations: 18.25 kB / 451.9 MB, free: 49.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000163/0.1796, allocations: 293.5 kB / 452.2 MB, free: 49.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1796, allocations: 0 / 452.2 MB, free: 49.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003141/0.1799, allocations: 118.3 kB / 452.3 MB, free: 49.21 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (39): * Single equations (assignments): 34 * 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.001475/0.1814, allocations: 1.51 MB / 453.9 MB, free: 48.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004866/0.1819, allocations: 479.7 kB / 454.3 MB, free: 48.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1819, allocations: 0 / 454.3 MB, free: 48.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002249/0.1821, allocations: 210.2 kB / 454.5 MB, free: 48.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.1824, allocations: 75.52 kB / 454.6 MB, free: 48.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002834/0.1852, allocations: 4.026 MB / 458.6 MB, free: 45.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.1853, allocations: 217.5 kB / 458.8 MB, free: 45.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001347/0.1854, allocations: 95.14 kB / 458.9 MB, free: 45.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.1856, allocations: 145.1 kB / 459.1 MB, free: 45.29 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1856, allocations: 0 / 459.1 MB, free: 45.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01772/0.2033, allocations: 10.62 MB / 469.7 MB, free: 43.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.02/7.224, allocations: 1.859 kB / 469.7 MB, free: 43.19 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest.fmu > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.csv failed! Error: Could not read variable windFarm.p[1] in file PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.csv. Warning: Get data of variable windFarm.p[1] from file PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.230094061233103]