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.001375/0.001375, allocations: 104.7 kB / 20.43 MB, free: 4.609 MB / 13.93 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.001386/0.001386, allocations: 221.5 kB / 23.73 MB, free: 2.145 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.9089/0.9089, allocations: 230.6 MB / 257.5 MB, free: 9.578 MB / 202.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.1153/0.1153, allocations: 38.57 MB / 352.5 MB, free: 11.31 MB / 282.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 68.19 kB / 493.3 MB, free: 4.551 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08296/0.08432, allocations: 62.5 MB / 0.5428 GB, free: 5.957 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2): time 0.004697/0.08902, allocations: 5.343 MB / 0.548 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002532/0.09155, allocations: 2.481 MB / 0.5504 GB, free: 14.09 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000334/0.09189, allocations: 27.81 kB / 0.5504 GB, free: 14.06 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007307/0.09262, allocations: 359.7 kB / 0.5508 GB, free: 13.71 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006808/0.0933, allocations: 473.8 kB / 0.5512 GB, free: 13.25 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006701/0.09397, allocations: 473.4 kB / 0.5517 GB, free: 12.79 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008292/0.0948, allocations: 1.084 MB / 0.5527 GB, free: 11.7 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005134/0.09531, allocations: 488.4 kB / 0.5532 GB, free: 11.21 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000493/0.0958, allocations: 446.3 kB / 0.5536 GB, free: 10.78 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004072/0.09621, allocations: 410.2 kB / 0.554 GB, free: 10.38 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.144e-05/0.09628, allocations: 75.98 kB / 0.5541 GB, free: 10.3 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004564/0.09674, allocations: 438.9 kB / 0.5545 GB, free: 9.871 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.09689, allocations: 239.3 kB / 0.5547 GB, free: 9.637 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.09707, allocations: 294.5 kB / 0.555 GB, free: 9.348 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008362/0.09791, allocations: 1.094 MB / 0.5561 GB, free: 8.25 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.09791, allocations: 7.938 kB / 0.5561 GB, free: 8.242 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.09791, allocations: 0 / 0.5561 GB, free: 8.242 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.09792, allocations: 0 / 0.5561 GB, free: 8.242 MB / 426.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.001281/0.09921, allocations: 1.053 MB / 0.5571 GB, free: 7.148 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.09924, allocations: 12.03 kB / 0.5571 GB, free: 7.137 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.89e-05/0.09932, allocations: 102.7 kB / 0.5572 GB, free: 7.027 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006943/0.1, allocations: 192.3 kB / 0.5574 GB, free: 6.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005763/0.1006, allocations: 0.4908 MB / 0.5579 GB, free: 6.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.1006, allocations: 41.69 kB / 0.5579 GB, free: 6.281 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.174e-05/0.1007, allocations: 60.33 kB / 0.558 GB, free: 6.223 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008414/0.1015, allocations: 0.8568 MB / 0.5588 GB, free: 5.312 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.1015, allocations: 0 / 0.5588 GB, free: 5.312 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.673e-05/0.1016, allocations: 24 kB / 0.5588 GB, free: 5.289 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.277e-05/0.1016, allocations: 37.3 kB / 0.5589 GB, free: 5.254 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008505/0.1025, allocations: 0.7272 MB / 0.5596 GB, free: 4.527 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002289/0.1047, allocations: 2.549 MB / 0.5621 GB, free: 1.891 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007533/0.1055, allocations: 0.542 MB / 0.5626 GB, free: 1.332 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003753/0.1059, allocations: 330.9 kB / 0.5629 GB, free: 1.004 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.1059, allocations: 8.422 kB / 0.5629 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004399/0.1063, allocations: 417.2 kB / 0.5633 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of pre-optimization done (n=56): time 1.744e-06/0.1063, allocations: 0 / 0.5633 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of matching and sorting (n=58): time 0.171/0.2773, allocations: 1.976 MB / 0.5653 GB, free: 18.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.2773, allocations: 141 kB / 0.5654 GB, free: 18.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003954/0.2777, allocations: 488.3 kB / 0.5659 GB, free: 18.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.2778, allocations: 36.8 kB / 0.5659 GB, free: 18.65 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.2779, allocations: 319.3 kB / 0.5662 GB, free: 18.51 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.849e-05/0.278, allocations: 203.5 kB / 0.5664 GB, free: 18.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.2781, allocations: 116.3 kB / 0.5665 GB, free: 18.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.417e-05/0.2781, allocations: 375.5 kB / 0.5669 GB, free: 18.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003354/0.2785, allocations: 317.1 kB / 0.5672 GB, free: 18.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003469/0.2788, allocations: 492.2 kB / 0.5676 GB, free: 17.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006487/0.2795, allocations: 0.7242 MB / 0.5683 GB, free: 17.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2795, allocations: 0 / 0.5683 GB, free: 17.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001116/0.2806, allocations: 1.033 MB / 0.5693 GB, free: 17.51 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.2806, allocations: 35.69 kB / 0.5694 GB, free: 17.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.2806, allocations: 3.656 kB / 0.5694 GB, free: 17.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003482/0.281, allocations: 191.5 kB / 0.5696 GB, free: 17.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.2812, allocations: 113.3 kB / 0.5697 GB, free: 17.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/0.2834, allocations: 3.886 MB / 0.5735 GB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/0.2836, allocations: 69.17 kB / 0.5735 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.2837, allocations: 26.72 kB / 0.5736 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004259/0.2841, allocations: 473.3 kB / 0.574 GB, free: 14.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003568/0.2844, allocations: 475.7 kB / 0.5745 GB, free: 14.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006591/0.2851, allocations: 0.7053 MB / 0.5752 GB, free: 14.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.684e-06/0.2851, allocations: 0 / 0.5752 GB, free: 14.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001008/0.2861, allocations: 0.9549 MB / 0.5761 GB, free: 14.22 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.2861, allocations: 37.97 kB / 0.5761 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.2861, allocations: 2.875 kB / 0.5761 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002655/0.2864, allocations: 171 kB / 0.5763 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.2866, allocations: 117.6 kB / 0.5764 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/0.2884, allocations: 3.694 MB / 0.58 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.2887, allocations: 62.38 kB / 0.5801 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.2887, allocations: 21.77 kB / 0.5801 GB, free: 11.41 MB / 426.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 0.0001043/0.2888, allocations: 217 kB / 0.5803 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.367e-05/0.2889, allocations: 65.78 kB / 0.5804 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009679/0.2898, allocations: 0.8232 MB / 0.5812 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.2898, allocations: 7.656 kB / 0.5812 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.2898, allocations: 4.5 kB / 0.5812 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.2898, allocations: 4.25 kB / 0.5812 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.2916, allocations: 1.548 MB / 0.5827 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.2916, allocations: 5.25 kB / 0.5827 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003168/0.2919, allocations: 134.5 kB / 0.5828 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001141/0.292, allocations: 66.97 kB / 0.5829 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.292, allocations: 17.02 kB / 0.5829 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008568/0.2929, allocations: 2.682 MB / 0.5855 GB, free: 7.426 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2929, allocations: 0 / 0.5855 GB, free: 7.426 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.2942, allocations: 1.311 MB / 0.5868 GB, free: 6.793 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.2943, allocations: 116.7 kB / 0.5869 GB, free: 6.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/0.2944, allocations: 14.12 kB / 0.5869 GB, free: 6.723 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.2946, allocations: 58.88 kB / 0.587 GB, free: 6.715 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.888e-05/0.2947, allocations: 63.59 kB / 0.587 GB, free: 6.699 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-05/0.2947, allocations: 20.41 kB / 0.5871 GB, free: 6.695 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002851/0.295, allocations: 347.2 kB / 0.5874 GB, free: 6.539 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.295, allocations: 0 / 0.5874 GB, free: 6.539 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006373/0.2956, allocations: 256.6 kB / 0.5876 GB, free: 6.512 MB / 426.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.001424/0.2971, allocations: 1.872 MB / 0.5895 GB, free: 5.344 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001691/0.2987, allocations: 1.739 MB / 0.5912 GB, free: 4.336 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2987, allocations: 1.062 kB / 0.5912 GB, free: 4.336 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006053/0.2994, allocations: 0.5804 MB / 0.5917 GB, free: 4.008 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.2998, allocations: 129 kB / 0.5919 GB, free: 3.969 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00613/0.3059, allocations: 6.471 MB / 0.5982 GB, free: 484 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.3062, allocations: 350.4 kB / 0.5985 GB, free: 368 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003178/0.3065, allocations: 150.9 kB / 0.5987 GB, free: 356 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.3067, allocations: 232.4 kB / 0.5989 GB, free: 180 kB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/0.3067, allocations: 0 / 0.5989 GB, free: 180 kB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08416/0.3909, allocations: 17.09 MB / 0.6156 GB, free: 7.32 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.391/7.782, allocations: 3.984 kB / 0.6156 GB, free: 7.316 MB / 442.7 MB " [Timeout remaining time 652] (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: 10.547591561451554]