Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.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.001296/0.001296, allocations: 115.8 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001485/0.001485, allocations: 216.6 kB / 23.74 MB, free: 4.656 MB / 14.72 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 1.474/1.474, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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.1939/0.1939, allocations: 38.53 MB / 352.5 MB, free: 12.55 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Tables",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Tables",fmuType="me",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.002147/0.002147, allocations: 67.89 kB / 492.5 MB, free: 4.914 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.319, allocations: 62.47 MB / 0.542 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.003094/0.3221, allocations: 1.507 MB / 0.5434 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009103/0.323, allocations: 0.5025 MB / 0.5439 GB, free: 14.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.755e-05/0.3231, allocations: 1.125 kB / 0.5439 GB, free: 14.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.3233, allocations: 24.53 kB / 0.544 GB, free: 14.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.3236, allocations: 75.58 kB / 0.544 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.3238, allocations: 85.09 kB / 0.5441 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.324, allocations: 74.67 kB / 0.5442 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.938e-05/0.324, allocations: 1.969 kB / 0.5442 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.3242, allocations: 37.84 kB / 0.5442 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.494e-05/0.3243, allocations: 23.67 kB / 0.5442 GB, free: 14.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.3243, allocations: 3.688 kB / 0.5443 GB, free: 14.67 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.3245, allocations: 103.8 kB / 0.5444 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.741e-05/0.3245, allocations: 22.39 kB / 0.5444 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.22e-05/0.3246, allocations: 24.72 kB / 0.5444 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.3248, allocations: 133.6 kB / 0.5445 GB, free: 14.51 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3248, allocations: 3.984 kB / 0.5445 GB, free: 14.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3248, allocations: 4 kB / 0.5445 GB, free: 14.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3248, allocations: 0 / 0.5445 GB, free: 14.5 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004643/0.3253, allocations: 326.9 kB / 0.5448 GB, free: 14.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.3253, allocations: 13.98 kB / 0.5449 GB, free: 14.17 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.156e-05/0.3254, allocations: 34.75 kB / 0.5449 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.3254, allocations: 9.453 kB / 0.5449 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.3256, allocations: 148.4 kB / 0.545 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.3256, allocations: 2.156 kB / 0.545 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.3256, allocations: 5.344 kB / 0.545 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.3258, allocations: 63.81 kB / 0.5451 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.3258, allocations: 0 / 0.5451 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.3258, allocations: 1.375 kB / 0.5451 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3258, allocations: 1.438 kB / 0.5451 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.715e-05/0.3258, allocations: 20.98 kB / 0.5451 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.3262, allocations: 256.2 kB / 0.5454 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.453e-05/0.3263, allocations: 35.2 kB / 0.5454 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.709e-05/0.3263, allocations: 15.66 kB / 0.5454 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.3264, allocations: 1.25 kB / 0.5454 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.3264, allocations: 31.5 kB / 0.5455 GB, free: 13.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3264, allocations: 5.219 kB / 0.5455 GB, free: 13.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001791/0.3266, allocations: 53.61 kB / 0.5455 GB, free: 13.49 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/0.3266, allocations: 82.05 kB / 0.5456 GB, free: 13.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.3268, allocations: 160.6 kB / 0.5457 GB, free: 13.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.3268, allocations: 25.7 kB / 0.5458 GB, free: 13.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.752e-05/0.3269, allocations: 99.36 kB / 0.5459 GB, free: 13.13 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.3269, allocations: 10.05 kB / 0.5459 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.327, allocations: 17.16 kB / 0.5459 GB, free: 13.1 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3271, allocations: 324.9 kB / 0.5462 GB, free: 12.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.776e-05/0.3271, allocations: 7.25 kB / 0.5462 GB, free: 12.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.542e-05/0.3271, allocations: 15.25 kB / 0.5462 GB, free: 12.76 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.541e-05/0.3272, allocations: 33.72 kB / 0.5463 GB, free: 12.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.3272, allocations: 4 kB / 0.5463 GB, free: 12.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.152e-05/0.3273, allocations: 52.92 kB / 0.5463 GB, free: 12.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3273, allocations: 4.312 kB / 0.5463 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3273, allocations: 1.375 kB / 0.5463 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3273, allocations: 336 / 0.5463 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.826e-05/0.3274, allocations: 4.219 kB / 0.5463 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.3274, allocations: 0 / 0.5463 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.605e-05/0.3274, allocations: 5.188 kB / 0.5463 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.3274, allocations: 1.5 kB / 0.5463 GB, free: 12.68 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.308e-05/0.3275, allocations: 123.1 kB / 0.5464 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.3275, allocations: 14.41 kB / 0.5465 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/0.3277, allocations: 57 kB / 0.5465 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3277, allocations: 1.062 kB / 0.5465 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3277, allocations: 0 / 0.5465 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.3277, allocations: 8.891 kB / 0.5465 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.3279, allocations: 141.9 kB / 0.5467 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.3279, allocations: 0 / 0.5467 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.715e-05/0.3279, allocations: 8.734 kB / 0.5467 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3279, allocations: 4 kB / 0.5467 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.3279, allocations: 1.219 kB / 0.5467 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3279, allocations: 0 / 0.5467 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.3279, allocations: 0 / 0.5467 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.328, allocations: 156.6 kB / 0.5468 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.644e-05/0.328, allocations: 5.328 kB / 0.5468 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.3281, allocations: 1.719 kB / 0.5468 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.053e-05/0.3281, allocations: 0 / 0.5468 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.225e-05/0.3281, allocations: 9.391 kB / 0.5468 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.3281, allocations: 5.125 kB / 0.5468 GB, free: 12.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001069/0.3282, allocations: 126.6 kB / 0.547 GB, free: 12.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3282, allocations: 0 / 0.547 GB, free: 12.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.3285, allocations: 32.91 kB / 0.547 GB, free: 12.03 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001919/0.3304, allocations: 1.036 MB / 0.548 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001023/0.3305, allocations: 14.7 kB / 0.548 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3305, allocations: 0 / 0.548 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.881e-05/0.3305, allocations: 10.47 kB / 0.548 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.3309, allocations: 18.61 kB / 0.548 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.3324, allocations: 1.38 MB / 0.5494 GB, free: 9.887 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.3327, allocations: 0.6902 MB / 0.5501 GB, free: 9.184 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.336e-05/0.3328, allocations: 20.36 kB / 0.5501 GB, free: 9.172 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.448e-05/0.3329, allocations: 24.92 kB / 0.5501 GB, free: 9.152 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3329, allocations: 0 / 0.5501 GB, free: 9.152 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03071/0.3636, allocations: 3.167 MB / 0.5532 GB, free: 7.266 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.38, allocations: 9.719 kB / 0.5532 GB, free: 7.258 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_latest_PowerSystems_Examples_Introductory_Tables.fmu > PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Tables.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.csv failed! Error: Could not read variable table.u in file PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.csv. Warning: Get data of variable table.u from file PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.csv failed! Error: Could not read variable table.y[1] in file PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.csv. Warning: Get data of variable table.y[1] from file PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.csv failed! Error: Could not read variable table.y[2] in file PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.csv. Warning: Get data of variable table.y[2] from file PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.407165057004022]