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.001765/0.001765, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.002063/0.002063, allocations: 181.6 kB / 23.71 MB, free: 4.695 MB / 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.452/1.452, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.1853/0.1853, allocations: 38.53 MB / 346.3 MB, free: 2.121 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.002933/0.002933, allocations: 67.89 kB / 484.5 MB, free: 11.17 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.4266, allocations: 61.3 MB / 0.533 GB, free: 5.57 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.00308/0.4297, allocations: 1.485 MB / 0.5345 GB, free: 4.57 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0006554/0.4304, allocations: 386.7 kB / 0.5348 GB, free: 4.316 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.106e-05/0.4304, allocations: 0 / 0.5348 GB, free: 4.316 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002605/0.4307, allocations: 25.31 kB / 0.5349 GB, free: 4.301 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.4309, allocations: 39.83 kB / 0.5349 GB, free: 4.277 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.4311, allocations: 78.09 kB / 0.535 GB, free: 4.238 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001399/0.4312, allocations: 51.12 kB / 0.535 GB, free: 4.219 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.929e-05/0.4313, allocations: 7.891 kB / 0.535 GB, free: 4.215 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.4315, allocations: 34.78 kB / 0.5351 GB, free: 4.195 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 6.473e-05/0.4315, allocations: 23.34 kB / 0.5351 GB, free: 4.184 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.4315, allocations: 2.25 kB / 0.5351 GB, free: 4.184 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.4317, allocations: 53.12 kB / 0.5351 GB, free: 4.164 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.612e-05/0.4317, allocations: 18.59 kB / 0.5352 GB, free: 4.156 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.503e-05/0.4318, allocations: 22.75 kB / 0.5352 GB, free: 4.141 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.432, allocations: 96.03 kB / 0.5353 GB, free: 4.102 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.432, allocations: 1.375 kB / 0.5353 GB, free: 4.102 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.704e-06/0.432, allocations: 0 / 0.5353 GB, free: 4.102 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 1.194e-05/0.432, allocations: 0 / 0.5353 GB, free: 4.102 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.0003967/0.4324, allocations: 299.5 kB / 0.5356 GB, free: 3.809 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.4325, allocations: 13.06 kB / 0.5356 GB, free: 3.805 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.4325, allocations: 9.359 kB / 0.5356 GB, free: 3.801 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.4327, allocations: 142.5 kB / 0.5357 GB, free: 3.652 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.4327, allocations: 2.156 kB / 0.5357 GB, free: 3.652 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.4327, allocations: 2.766 kB / 0.5357 GB, free: 3.652 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.4328, allocations: 65.38 kB / 0.5358 GB, free: 3.594 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.4328, allocations: 0 / 0.5358 GB, free: 3.594 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.4328, allocations: 0 / 0.5358 GB, free: 3.594 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.4329, allocations: 1.781 kB / 0.5358 GB, free: 3.594 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.281e-05/0.4329, allocations: 21.61 kB / 0.5358 GB, free: 3.586 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003194/0.4332, allocations: 254 kB / 0.5361 GB, free: 3.332 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 9.784e-05/0.4333, allocations: 35.16 kB / 0.5361 GB, free: 3.305 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 2.386e-05/0.4333, allocations: 11.92 kB / 0.5361 GB, free: 3.293 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.4334, allocations: 2.922 kB / 0.5361 GB, free: 3.293 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.4334, allocations: 35.69 kB / 0.5361 GB, free: 3.25 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.4334, allocations: 0 / 0.5361 GB, free: 3.25 MB / 382.1 MB
Notification: Performance of matching and sorting (n=3): time 0.0001752/0.4336, allocations: 62.12 kB / 0.5362 GB, free: 3.203 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.4336, allocations: 78.23 kB / 0.5363 GB, free: 3.109 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.4337, allocations: 143.5 kB / 0.5364 GB, free: 2.996 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.4337, allocations: 30.39 kB / 0.5364 GB, free: 2.961 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 3.741e-05/0.4338, allocations: 94.28 kB / 0.5365 GB, free: 2.871 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.4338, allocations: 13.78 kB / 0.5365 GB, free: 2.859 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.4338, allocations: 17.17 kB / 0.5366 GB, free: 2.84 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 5.488e-05/0.4339, allocations: 324 kB / 0.5369 GB, free: 2.52 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.717e-05/0.4339, allocations: 3.5 kB / 0.5369 GB, free: 2.52 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.825e-05/0.4339, allocations: 25.69 kB / 0.5369 GB, free: 2.496 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 3.469e-05/0.434, allocations: 22.64 kB / 0.5369 GB, free: 2.48 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.434, allocations: 1.375 kB / 0.5369 GB, free: 2.48 MB / 382.1 MB
Notification: Performance of matching and sorting (n=3) (initialization): time 7.111e-05/0.434, allocations: 48.66 kB / 0.537 GB, free: 2.441 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.4341, allocations: 5.5 kB / 0.537 GB, free: 2.441 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.4341, allocations: 4.031 kB / 0.537 GB, free: 2.438 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.4341, allocations: 0 / 0.537 GB, free: 2.438 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.698e-05/0.4341, allocations: 5.5 kB / 0.537 GB, free: 2.438 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.4341, allocations: 0 / 0.537 GB, free: 2.438 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.308e-05/0.4342, allocations: 9.312 kB / 0.537 GB, free: 2.43 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.4342, allocations: 1.375 kB / 0.537 GB, free: 2.43 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 6.799e-05/0.4342, allocations: 117.9 kB / 0.5371 GB, free: 2.309 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.4343, allocations: 2.75 kB / 0.5371 GB, free: 2.309 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.4344, allocations: 64.73 kB / 0.5372 GB, free: 2.246 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4344, allocations: 4 kB / 0.5372 GB, free: 2.242 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.4344, allocations: 1.375 kB / 0.5372 GB, free: 2.242 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.4344, allocations: 0 / 0.5372 GB, free: 2.242 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.4345, allocations: 151.6 kB / 0.5373 GB, free: 2.062 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.4345, allocations: 1.375 kB / 0.5373 GB, free: 2.062 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.487e-05/0.4345, allocations: 4.125 kB / 0.5373 GB, free: 2.062 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.4345, allocations: 0 / 0.5373 GB, free: 2.062 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.4345, allocations: 1.375 kB / 0.5373 GB, free: 2.062 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4345, allocations: 3.984 kB / 0.5373 GB, free: 2.059 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4345, allocations: 0 / 0.5373 GB, free: 2.059 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 9.945e-05/0.4346, allocations: 156.9 kB / 0.5375 GB, free: 1.906 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.136e-05/0.4347, allocations: 5.328 kB / 0.5375 GB, free: 1.902 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.4347, allocations: 1.375 kB / 0.5375 GB, free: 1.902 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.638e-05/0.4347, allocations: 5.312 kB / 0.5375 GB, free: 1.898 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.862e-05/0.4347, allocations: 0 / 0.5375 GB, free: 1.898 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.4347, allocations: 1.375 kB / 0.5375 GB, free: 1.898 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 6.93e-05/0.4348, allocations: 114.5 kB / 0.5376 GB, free: 1.805 MB / 382.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.4348, allocations: 0 / 0.5376 GB, free: 1.805 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.0002387/0.4351, allocations: 20.28 kB / 0.5376 GB, free: 1.797 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.001353/0.4364, allocations: 401.1 kB / 0.538 GB, free: 1.598 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001148/0.4365, allocations: 14.64 kB / 0.538 GB, free: 1.594 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4365, allocations: 3.938 kB / 0.538 GB, free: 1.59 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 1.776e-05/0.4365, allocations: 10.16 kB / 0.538 GB, free: 1.586 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.4369, allocations: 23.12 kB / 0.538 GB, free: 1.574 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002937/0.4372, allocations: 146.8 kB / 0.5382 GB, free: 1.438 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.4373, allocations: 0.6892 MB / 0.5389 GB, free: 0.7344 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 6.313e-05/0.4374, allocations: 15.73 kB / 0.5389 GB, free: 0.7266 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.4374, allocations: 16.17 kB / 0.5389 GB, free: 0.7148 MB / 382.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.4374, allocations: 0 / 0.5389 GB, free: 0.7148 MB / 382.1 MB
Notification: Performance of Templates: time 0.004426/0.4419, allocations: 1.192 MB / 0.5401 GB, free: 88 kB / 382.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: 5.170468905940652]