Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.001321/0.001321, 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.001577/0.001577, allocations: 211.1 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.66/1.66, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.1819/0.1819, allocations: 38.57 MB / 352.5 MB, free: 12.32 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: translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest") [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.002124/0.002124, allocations: 67.89 kB / 493 MB, free: 4.215 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3777, allocations: 62.47 MB / 0.5424 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.006808/0.3845, allocations: 3.448 MB / 0.5458 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002954/0.3875, allocations: 1.424 MB / 0.5472 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.3876, allocations: 8.594 kB / 0.5472 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009552/0.3885, allocations: 244.7 kB / 0.5474 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007214/0.3893, allocations: 286.5 kB / 0.5477 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.3896, allocations: 123.3 kB / 0.5478 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006019/0.3902, allocations: 349.4 kB / 0.5481 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003697/0.3906, allocations: 117 kB / 0.5483 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003999/0.391, allocations: 171.8 kB / 0.5484 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004477/0.3915, allocations: 153.8 kB / 0.5486 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.192e-05/0.3915, allocations: 14.28 kB / 0.5486 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006026/0.3921, allocations: 280.4 kB / 0.5488 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002526/0.3924, allocations: 97.64 kB / 0.5489 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.3925, allocations: 85.8 kB / 0.549 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008945/0.3934, allocations: 368 kB / 0.5494 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3934, allocations: 1.094 kB / 0.5494 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3934, allocations: 0 / 0.5494 GB, free: 11.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.3935, allocations: 3.938 kB / 0.5494 GB, free: 11.24 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008578/0.3943, allocations: 461.9 kB / 0.5498 GB, free: 10.83 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.3944, allocations: 12.86 kB / 0.5498 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009284/0.3953, allocations: 97.11 kB / 0.5499 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/0.3957, allocations: 215.6 kB / 0.5501 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.3957, allocations: 16.84 kB / 0.5501 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.237e-05/0.3958, allocations: 15.28 kB / 0.5502 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006637/0.3964, allocations: 324 kB / 0.5505 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.3964, allocations: 0 / 0.5505 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.3965, allocations: 10.55 kB / 0.5505 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.034e-05/0.3965, allocations: 22.2 kB / 0.5505 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004623/0.397, allocations: 282.4 kB / 0.5508 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.399, allocations: 1.144 MB / 0.5519 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005132/0.3995, allocations: 223.6 kB / 0.5521 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.3997, allocations: 90.61 kB / 0.5522 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.3997, allocations: 3 kB / 0.5522 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.3998, allocations: 36.66 kB / 0.5522 GB, free: 9.008 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.954e-06/0.3998, allocations: 0 / 0.5522 GB, free: 9.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009657/0.4008, allocations: 451 kB / 0.5527 GB, free: 8.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.286e-05/0.4008, allocations: 83.89 kB / 0.5527 GB, free: 8.652 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.4011, allocations: 198.7 kB / 0.5529 GB, free: 8.496 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.4011, allocations: 26.27 kB / 0.553 GB, free: 8.465 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.4012, allocations: 163.7 kB / 0.5531 GB, free: 8.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.081e-05/0.4013, allocations: 63.5 kB / 0.5532 GB, free: 8.258 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.532e-05/0.4014, allocations: 47.81 kB / 0.5532 GB, free: 8.223 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.4016, allocations: 335.4 kB / 0.5535 GB, free: 7.891 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.4017, allocations: 84.11 kB / 0.5536 GB, free: 7.852 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.402, allocations: 164.2 kB / 0.5538 GB, free: 7.715 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004341/0.4024, allocations: 264.3 kB / 0.554 GB, free: 7.531 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4024, allocations: 1.281 kB / 0.554 GB, free: 7.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005028/0.4029, allocations: 297.9 kB / 0.5543 GB, free: 7.367 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.4029, allocations: 5.562 kB / 0.5543 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.4029, allocations: 3.156 kB / 0.5543 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/0.403, allocations: 3.625 kB / 0.5543 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.4032, allocations: 59.17 kB / 0.5544 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.4032, allocations: 8.047 kB / 0.5544 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.4035, allocations: 14.67 kB / 0.5544 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.4035, allocations: 12.72 kB / 0.5544 GB, free: 7.332 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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 0.0001698/0.4037, allocations: 156.6 kB / 0.5546 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/0.4037, allocations: 16.94 kB / 0.5546 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004249/0.4041, allocations: 236.4 kB / 0.5548 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.4042, allocations: 6.156 kB / 0.5548 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.4042, allocations: 0 / 0.5548 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4042, allocations: 1.031 kB / 0.5548 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.4056, allocations: 0.8655 MB / 0.5557 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.4056, allocations: 4 kB / 0.5557 GB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.4057, allocations: 39.91 kB / 0.5557 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.4057, allocations: 4 kB / 0.5557 GB, free: 6.207 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.4058, allocations: 12 kB / 0.5557 GB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.4058, allocations: 4.5 kB / 0.5557 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.45e-05/0.4058, allocations: 7.938 kB / 0.5557 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004732/0.4062, allocations: 413 kB / 0.5561 GB, free: 5.715 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.4063, allocations: 19.91 kB / 0.5561 GB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.4063, allocations: 8 kB / 0.5561 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.4065, allocations: 11.98 kB / 0.5562 GB, free: 5.676 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/0.4065, allocations: 27.84 kB / 0.5562 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.4066, allocations: 15.98 kB / 0.5562 GB, free: 5.633 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002332/0.4068, allocations: 143.1 kB / 0.5563 GB, free: 5.492 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4068, allocations: 0 / 0.5563 GB, free: 5.492 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003727/0.4072, allocations: 59.94 kB / 0.5564 GB, free: 5.434 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001196/0.4073, allocations: 99.19 kB / 0.5565 GB, free: 5.328 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004245/0.4077, allocations: 215.5 kB / 0.5567 GB, free: 5.117 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.4077, allocations: 0 / 0.5567 GB, free: 5.117 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.4079, allocations: 104.7 kB / 0.5568 GB, free: 5.016 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/0.4083, allocations: 31.98 kB / 0.5568 GB, free: 4.984 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.4094, allocations: 0.5727 MB / 0.5574 GB, free: 4.336 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.4096, allocations: 156.9 kB / 0.5575 GB, free: 4.16 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001487/0.4098, allocations: 53.59 kB / 0.5576 GB, free: 4.109 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.016e-05/0.4098, allocations: 23.44 kB / 0.5576 GB, free: 4.086 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.4098, allocations: 0 / 0.5576 GB, free: 4.086 MB / 398.1 MB Notification: Performance of Templates: time 0.005798/0.4156, allocations: 2.073 MB / 0.5596 GB, free: 2.031 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedCurrentTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.528038837015629]