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.001408/0.001408, allocations: 117.8 kB / 20.44 MB, free: 4.594 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.001061/0.001061, allocations: 213.5 kB / 23.73 MB, free: 2.125 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.9441/0.9441, allocations: 230.6 MB / 257.5 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.123/0.123, allocations: 38.59 MB / 352.5 MB, free: 11.36 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: 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.001663/0.001663, allocations: 79.81 kB / 494.1 MB, free: 3.793 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1071, allocations: 62.48 MB / 0.5435 GB, free: 5.191 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2): time 0.005175/0.1123, allocations: 5.339 MB / 0.5487 GB, free: 15.82 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002554/0.1149, allocations: 2.489 MB / 0.5512 GB, free: 13.32 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003077/0.1152, allocations: 27.81 kB / 0.5512 GB, free: 13.29 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008617/0.116, allocations: 358.1 kB / 0.5515 GB, free: 12.94 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006717/0.1167, allocations: 477.8 kB / 0.552 GB, free: 12.47 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006369/0.1173, allocations: 469.4 kB / 0.5524 GB, free: 12.02 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007957/0.1181, allocations: 1.076 MB / 0.5535 GB, free: 10.93 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000524/0.1187, allocations: 492.5 kB / 0.554 GB, free: 10.45 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004213/0.1191, allocations: 442.3 kB / 0.5544 GB, free: 10.02 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003761/0.1195, allocations: 410.1 kB / 0.5548 GB, free: 9.613 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.838e-05/0.1195, allocations: 72 kB / 0.5548 GB, free: 9.543 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004465/0.12, allocations: 446.9 kB / 0.5553 GB, free: 9.105 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001754/0.1202, allocations: 235.3 kB / 0.5555 GB, free: 8.875 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002089/0.1204, allocations: 298.5 kB / 0.5558 GB, free: 8.582 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009941/0.1214, allocations: 1.09 MB / 0.5568 GB, free: 7.488 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1214, allocations: 0 / 0.5568 GB, free: 7.488 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1214, allocations: 4 kB / 0.5568 GB, free: 7.484 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.1214, allocations: 0 / 0.5568 GB, free: 7.484 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.001409/0.1228, allocations: 1.057 MB / 0.5579 GB, free: 6.387 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1228, allocations: 12.03 kB / 0.5579 GB, free: 6.375 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.254e-05/0.1229, allocations: 102.7 kB / 0.558 GB, free: 6.266 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007216/0.1236, allocations: 184.3 kB / 0.5582 GB, free: 6.086 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006196/0.1242, allocations: 0.4986 MB / 0.5587 GB, free: 5.559 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.1243, allocations: 45.62 kB / 0.5587 GB, free: 5.516 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.277e-05/0.1243, allocations: 64.3 kB / 0.5588 GB, free: 5.453 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009591/0.1253, allocations: 0.8453 MB / 0.5596 GB, free: 4.555 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.1253, allocations: 11.94 kB / 0.5596 GB, free: 4.543 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.348e-05/0.1254, allocations: 20 kB / 0.5596 GB, free: 4.523 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-05/0.1254, allocations: 33.3 kB / 0.5596 GB, free: 4.492 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009402/0.1264, allocations: 0.7233 MB / 0.5604 GB, free: 3.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002545/0.1289, allocations: 2.557 MB / 0.5628 GB, free: 1.125 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009712/0.1299, allocations: 0.5381 MB / 0.5634 GB, free: 0.5703 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004123/0.1303, allocations: 330.9 kB / 0.5637 GB, free: 248 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.716e-05/0.1303, allocations: 8.438 kB / 0.5637 GB, free: 240 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1982/0.3285, allocations: 418.4 kB / 0.5641 GB, free: 28.08 MB / 426.7 MB Notification: Performance of pre-optimization done (n=56): time 3.166e-06/0.3285, allocations: 2.719 kB / 0.5641 GB, free: 28.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=58): time 0.002741/0.3312, allocations: 1.977 MB / 0.566 GB, free: 27.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.3313, allocations: 140.5 kB / 0.5662 GB, free: 27.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004411/0.3317, allocations: 489.7 kB / 0.5666 GB, free: 27.49 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.3318, allocations: 37.39 kB / 0.5667 GB, free: 27.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.3319, allocations: 317.1 kB / 0.567 GB, free: 27.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.873e-05/0.332, allocations: 204.3 kB / 0.5672 GB, free: 27.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.3321, allocations: 114.6 kB / 0.5673 GB, free: 27.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.867e-05/0.3322, allocations: 371.1 kB / 0.5676 GB, free: 26.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/0.3325, allocations: 319.1 kB / 0.5679 GB, free: 26.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/0.3329, allocations: 488.9 kB / 0.5684 GB, free: 26.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007459/0.3337, allocations: 0.7241 MB / 0.5691 GB, free: 26.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3337, allocations: 1.438 kB / 0.5691 GB, free: 26.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001231/0.3349, allocations: 1.038 MB / 0.5701 GB, free: 25.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.3349, allocations: 34.23 kB / 0.5702 GB, free: 25.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.3349, allocations: 6.219 kB / 0.5702 GB, free: 25.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003945/0.3353, allocations: 188.8 kB / 0.5703 GB, free: 25.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.3356, allocations: 117 kB / 0.5704 GB, free: 25.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002375/0.338, allocations: 3.891 MB / 0.5742 GB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.3382, allocations: 59.17 kB / 0.5743 GB, free: 22.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.915e-05/0.3383, allocations: 28.48 kB / 0.5743 GB, free: 22.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004863/0.3388, allocations: 470.3 kB / 0.5748 GB, free: 22.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004114/0.3392, allocations: 478.1 kB / 0.5752 GB, free: 22.06 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007225/0.3399, allocations: 0.7035 MB / 0.5759 GB, free: 21.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.185e-06/0.3399, allocations: 1.062 kB / 0.5759 GB, free: 21.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001103/0.341, allocations: 0.9548 MB / 0.5769 GB, free: 21.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.341, allocations: 38.2 kB / 0.5769 GB, free: 21.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.341, allocations: 6.078 kB / 0.5769 GB, free: 21.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002968/0.3413, allocations: 169.8 kB / 0.5771 GB, free: 21.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.3416, allocations: 113.2 kB / 0.5772 GB, free: 21.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.3436, allocations: 3.705 MB / 0.5808 GB, free: 17.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.3438, allocations: 54.19 kB / 0.5808 GB, free: 17.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.3438, allocations: 31.89 kB / 0.5809 GB, free: 17.95 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.000102/0.3439, allocations: 207.2 kB / 0.5811 GB, free: 17.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.476e-05/0.344, allocations: 65.39 kB / 0.5811 GB, free: 17.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.3451, allocations: 0.8255 MB / 0.5819 GB, free: 17.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3451, allocations: 12.47 kB / 0.5819 GB, free: 17.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3451, allocations: 0.9688 kB / 0.5819 GB, free: 17.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.3451, allocations: 4.375 kB / 0.582 GB, free: 17.37 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.3468, allocations: 1.554 MB / 0.5835 GB, free: 16.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3468, allocations: 4.5 kB / 0.5835 GB, free: 16.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003529/0.3472, allocations: 130.4 kB / 0.5836 GB, free: 16.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001323/0.3473, allocations: 68.52 kB / 0.5837 GB, free: 16.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.483e-05/0.3473, allocations: 15.06 kB / 0.5837 GB, free: 16.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009644/0.3483, allocations: 2.68 MB / 0.5863 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3483, allocations: 1.844 kB / 0.5863 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.3498, allocations: 1.311 MB / 0.5876 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/0.35, allocations: 121.6 kB / 0.5877 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.35, allocations: 13.03 kB / 0.5877 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002481/0.3503, allocations: 54.36 kB / 0.5878 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.3504, allocations: 65.81 kB / 0.5878 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.3504, allocations: 16.8 kB / 0.5878 GB, free: 13.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003367/0.3507, allocations: 343.4 kB / 0.5882 GB, free: 13.03 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3507, allocations: 0 / 0.5882 GB, free: 13.03 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006904/0.3514, allocations: 259.8 kB / 0.5884 GB, free: 13 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.001738/0.3532, allocations: 1.871 MB / 0.5902 GB, free: 11.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002131/0.3553, allocations: 1.741 MB / 0.5919 GB, free: 10.78 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.3553, allocations: 1.188 kB / 0.5919 GB, free: 10.78 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000712/0.356, allocations: 0.5813 MB / 0.5925 GB, free: 10.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004947/0.3565, allocations: 129.1 kB / 0.5926 GB, free: 10.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006776/0.3633, allocations: 6.476 MB / 0.599 GB, free: 6.859 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.3636, allocations: 352.3 kB / 0.5993 GB, free: 6.738 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003113/0.3639, allocations: 151.5 kB / 0.5994 GB, free: 6.727 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.3642, allocations: 232.7 kB / 0.5997 GB, free: 6.559 MB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/0.3642, allocations: 0 / 0.5997 GB, free: 6.559 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1202/0.4844, allocations: 17.09 MB / 0.6163 GB, free: 11.46 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.729/9.213, allocations: 12.06 kB / 0.6164 GB, free: 11.45 MB / 442.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: Could not read variable time in file PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-euler_res.mat. Error: Error getting time " [Timeout remaining time 660] "" Variables in the reference: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: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [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: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [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 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: 12.233916843309999]