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.0009784/0.0009784, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008372/0.0008372, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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.9051/0.9051, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2399/0.2399, allocations: 29.41 MB / 290.1 MB, free: 2.457 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.936e-06/2.936e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.275e-05, allocations: 4.391 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.001969/0.001991, allocations: 1.495 MB / 431.7 MB, free: 12.12 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000537/0.002528, allocations: 490.6 kB / 432.2 MB, free: 11.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.556e-05/0.002574, allocations: 0 / 432.2 MB, free: 11.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.002768, allocations: 23.84 kB / 432.2 MB, free: 11.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.003001, allocations: 83.56 kB / 432.3 MB, free: 11.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.003185, allocations: 83.64 kB / 432.3 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.003326, allocations: 63.83 kB / 432.4 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.003371, allocations: 8.172 kB / 432.4 MB, free: 11.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.003514, allocations: 47.78 kB / 432.5 MB, free: 11.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.908e-05/0.003583, allocations: 23.91 kB / 432.5 MB, free: 11.31 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.003599, allocations: 4 kB / 432.5 MB, free: 11.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.003725, allocations: 87.88 kB / 432.6 MB, free: 11.22 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.776e-05/0.003793, allocations: 23.92 kB / 432.6 MB, free: 11.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.103e-05/0.003824, allocations: 15.92 kB / 432.6 MB, free: 11.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.004032, allocations: 139.6 kB / 432.8 MB, free: 11.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.004034, allocations: 0 / 432.8 MB, free: 11.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.004035, allocations: 0 / 432.8 MB, free: 11.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.00404, allocations: 3.938 kB / 432.8 MB, free: 11.04 MB / 410.7 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.0003848/0.004425, allocations: 337.5 kB / 433.1 MB, free: 10.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.004468, allocations: 11.98 kB / 433.1 MB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.415e-05/0.004502, allocations: 38.75 kB / 433.1 MB, free: 10.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.004533, allocations: 8.891 kB / 433.1 MB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.004699, allocations: 134.5 kB / 433.3 MB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.004709, allocations: 8.375 kB / 433.3 MB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.004717, allocations: 384 / 433.3 MB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.004845, allocations: 85.67 kB / 433.4 MB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.004853, allocations: 11.88 kB / 433.4 MB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.004861, allocations: 0 / 433.4 MB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.004865, allocations: 0 / 433.4 MB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.984e-05/0.004905, allocations: 15.98 kB / 433.4 MB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002745/0.005179, allocations: 255.9 kB / 433.6 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.258e-05/0.005252, allocations: 42.56 kB / 433.7 MB, free: 9.977 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.779e-05/0.00527, allocations: 12.86 kB / 433.7 MB, free: 9.961 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.00529, allocations: 4 kB / 433.7 MB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.00531, allocations: 30.56 kB / 433.7 MB, free: 9.918 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.005311, allocations: 3.984 kB / 433.7 MB, free: 9.914 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001379/0.005449, allocations: 57.58 kB / 433.8 MB, free: 9.852 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.005485, allocations: 81.11 kB / 433.9 MB, free: 9.754 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.005604, allocations: 160.7 kB / 434 MB, free: 9.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.005617, allocations: 25.7 kB / 434.1 MB, free: 9.559 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.261e-05/0.00566, allocations: 100.1 kB / 434.2 MB, free: 9.457 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.005679, allocations: 7.953 kB / 434.2 MB, free: 9.449 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.005714, allocations: 21.72 kB / 434.2 MB, free: 9.422 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.801e-05/0.005802, allocations: 322.8 kB / 434.5 MB, free: 9.098 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.443e-05/0.005817, allocations: 4 kB / 434.5 MB, free: 9.094 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.014e-05/0.005847, allocations: 47.42 kB / 434.5 MB, free: 9.035 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.897e-05/0.005896, allocations: 24.84 kB / 434.6 MB, free: 9.008 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.005898, allocations: 0 / 434.6 MB, free: 9.008 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.636e-05/0.005954, allocations: 53.64 kB / 434.6 MB, free: 8.949 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.005967, allocations: 4 kB / 434.6 MB, free: 8.945 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.005971, allocations: 0 / 434.6 MB, free: 8.945 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.005982, allocations: 0 / 434.6 MB, free: 8.945 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.132e-05/0.006033, allocations: 11.97 kB / 434.6 MB, free: 8.934 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.006038, allocations: 0 / 434.6 MB, free: 8.934 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.725e-05/0.006055, allocations: 7.953 kB / 434.6 MB, free: 8.926 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.006059, allocations: 0 / 434.6 MB, free: 8.926 MB / 410.7 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 5.73e-05/0.006116, allocations: 121.8 kB / 434.8 MB, free: 8.797 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.006132, allocations: 7.953 kB / 434.8 MB, free: 8.789 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.77e-05/0.00622, allocations: 58.03 kB / 434.8 MB, free: 8.719 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.006222, allocations: 3.938 kB / 434.8 MB, free: 8.715 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.006225, allocations: 0 / 434.8 MB, free: 8.715 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.006229, allocations: 3.984 kB / 434.8 MB, free: 8.711 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.006369, allocations: 144.6 kB / 435 MB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.00637, allocations: 4 kB / 435 MB, free: 8.523 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.847e-05/0.006388, allocations: 11.98 kB / 435 MB, free: 8.512 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.00639, allocations: 3.938 kB / 435 MB, free: 8.508 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.006396, allocations: 0 / 435 MB, free: 8.508 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.006398, allocations: 0 / 435 MB, free: 8.508 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.006399, allocations: 0 / 435 MB, free: 8.508 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.755e-05/0.006476, allocations: 147.4 kB / 435.1 MB, free: 8.348 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.194e-05/0.006488, allocations: 4 kB / 435.1 MB, free: 8.344 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.0065, allocations: 0 / 435.1 MB, free: 8.344 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.212e-05/0.006532, allocations: 7.938 kB / 435.2 MB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.006548, allocations: 8.406 kB / 435.2 MB, free: 8.328 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.00655, allocations: 4 kB / 435.2 MB, free: 8.324 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.313e-05/0.006624, allocations: 119.2 kB / 435.3 MB, free: 8.207 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006624, allocations: 0 / 435.3 MB, free: 8.207 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000204/0.006828, allocations: 35.83 kB / 435.3 MB, free: 8.172 MB / 410.7 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.001085/0.007913, allocations: 1.064 MB / 436.4 MB, free: 7.277 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.882e-05/0.007992, allocations: 15.98 kB / 436.4 MB, free: 7.262 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.007994, allocations: 3.938 kB / 436.4 MB, free: 7.258 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.987e-06/0.008003, allocations: 11.94 kB / 436.4 MB, free: 7.246 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.00826, allocations: 15.98 kB / 436.4 MB, free: 7.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008885/0.009149, allocations: 1.363 MB / 437.8 MB, free: 5.781 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001847/0.009334, allocations: 75.33 kB / 437.9 MB, free: 5.688 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.445e-05/0.009388, allocations: 15.98 kB / 437.9 MB, free: 5.672 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/0.009437, allocations: 28.48 kB / 437.9 MB, free: 5.645 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.009438, allocations: 0 / 437.9 MB, free: 5.645 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01705/0.02649, allocations: 3.788 MB / 441.7 MB, free: 1.875 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.032/7.058, allocations: 7.938 kB / 441.7 MB, free: 1.867 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Tables.mat","/var/lib/jenkins/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: 9.261283022351563]