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.002131/0.002131, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002399/0.002399, allocations: 211.2 kB / 23.73 MB, free: 4.387 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.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.1829/0.1829, allocations: 38.55 MB / 352.5 MB, free: 12.3 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.002182/0.002182, allocations: 67.89 kB / 492.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3474, allocations: 62.47 MB / 0.5419 GB, free: 236 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002833/0.3502, allocations: 1.484 MB / 0.5434 GB, free: 15.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008851/0.3511, allocations: 479.8 kB / 0.5438 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-05/0.3511, allocations: 5.156 kB / 0.5438 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.3513, allocations: 20.31 kB / 0.5439 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.3515, allocations: 77.06 kB / 0.5439 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.3517, allocations: 87.86 kB / 0.544 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.3518, allocations: 69.86 kB / 0.5441 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.375e-05/0.3518, allocations: 3.031 kB / 0.5441 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.352, allocations: 36.91 kB / 0.5441 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.371e-05/0.352, allocations: 32.12 kB / 0.5441 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.352, allocations: 2.781 kB / 0.5441 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.3522, allocations: 94.47 kB / 0.5442 GB, free: 14.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.805e-05/0.3522, allocations: 22.33 kB / 0.5443 GB, free: 14.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.056e-05/0.3523, allocations: 17.75 kB / 0.5443 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.3525, allocations: 134.7 kB / 0.5444 GB, free: 14.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3525, allocations: 7.938 kB / 0.5444 GB, free: 14.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3525, allocations: 1.781 kB / 0.5444 GB, free: 14.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.666e-06/0.3525, allocations: 0 / 0.5444 GB, free: 14.38 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.0004078/0.3529, allocations: 325.2 kB / 0.5447 GB, free: 14.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.3529, allocations: 13.95 kB / 0.5447 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.678e-05/0.353, allocations: 35.94 kB / 0.5448 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.353, allocations: 9.984 kB / 0.5448 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.3532, allocations: 149.4 kB / 0.5449 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.3532, allocations: 2.438 kB / 0.5449 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.3532, allocations: 6.094 kB / 0.5449 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.3533, allocations: 89.02 kB / 0.545 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.3534, allocations: 0 / 0.545 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.3534, allocations: 0 / 0.545 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-06/0.3534, allocations: 1.156 kB / 0.545 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.049e-05/0.3534, allocations: 22.45 kB / 0.545 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.3537, allocations: 251.3 kB / 0.5453 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.922e-05/0.3538, allocations: 38.88 kB / 0.5453 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.252e-05/0.3538, allocations: 12.98 kB / 0.5453 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.3539, allocations: 1.375 kB / 0.5453 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.3539, allocations: 35.88 kB / 0.5454 GB, free: 13.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3539, allocations: 4 kB / 0.5454 GB, free: 13.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001561/0.3541, allocations: 59.52 kB / 0.5454 GB, free: 13.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/0.3541, allocations: 78.48 kB / 0.5455 GB, free: 13.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.3543, allocations: 153.6 kB / 0.5456 GB, free: 13.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.3543, allocations: 27.08 kB / 0.5457 GB, free: 13.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.292e-05/0.3544, allocations: 98.83 kB / 0.5458 GB, free: 12.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.3544, allocations: 14.64 kB / 0.5458 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.3544, allocations: 12.47 kB / 0.5458 GB, free: 12.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3546, allocations: 325.5 kB / 0.5461 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.496e-05/0.3546, allocations: 4.125 kB / 0.5461 GB, free: 12.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.971e-05/0.3546, allocations: 52.86 kB / 0.5462 GB, free: 12.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.644e-05/0.3547, allocations: 21.09 kB / 0.5462 GB, free: 12.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3547, allocations: 5.312 kB / 0.5462 GB, free: 12.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.97e-05/0.3547, allocations: 51.39 kB / 0.5462 GB, free: 12.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.3548, allocations: 5.5 kB / 0.5462 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.085e-06/0.3548, allocations: 0 / 0.5462 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.3548, allocations: 1.344 kB / 0.5462 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.298e-05/0.3548, allocations: 4 kB / 0.5462 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/0.3548, allocations: 0 / 0.5462 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.741e-05/0.3548, allocations: 5.25 kB / 0.5462 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.3548, allocations: 5.25 kB / 0.5463 GB, free: 12.5 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 8.53e-05/0.3549, allocations: 124.1 kB / 0.5464 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.355, allocations: 6.953 kB / 0.5464 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.3551, allocations: 57.3 kB / 0.5464 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3551, allocations: 4.031 kB / 0.5464 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3551, allocations: 5.141 kB / 0.5464 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.3551, allocations: 3.938 kB / 0.5464 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.3553, allocations: 137.1 kB / 0.5466 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3553, allocations: 1 kB / 0.5466 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.655e-05/0.3553, allocations: 7.703 kB / 0.5466 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.3553, allocations: 1.094 kB / 0.5466 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.3553, allocations: 9.094 kB / 0.5466 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3553, allocations: 3.938 kB / 0.5466 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3553, allocations: 3.938 kB / 0.5466 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.3554, allocations: 153 kB / 0.5467 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.659e-05/0.3555, allocations: 6.484 kB / 0.5468 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.3555, allocations: 1.594 kB / 0.5468 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.108e-05/0.3555, allocations: 0 / 0.5468 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.18e-05/0.3555, allocations: 5.297 kB / 0.5468 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.3555, allocations: 4.812 kB / 0.5468 GB, free: 11.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001142/0.3557, allocations: 126.1 kB / 0.5469 GB, free: 11.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3557, allocations: 0 / 0.5469 GB, free: 11.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.3559, allocations: 32.69 kB / 0.5469 GB, free: 11.85 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.001909/0.3578, allocations: 1.06 MB / 0.548 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.479e-05/0.3579, allocations: 14.2 kB / 0.548 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3579, allocations: 1.312 kB / 0.548 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.751e-05/0.3579, allocations: 17.19 kB / 0.548 GB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.3583, allocations: 19.36 kB / 0.548 GB, free: 11.01 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.3597, allocations: 1.374 MB / 0.5493 GB, free: 9.711 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.527e-05/0.3598, allocations: 74.05 kB / 0.5494 GB, free: 9.633 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.198e-05/0.3598, allocations: 16.98 kB / 0.5494 GB, free: 9.625 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.048e-05/0.3599, allocations: 24.92 kB / 0.5495 GB, free: 9.605 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3599, allocations: 0 / 0.5495 GB, free: 9.605 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03243/0.3923, allocations: 3.619 MB / 0.553 GB, free: 7.262 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.68, allocations: 11.08 kB / 0.553 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.716693558264524]