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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.179/0.179, allocations: 38.54 MB / 344.5 MB, free: 2.602 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|table.u|table.y.1.|table.y.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Tables") translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|table.u|table.y.1.|table.y.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Tables") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 67.89 kB / 482 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3609, allocations: 61.24 MB / 0.5305 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002734/0.3636, allocations: 1.462 MB / 0.532 GB, free: 4.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006236/0.3642, allocations: 384.6 kB / 0.5323 GB, free: 4.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.878e-05/0.3643, allocations: 0 / 0.5323 GB, free: 4.273 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.3644, allocations: 24.33 kB / 0.5324 GB, free: 4.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.3646, allocations: 38.64 kB / 0.5324 GB, free: 4.234 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.3648, allocations: 79.09 kB / 0.5325 GB, free: 4.195 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000114/0.3649, allocations: 50.55 kB / 0.5325 GB, free: 4.176 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.969e-05/0.3649, allocations: 3.406 kB / 0.5325 GB, free: 4.176 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.3651, allocations: 39.62 kB / 0.5326 GB, free: 4.152 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.725e-05/0.3651, allocations: 19.34 kB / 0.5326 GB, free: 4.145 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.3651, allocations: 6.469 kB / 0.5326 GB, free: 4.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.3652, allocations: 49.67 kB / 0.5326 GB, free: 4.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.064e-05/0.3653, allocations: 18.59 kB / 0.5327 GB, free: 4.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.3653, allocations: 21.66 kB / 0.5327 GB, free: 4.102 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.3655, allocations: 97.53 kB / 0.5328 GB, free: 4.062 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3655, allocations: 0 / 0.5328 GB, free: 4.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3655, allocations: 1.125 kB / 0.5328 GB, free: 4.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.3655, allocations: 0 / 0.5328 GB, free: 4.062 MB / 382.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.0003868/0.3659, allocations: 383.4 kB / 0.5331 GB, free: 3.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.3659, allocations: 13.02 kB / 0.5331 GB, free: 3.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.366, allocations: 13.05 kB / 0.5332 GB, free: 3.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.3661, allocations: 192.3 kB / 0.5333 GB, free: 3.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.3661, allocations: 1.031 kB / 0.5333 GB, free: 3.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.3662, allocations: 6.812 kB / 0.5333 GB, free: 3.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.3663, allocations: 63.86 kB / 0.5334 GB, free: 3.391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3663, allocations: 1.125 kB / 0.5334 GB, free: 3.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.3663, allocations: 4 kB / 0.5334 GB, free: 3.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.3663, allocations: 1.125 kB / 0.5334 GB, free: 3.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.927e-05/0.3664, allocations: 21.67 kB / 0.5334 GB, free: 3.379 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003152/0.3667, allocations: 279.6 kB / 0.5337 GB, free: 3.094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.408e-05/0.3668, allocations: 38.88 kB / 0.5337 GB, free: 3.062 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.379e-05/0.3668, allocations: 8.938 kB / 0.5337 GB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.3668, allocations: 1.656 kB / 0.5337 GB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.3668, allocations: 40.45 kB / 0.5338 GB, free: 3.008 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.3668, allocations: 0 / 0.5338 GB, free: 3.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001637/0.367, allocations: 58.48 kB / 0.5338 GB, free: 2.965 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.367, allocations: 78.88 kB / 0.5339 GB, free: 2.871 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.3671, allocations: 139.4 kB / 0.5341 GB, free: 2.762 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.3672, allocations: 29.7 kB / 0.5341 GB, free: 2.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.264e-05/0.3672, allocations: 89.78 kB / 0.5342 GB, free: 2.641 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.3672, allocations: 21.53 kB / 0.5342 GB, free: 2.621 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/0.3672, allocations: 15.81 kB / 0.5342 GB, free: 2.605 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.559e-05/0.3673, allocations: 326.4 kB / 0.5345 GB, free: 2.281 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.592e-05/0.3673, allocations: 3.641 kB / 0.5345 GB, free: 2.281 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.112e-05/0.3673, allocations: 21.12 kB / 0.5345 GB, free: 2.262 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.476e-05/0.3674, allocations: 23.75 kB / 0.5346 GB, free: 2.246 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3674, allocations: 3.938 kB / 0.5346 GB, free: 2.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.31e-05/0.3674, allocations: 52.47 kB / 0.5346 GB, free: 2.203 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3674, allocations: 4.844 kB / 0.5346 GB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3674, allocations: 0.5156 kB / 0.5346 GB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3675, allocations: 9.438 kB / 0.5346 GB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.105e-05/0.3675, allocations: 4.734 kB / 0.5346 GB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3675, allocations: 0.5625 kB / 0.5346 GB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.08e-05/0.3675, allocations: 5.016 kB / 0.5346 GB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.3675, allocations: 1.281 kB / 0.5346 GB, free: 2.191 MB / 382.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 5.555e-05/0.3676, allocations: 121.5 kB / 0.5348 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.3676, allocations: 3.781 kB / 0.5348 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.3677, allocations: 61.16 kB / 0.5348 GB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3677, allocations: 5.5 kB / 0.5348 GB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3678, allocations: 0 / 0.5348 GB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3678, allocations: 0.9375 kB / 0.5348 GB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.3679, allocations: 182.5 kB / 0.535 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3679, allocations: 0 / 0.535 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.47e-05/0.3679, allocations: 6.328 kB / 0.535 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3679, allocations: 0 / 0.535 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.3679, allocations: 0.7031 kB / 0.535 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.3679, allocations: 0 / 0.535 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3679, allocations: 1.75 kB / 0.535 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.752e-05/0.368, allocations: 148 kB / 0.5351 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.977e-05/0.368, allocations: 83.48 kB / 0.5352 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.368, allocations: 1.781 kB / 0.5352 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.893e-05/0.3681, allocations: 4.609 kB / 0.5352 GB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.3681, allocations: 6.203 kB / 0.5352 GB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.3681, allocations: 2.609 kB / 0.5352 GB, free: 1.562 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.51e-05/0.3682, allocations: 110.5 kB / 0.5353 GB, free: 1.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3682, allocations: 0 / 0.5353 GB, free: 1.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.3684, allocations: 29.58 kB / 0.5354 GB, free: 1.465 MB / 382.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.001296/0.3697, allocations: 392.6 kB / 0.5357 GB, free: 1.273 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001047/0.3698, allocations: 17.3 kB / 0.5358 GB, free: 1.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3698, allocations: 0 / 0.5358 GB, free: 1.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.741e-05/0.3698, allocations: 9.719 kB / 0.5358 GB, free: 1.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.3702, allocations: 15.83 kB / 0.5358 GB, free: 1.262 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002777/0.3704, allocations: 147.9 kB / 0.5359 GB, free: 1.137 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.3706, allocations: 0.6922 MB / 0.5366 GB, free: 448 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.32e-05/0.3706, allocations: 15.69 kB / 0.5366 GB, free: 444 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.353e-05/0.3707, allocations: 13.84 kB / 0.5366 GB, free: 436 kB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3707, allocations: 0 / 0.5366 GB, free: 436 kB / 382.1 MB Notification: Performance of Templates: time 0.003888/0.3746, allocations: 1.178 MB / 0.5378 GB, free: 15.93 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.makefile [Timeout 660] (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 & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Tables -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.858348640613258]