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.001086/0.001086, allocations: 72.27 kB / 9.879 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001682/0.002767, allocations: 449.6 kB / 10.32 MB, free: 392 kB / 10.45 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.001095/0.001095, allocations: 149.9 kB / 11.2 MB, free: 2.98 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001503/0.002598, allocations: 476.2 kB / 11.66 MB, free: 2.512 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.8854/0.8854, allocations: 177.2 MB / 189.5 MB, free: 3.73 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1598/1.045, allocations: 53.66 MB / 243.2 MB, free: 2.34 MB / 234.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.1521/0.1521, allocations: 29.43 MB / 273.4 MB, free: 4.328 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01393/0.166, allocations: 9.534 MB / 282.9 MB, free: 10.77 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+3.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest2",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 284.1 MB, free: 9.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.598e-06/1.153e-05, allocations: 2.312 kB / 284.1 MB, free: 9.531 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2): time 0.005342/0.005353, allocations: 5.439 MB / 289.6 MB, free: 4.059 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002193/0.007546, allocations: 2.165 MB / 291.7 MB, free: 1.887 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002469/0.007793, allocations: 31.75 kB / 291.8 MB, free: 1.855 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005869/0.00838, allocations: 322.1 kB / 292.1 MB, free: 1.539 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004773/0.008857, allocations: 453.3 kB / 292.5 MB, free: 1.094 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005418/0.009399, allocations: 470.8 kB / 293 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007117/0.01011, allocations: 1.041 MB / 294 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004316/0.01054, allocations: 498.5 kB / 294.5 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005143/0.01106, allocations: 0.6201 MB / 295.1 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003414/0.0114, allocations: 370.9 kB / 295.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.804e-05/0.01147, allocations: 79.94 kB / 295.6 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003531/0.01182, allocations: 387 kB / 296 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.01195, allocations: 207.4 kB / 296.2 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.01211, allocations: 207.5 kB / 296.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005635/0.01268, allocations: 0.6851 MB / 297 MB, free: 12.56 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.217e-05/0.01269, allocations: 3.984 kB / 297 MB, free: 12.56 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01269, allocations: 3.938 kB / 297.1 MB, free: 12.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.0127, allocations: 4 kB / 297.1 MB, free: 12.55 MB / 298.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.0009821/0.01368, allocations: 0.9769 MB / 298 MB, free: 11.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.01371, allocations: 8.031 kB / 298 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.767e-05/0.01378, allocations: 102.6 kB / 298.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006736/0.01445, allocations: 329.7 kB / 298.5 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004336/0.01489, allocations: 428 kB / 298.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.01492, allocations: 49.66 kB / 298.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.56e-05/0.01498, allocations: 60.38 kB / 299 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005066/0.01549, allocations: 0.5439 MB / 299.5 MB, free: 9.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.01551, allocations: 8.141 kB / 299.5 MB, free: 9.922 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.01554, allocations: 23.94 kB / 299.6 MB, free: 9.898 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/0.01557, allocations: 37.3 kB / 299.6 MB, free: 9.863 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003042/0.01588, allocations: 221 kB / 299.8 MB, free: 9.645 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.01761, allocations: 1.951 MB / 301.8 MB, free: 7.629 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003652/0.01797, allocations: 310.3 kB / 302.1 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.01811, allocations: 111.2 kB / 302.2 MB, free: 7.191 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.01815, allocations: 16.48 kB / 302.2 MB, free: 7.176 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000249/0.0184, allocations: 244.1 kB / 302.4 MB, free: 6.918 MB / 298.7 MB Notification: Performance of pre-optimization done (n=56): time 1.663e-06/0.0184, allocations: 0 / 302.4 MB, free: 6.918 MB / 298.7 MB Notification: Performance of matching and sorting (n=58): time 0.001135/0.01954, allocations: 0.8202 MB / 303.3 MB, free: 6.055 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.01958, allocations: 137.1 kB / 303.4 MB, free: 5.891 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.01981, allocations: 415.2 kB / 303.8 MB, free: 5.473 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.01984, allocations: 37.7 kB / 303.8 MB, free: 5.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.01994, allocations: 246.3 kB / 304.1 MB, free: 5.188 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.02005, allocations: 206.2 kB / 304.3 MB, free: 4.984 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.02016, allocations: 106.2 kB / 304.4 MB, free: 4.871 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.063e-05/0.02025, allocations: 374.6 kB / 304.7 MB, free: 4.496 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.02036, allocations: 112 kB / 304.8 MB, free: 4.379 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.02052, allocations: 264 kB / 305.1 MB, free: 4.059 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.0208, allocations: 327.4 kB / 305.4 MB, free: 3.695 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.0208, allocations: 0 / 305.4 MB, free: 3.695 MB / 298.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0005639/0.02136, allocations: 0.4956 MB / 305.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.02139, allocations: 36.2 kB / 306 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.944e-06/0.0214, allocations: 7.984 kB / 306 MB, free: 3.121 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003486/0.02175, allocations: 151.1 kB / 306.1 MB, free: 2.969 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.022, allocations: 123.8 kB / 306.2 MB, free: 2.848 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/0.0237, allocations: 3.032 MB / 309.3 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.02388, allocations: 39.97 kB / 309.3 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.02391, allocations: 16 kB / 309.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001861/0.02409, allocations: 200.7 kB / 309.5 MB, free: 15.33 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001542/0.02425, allocations: 260.1 kB / 309.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002633/0.02451, allocations: 320.5 kB / 310.1 MB, free: 14.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.264e-06/0.02451, allocations: 3.984 kB / 310.1 MB, free: 14.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.0004864/0.025, allocations: 475.8 kB / 310.6 MB, free: 14.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.02502, allocations: 33.7 kB / 310.6 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.02502, allocations: 4 kB / 310.6 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002398/0.02526, allocations: 127.1 kB / 310.7 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.0255, allocations: 115.9 kB / 310.8 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.027, allocations: 3.001 MB / 313.8 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.02718, allocations: 32.08 kB / 313.9 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.0272, allocations: 19.98 kB / 313.9 MB, free: 10.62 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,hydroPlant.reservoirLevel.local_reset,secondary.count,$PRE.secondary.count,secondary.T_start,$PRE.secondary.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 55 * 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.0001056/0.02731, allocations: 220 kB / 314.1 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.828e-05/0.02737, allocations: 55.94 kB / 314.1 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000417/0.02778, allocations: 379.9 kB / 314.5 MB, free: 9.953 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.02779, allocations: 7.938 kB / 314.5 MB, free: 9.945 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.02779, allocations: 8 kB / 314.5 MB, free: 9.938 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.0278, allocations: 3.984 kB / 314.5 MB, free: 9.934 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008553/0.02865, allocations: 0.9148 MB / 315.5 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.02866, allocations: 0 / 315.5 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003068/0.02896, allocations: 128 kB / 315.6 MB, free: 8.832 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001022/0.02907, allocations: 52.5 kB / 315.6 MB, free: 8.773 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/0.02909, allocations: 19.98 kB / 315.6 MB, free: 8.754 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009584/0.03005, allocations: 2.443 MB / 318.1 MB, free: 6.094 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.03005, allocations: 0 / 318.1 MB, free: 6.094 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005353/0.03059, allocations: 0.619 MB / 318.7 MB, free: 5.434 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.03069, allocations: 83.52 kB / 318.8 MB, free: 5.352 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/0.03073, allocations: 19.94 kB / 318.8 MB, free: 5.332 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.03092, allocations: 32.08 kB / 318.8 MB, free: 5.301 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.271e-05/0.031, allocations: 52.39 kB / 318.9 MB, free: 5.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.03102, allocations: 16 kB / 318.9 MB, free: 5.234 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001163/0.03113, allocations: 172.4 kB / 319.1 MB, free: 5.066 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03113, allocations: 4 kB / 319.1 MB, free: 5.062 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004785/0.03161, allocations: 264 kB / 319.3 MB, free: 4.805 MB / 314.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.001011/0.03262, allocations: 1.093 MB / 320.4 MB, free: 3.652 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.03373, allocations: 1.183 MB / 321.6 MB, free: 2.375 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/0.03374, allocations: 8 kB / 321.6 MB, free: 2.367 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003034/0.03405, allocations: 414.2 kB / 322 MB, free: 1.938 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.03447, allocations: 133.5 kB / 322.2 MB, free: 1.812 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003416/0.03789, allocations: 3.31 MB / 325.5 MB, free: 14.34 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.03801, allocations: 176.2 kB / 325.6 MB, free: 14.14 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002093/0.03822, allocations: 80.58 kB / 325.7 MB, free: 14.06 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003735/0.0386, allocations: 347.2 kB / 326.1 MB, free: 13.72 MB / 330.7 MB Notification: Performance of SimCode: time 9.72e-07/0.0386, allocations: 0 / 326.1 MB, free: 13.72 MB / 330.7 MB Notification: FMU-only work: backend 0.0009014, simCode 0.00162, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.24/0.2786, allocations: 23.9 MB / 350 MB, free: 39.13 MB / 330.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 3.078/3.356, allocations: 15.77 kB / 350 MB, free: 39.13 MB / 330.7 MB " [Timeout remaining time 657] (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: 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 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 (rm -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_fmpy-fmi3-cs-cvode.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 86400 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 34.56 ../PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest2_fmpy-fmi3-cs-cvode.fmu) > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] fmpy-fmi3-cs-cvode timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 6.1470868634060025]