Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.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.0009801/0.0009801, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0009744/0.0009744, allocations: 174 kB / 23.95 MB, free: 0.6094 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.9723/0.9723, allocations: 177.1 MB / 204.3 MB, free: 5.746 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.1981/0.1981, allocations: 29.41 MB / 290.1 MB, free: 2.43 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest2",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest2",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 431 MB, free: 12.82 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022e-05/1.155e-05, allocations: 6.219 kB / 431 MB, free: 12.81 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2): time 0.004562/0.004573, allocations: 5.309 MB / 436.3 MB, free: 7.469 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002623/0.007197, allocations: 2.496 MB / 438.8 MB, free: 4.965 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003579/0.007555, allocations: 27.81 kB / 438.8 MB, free: 4.938 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007235/0.008278, allocations: 361.9 kB / 439.2 MB, free: 4.582 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007316/0.00901, allocations: 485.3 kB / 439.7 MB, free: 4.105 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007049/0.009715, allocations: 485.9 kB / 440.1 MB, free: 3.633 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000741/0.01046, allocations: 1.033 MB / 441.2 MB, free: 2.598 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004963/0.01095, allocations: 0.4887 MB / 441.7 MB, free: 2.102 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004913/0.01144, allocations: 0.5726 MB / 442.2 MB, free: 1.527 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005641/0.01201, allocations: 362.9 kB / 442.6 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.034e-05/0.01208, allocations: 75.98 kB / 442.7 MB, free: 1.098 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004312/0.01251, allocations: 450.6 kB / 443.1 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.01266, allocations: 251.2 kB / 443.4 MB, free: 420 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.01283, allocations: 239.4 kB / 443.6 MB, free: 180 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.144/0.1568, allocations: 1.115 MB / 444.7 MB, free: 45.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1568, allocations: 0 / 444.7 MB, free: 45.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1568, allocations: 0 / 444.7 MB, free: 45.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.1568, allocations: 0 / 444.7 MB, free: 45.25 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001263/0.1581, allocations: 1.053 MB / 445.8 MB, free: 44.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1581, allocations: 13.17 kB / 445.8 MB, free: 44.67 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.187e-05/0.1582, allocations: 105.2 kB / 445.9 MB, free: 44.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006826/0.1589, allocations: 190.3 kB / 446.1 MB, free: 44.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005336/0.1594, allocations: 498.9 kB / 446.5 MB, free: 44.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.1594, allocations: 50.12 kB / 446.6 MB, free: 44.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-05/0.1595, allocations: 60.42 kB / 446.7 MB, free: 44.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008028/0.1603, allocations: 0.8421 MB / 447.5 MB, free: 44.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.1603, allocations: 384 / 447.5 MB, free: 44.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.965e-05/0.1604, allocations: 26.75 kB / 447.5 MB, free: 44.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.442e-05/0.1604, allocations: 37.78 kB / 447.6 MB, free: 44.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008488/0.1613, allocations: 0.7299 MB / 448.3 MB, free: 44.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002102/0.1634, allocations: 2.549 MB / 450.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00075/0.1641, allocations: 0.5432 MB / 451.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003674/0.1645, allocations: 332.5 kB / 451.7 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.1645, allocations: 5.969 kB / 451.7 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004325/0.1649, allocations: 423.4 kB / 452.1 MB, free: 43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=56): time 1.803e-06/0.1649, allocations: 0 / 452.1 MB, free: 43 MB / 410.7 MB Notification: Performance of matching and sorting (n=58): time 0.002245/0.1672, allocations: 1.98 MB / 454.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.1672, allocations: 135.2 kB / 454.2 MB, free: 42.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003457/0.1676, allocations: 494.9 kB / 454.7 MB, free: 42.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.1676, allocations: 37.05 kB / 454.8 MB, free: 42.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.1677, allocations: 316.3 kB / 455.1 MB, free: 41.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.577e-05/0.1678, allocations: 209.5 kB / 455.3 MB, free: 41.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.1679, allocations: 109.1 kB / 455.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.365e-05/0.1679, allocations: 369.4 kB / 455.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003358/0.1683, allocations: 323.1 kB / 456.1 MB, free: 41.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000363/0.1686, allocations: 486.4 kB / 456.5 MB, free: 40.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006644/0.1693, allocations: 0.7185 MB / 457.2 MB, free: 40.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1693, allocations: 3.312 kB / 457.3 MB, free: 40.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001132/0.1704, allocations: 1.055 MB / 458.3 MB, free: 40.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/0.1705, allocations: 32.39 kB / 458.3 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.1705, allocations: 3.219 kB / 458.3 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000354/0.1708, allocations: 178.7 kB / 458.5 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.1711, allocations: 122.2 kB / 458.6 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/0.1732, allocations: 3.889 MB / 462.5 MB, free: 36.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.1735, allocations: 55.34 kB / 462.6 MB, free: 36.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/0.1735, allocations: 28 kB / 462.6 MB, free: 36.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004397/0.174, allocations: 472.7 kB / 463.1 MB, free: 36.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003616/0.1743, allocations: 474.7 kB / 463.5 MB, free: 36.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006528/0.175, allocations: 0.7023 MB / 464.2 MB, free: 35.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.903e-06/0.175, allocations: 0 / 464.2 MB, free: 35.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.0009653/0.176, allocations: 0.9514 MB / 465.2 MB, free: 35.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.176, allocations: 42.84 kB / 465.2 MB, free: 35.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.176, allocations: 6.766 kB / 465.2 MB, free: 35.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002581/0.1762, allocations: 166.6 kB / 465.4 MB, free: 35.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.1765, allocations: 119.8 kB / 465.5 MB, free: 35.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/0.1781, allocations: 3.701 MB / 469.2 MB, free: 32.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.1784, allocations: 56.14 kB / 469.3 MB, free: 32.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.1784, allocations: 32.23 kB / 469.3 MB, free: 32.19 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,secondary.count,$PRE.secondary.count,secondary.T_start,$PRE.secondary.T_start,$whenCondition1,hydroPlant.reservoirLevel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,13)} Notification: Performance of prepare postOptimizeDAE: time 9.431e-05/0.1785, allocations: 214.4 kB / 469.5 MB, free: 31.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.86e-05/0.1786, allocations: 61 kB / 469.6 MB, free: 31.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009005/0.1795, allocations: 0.8216 MB / 470.4 MB, free: 31.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.1795, allocations: 6.625 kB / 470.4 MB, free: 31.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1795, allocations: 3.375 kB / 470.4 MB, free: 31.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.1795, allocations: 3.469 kB / 470.4 MB, free: 31.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/0.1809, allocations: 1.555 MB / 472 MB, free: 30.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1809, allocations: 0 / 472 MB, free: 30.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003107/0.1812, allocations: 133.6 kB / 472.1 MB, free: 30.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001134/0.1813, allocations: 64.06 kB / 472.2 MB, free: 30.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/0.1814, allocations: 17.73 kB / 472.2 MB, free: 30.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000787/0.1821, allocations: 2.684 MB / 474.9 MB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1821, allocations: 6.406 kB / 474.9 MB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.1834, allocations: 1.305 MB / 476.2 MB, free: 27.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.1835, allocations: 117.7 kB / 476.3 MB, free: 27.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.198e-05/0.1836, allocations: 18.03 kB / 476.3 MB, free: 27.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.1838, allocations: 56.92 kB / 476.4 MB, free: 27.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.598e-05/0.1839, allocations: 52.53 kB / 476.4 MB, free: 27.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.1839, allocations: 25.81 kB / 476.4 MB, free: 27.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000251/0.1842, allocations: 347.2 kB / 476.8 MB, free: 27.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1842, allocations: 0 / 476.8 MB, free: 27.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005526/0.1847, allocations: 256.4 kB / 477 MB, free: 27.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (hydroPlant.reservoirLevel.y,hydroPlant.rotor.phi,hydroPlant.rotor.w,hydroPlant.controlDynamics.x_scaled[1]) * Number of discrete variables: 4 (system.initime,$whenCondition1,secondary.T_start,secondary.count) * Number of discrete states: 1 (secondary.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001353/0.1861, allocations: 1.858 MB / 478.9 MB, free: 26.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001465/0.1875, allocations: 1.744 MB / 480.6 MB, free: 25.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1875, allocations: 0 / 480.6 MB, free: 25.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004545/0.188, allocations: 0.5725 MB / 481.2 MB, free: 24.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.1884, allocations: 138.6 kB / 481.3 MB, free: 24.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005991/0.1944, allocations: 6.402 MB / 487.7 MB, free: 21.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.1947, allocations: 349.4 kB / 488.1 MB, free: 21.19 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002834/0.1949, allocations: 153.7 kB / 488.2 MB, free: 21.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.1952, allocations: 239.7 kB / 488.5 MB, free: 20.99 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1952, allocations: 0 / 488.5 MB, free: 20.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08842/0.2836, allocations: 17.25 MB / 0.4939 GB, free: 18.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.614/8.898, allocations: 6.562 kB / 0.4939 GB, free: 18.29 MB / 410.7 MB " [Timeout remaining time 651] (rm -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_res.mat --stripRoot --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest2_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --mode=me --timeout=240 --tolerance=1e-06 ../PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest2.fmu) > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.pipe 2>&1) [Timeout 252.0] OMSimulator failed or timed out simulating it; the others still get to run it (rm -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-cvode.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest2_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --mode=cs --timeout=240 --tolerance=1e-06 ../PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest2_OMSimulator-cs-cvode.fmu) > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] OMSimulator-cs-cvode timed out simulating the FMU (rm -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-euler.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-euler.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest2_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --mode=cs --timeout=240 --tolerance=1e-06 ../PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest2_OMSimulator-cs-euler.fmu) > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Error getting time " [Timeout remaining time 660] "" Variables in the reference:Time,hydroPlant.P_control,hydroPlant.P_generator,hydroPlant.reservoirLevel.y Variables in the result:der(hydroPlant.controlDynamics.x_scaled[1]),der(hydroPlant.reservoirLevel.y),der(hydroPlant.rotor.phi),der(hydroPlant.rotor.w),der(line.terminal_p.theta[2]),der(system.theta),hydroPlant.P_control,hydroPlant.P_generator,hydroPlant.add.k1,hydroPlant.add.k2,hydroPlant.add.u1,hydroPlant.add.u2,hydroPlant.add.y,hydroPlant.angularVelocity.flange.phi,hydroPlant.angularVelocity.flange.tau,hydroPlant.angularVelocity.w,hydroPlant.controlDynamics.a[1],hydroPlant.controlDynamics.a[2],hydroPlant.controlDynamics.b[1],hydroPlant.controlDynamics.initType,hydroPlant.controlDynamics.u,hydroPlant.controlDynamics.x[1],hydroPlant.controlDynamics.x_scaled[1],hydroPlant.controlDynamics.x_start[1],hydroPlant.controlDynamics.y,hydroPlant.controlDynamics.y_start,hydroPlant.definiteReference,hydroPlant.frequency.k,hydroPlant.frequency.u,hydroPlant.frequency.y,hydroPlant.generator.V,hydroPlant.generator.V_nom,hydroPlant.generator.definiteReference,hydroPlant.generator.f_nom,hydroPlant.generator.flange.phi,hydroPlant.generator.flange.tau,hydroPlant.generator.p[1],hydroPlant.generator.p[2],hydroPlant.generator.phi,hydroPlant.generator.potentialReference,hydroPlant.generator.pp,hydroPlant.generator.synchronous,hydroPlant.generator.terminal.i[1],hydroPlant.generator.terminal.i[2],hydroPlant.generator.terminal.theta[1],hydroPlant.generator.terminal.theta[2],hydroPlant.generator.terminal.v[1],hydroPlant.generator.terminal.v[2],hydroPlant.generator.w,hydroPlant.hydroDispatch[1],hydroPlant.hydroDispatch[2],hydroPlant.hydroDispatch[3],hydroPlant.p[1],hydroPlant.p[2],hydroPlant.phi,hydroPlant.potentialReference,hydroPlant.powerControl.k,hydroPlant.powerControl.u,hydroPlant.powerControl.y,hydroPlant.primaryControl.Dzero.k,hydroPlant.primaryControl.Dzero.y,hydroPlant.primaryControl.FFzero.k,hydroPlant.primaryControl.FFzero.y,hydroPlant.primaryControl.Izero.k,hydroPlant.primaryControl.Izero.y,hydroPlant.primaryControl.Nd,hydroPlant.primaryControl.Ni,hydroPlant.primaryControl.P.k,hydroPlant.primaryControl.P.u,hydroPlant.primaryControl.P.y,hydroPlant.primaryControl.Td,hydroPlant.primaryControl.Ti,hydroPlant.primaryControl.addFF.k1,hydroPlant.primaryControl.addFF.k2,hydroPlant.primaryControl.addFF.u1,hydroPlant.primaryControl.addFF.u2,hydroPlant.primaryControl.addFF.y,hydroPlant.primaryControl.addP.k1,hydroPlant.primaryControl.addP.k2,hydroPlant.primaryControl.addP.u1,hydroPlant.primaryControl.addP.u2,hydroPlant.primaryControl.addP.y,hydroPlant.primaryControl.addPID.k1,hydroPlant.primaryControl.addPID.k2,hydroPlant.primaryControl.addPID.k3,hydroPlant.primaryControl.addPID.u1,hydroPlant.primaryControl.addPID.u2,hydroPlant.primaryControl.addPID.u3,hydroPlant.primaryControl.addPID.y,hydroPlant.primaryControl.controlError,hydroPlant.primaryControl.controllerType,hydroPlant.primaryControl.gainPID.k,hydroPlant.primaryControl.gainPID.u,hydroPlant.primaryControl.gainPID.y,hydroPlant.primaryControl.homotopyType,hydroPlant.primaryControl.initType,hydroPlant.primaryControl.k,hydroPlant.primaryControl.kFF,hydroPlant.primaryControl.limiter.homotopyType,hydroPlant.primaryControl.limiter.strict,hydroPlant.primaryControl.limiter.u,hydroPlant.primaryControl.limiter.uMax,hydroPlant.primaryControl.limiter.uMin,hydroPlant.primaryControl.limiter.y,hydroPlant.primaryControl.strict,hydroPlant.primaryControl.u_m,hydroPlant.primaryControl.u_s,hydroPlant.primaryControl.wd,hydroPlant.primaryControl.withFeedForward,hydroPlant.primaryControl.wp,hydroPlant.primaryControl.xd_start,hydroPlant.primaryControl.xi_start,hydroPlant.primaryControl.y,hydroPlant.primaryControl.yMax,hydroPlant.primaryControl.yMin,hydroPlant.primaryControl.y_start,hydroPlant.primaryControlMax,hydroPlant.reference.k,hydroPlant.reference.y,hydroPlant.reservoirLevel.initType,hydroPlant.reservoirLevel.k,hydroPlant.reservoirLevel.u,hydroPlant.reservoirLevel.use_reset,hydroPlant.reservoirLevel.use_set,hydroPlant.reservoirLevel.y,hydroPlant.reservoirLevel.y_start,hydroPlant.reservoirTurbine.flange.phi,hydroPlant.reservoirTurbine.flange.tau,hydroPlant.reservoirTurbine.tau,hydroPlant.reservoirTurbine.useSupport,hydroPlant.riverControl.k,hydroPlant.riverControl.u,hydroPlant.riverControl.y,hydroPlant.riverTurbine.flange.phi,hydroPlant.riverTurbine.flange.tau,hydroPlant.riverTurbine.tau,hydroPlant.riverTurbine.useSupport,hydroPlant.rotor.J,hydroPlant.rotor.a,hydroPlant.rotor.flange_a.phi,hydroPlant.rotor.flange_a.tau,hydroPlant.rotor.flange_b.phi,hydroPlant.rotor.flange_b.tau,hydroPlant.rotor.phi,hydroPlant.rotor.stateSelect,hydroPlant.rotor.w,hydroPlant.rotorRiver.J,hydroPlant.rotorRiver.a,hydroPlant.rotorRiver.flange_a.phi,hydroPlant.rotorRiver.flange_a.tau,hydroPlant.rotorRiver.flange_b.phi,hydroPlant.rotorRiver.flange_b.tau,hydroPlant.rotorRiver.phi,hydroPlant.rotorRiver.stateSelect,hydroPlant.rotorRiver.w,hydroPlant.sender.H,hydroPlant.sender.sendFreq.H,hydroPlant.sender.sendFreq.h,hydroPlant.sender.sendFreq.w_H,hydroPlant.sender.sendFreq.w_h,hydroPlant.sender.w,hydroPlant.terminal.i[1],hydroPlant.terminal.i[2],hydroPlant.terminal.theta[1],hydroPlant.terminal.theta[2],hydroPlant.terminal.v[1],hydroPlant.terminal.v[2],largeGrid.V,largeGrid.definiteReference,largeGrid.p[1],largeGrid.p[2],largeGrid.phi,largeGrid.potentialReference,largeGrid.terminal.i[1],largeGrid.terminal.i[2],largeGrid.terminal.theta[1],largeGrid.terminal.theta[2],largeGrid.terminal.v[1],largeGrid.terminal.v[2],line.I,line.L,line.R,line.V,line.i[1],line.i[2],line.i_start[1],line.i_start[2],line.omegaRef,line.p[1],line.p[2],line.phi,line.terminal_n.i[1],line.terminal_n.i[2],line.terminal_n.theta[1],line.terminal_n.theta[2],line.terminal_n.v[1],line.terminal_n.v[2],line.terminal_p.i[1],line.terminal_p.i[2],line.terminal_p.theta[1],line.terminal_p.theta[2],line.terminal_p.v[1],line.terminal_p.v[2],line.v[1],line.v[2],line.v_start[1],line.v_start[2],primary.k,primary.y,schedule.k,schedule.y,secondary.amplitude,secondary.falling,secondary.nperiod,secondary.offset,secondary.period,secondary.rising,secondary.startTime,secondary.width,secondary.y,system.alpha0,system.dynType,system.f,system.fType,system.f_lim[1],system.f_lim[2],system.f_nom,system.initime,system.omega,system.omega_nom,system.receiveFreq.H,system.receiveFreq.h,system.receiveFreq.w_H,system.receiveFreq.w_h,system.refType,system.synRef,system.theta,system.thetaRef,system.thetaRel,system.w_nom,time filterSimulationResults("PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-euler.diff.mat", vars={}, removeDescription=false) [Timeout 660] "[:1:1-1:0:writable] Error: Class filterSimulationResults not found in scope (looking for a function or record). " [Timeout remaining time 660] Failed to write the differing variables of PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-euler_res.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-euler.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-euler.diff.ref.mat", vars={}, removeDescription=false) [Timeout 660] "[:1:1-1:0:writable] Error: Class filterSimulationResults not found in scope (looking for a function or record). " [Timeout remaining time 660] Failed to write the differing variables of /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-euler.diff.ref.mat: "" (rm -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_fmpy.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_fmpy.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_fmpy_res.csv --output-variables Time hydroPlant.P_control hydroPlant.P_generator hydroPlant.reservoirLevel.y --start-time 0 --stop-time 86400 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 ../PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest2.fmu) > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_fmpy.pipe 2>&1) [Timeout 252.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 11.948296213522553]