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.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.00157/0.00157, allocations: 113 kB / 19.04 MB, free: 3.254 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.001392/0.001392, allocations: 197.9 kB / 22.22 MB, free: 72 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.475/1.475, allocations: 225.6 MB / 250.8 MB, free: 13.33 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.1811/0.1811, allocations: 38.53 MB / 344.5 MB, free: 2.551 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.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: Performance of FrontEnd - loaded program: time 0.00229/0.00229, allocations: 63.89 kB / 482.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3781, allocations: 61.25 MB / 0.5306 GB, free: 5.492 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.005118/0.3832, allocations: 3.573 MB / 0.5341 GB, free: 2.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.3851, allocations: 1.517 MB / 0.5355 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.3852, allocations: 4.875 kB / 0.5355 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008285/0.386, allocations: 263.5 kB / 0.5358 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005256/0.3865, allocations: 278.8 kB / 0.5361 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.3868, allocations: 129.9 kB / 0.5362 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003335/0.3872, allocations: 346.3 kB / 0.5365 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002547/0.3874, allocations: 95.05 kB / 0.5366 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002087/0.3876, allocations: 155.9 kB / 0.5368 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.3878, allocations: 165.4 kB / 0.5369 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.3879, allocations: 15.12 kB / 0.5369 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004552/0.3883, allocations: 342.8 kB / 0.5373 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.3884, allocations: 105.4 kB / 0.5374 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.3885, allocations: 101.9 kB / 0.5374 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004399/0.389, allocations: 360.7 kB / 0.5378 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.389, allocations: 1.406 kB / 0.5378 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.389, allocations: 0 / 0.5378 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.389, allocations: 0 / 0.5378 GB, free: 0.5195 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000621/0.3896, allocations: 0.5243 MB / 0.5383 GB, free: 20 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.3896, allocations: 9.062 kB / 0.5383 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009094/0.3905, allocations: 93.22 kB / 0.5384 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000379/0.3909, allocations: 276 kB / 0.5387 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.3909, allocations: 14.67 kB / 0.5387 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.14e-05/0.391, allocations: 16.03 kB / 0.5387 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005266/0.3915, allocations: 330.6 kB / 0.539 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.3915, allocations: 7.938 kB / 0.539 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.3916, allocations: 6.469 kB / 0.539 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.56e-05/0.3916, allocations: 17.12 kB / 0.539 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004611/0.3921, allocations: 294.4 kB / 0.5393 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.3939, allocations: 1.266 MB / 0.5406 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004897/0.3944, allocations: 227.7 kB / 0.5408 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.3946, allocations: 92.05 kB / 0.5409 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.3946, allocations: 2.219 kB / 0.5409 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.986e-05/0.3946, allocations: 35.84 kB / 0.5409 GB, free: 13.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.813e-06/0.3946, allocations: 0 / 0.5409 GB, free: 13.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009089/0.3956, allocations: 448.8 kB / 0.5413 GB, free: 13.72 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.3956, allocations: 86.53 kB / 0.5414 GB, free: 13.62 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.3958, allocations: 197.9 kB / 0.5416 GB, free: 13.47 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.3958, allocations: 29.7 kB / 0.5416 GB, free: 13.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.396, allocations: 164.2 kB / 0.5418 GB, free: 13.28 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.68e-05/0.396, allocations: 58.77 kB / 0.5418 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.515e-05/0.3961, allocations: 48.28 kB / 0.5419 GB, free: 13.19 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3963, allocations: 331.3 kB / 0.5422 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.3964, allocations: 88.45 kB / 0.5423 GB, free: 12.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.3966, allocations: 165.8 kB / 0.5424 GB, free: 12.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000387/0.397, allocations: 261.8 kB / 0.5427 GB, free: 12.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.397, allocations: 0.9688 kB / 0.5427 GB, free: 12.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005324/0.3975, allocations: 293.8 kB / 0.543 GB, free: 12.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.3976, allocations: 7.469 kB / 0.543 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.3976, allocations: 1.25 kB / 0.543 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.061e-05/0.3976, allocations: 7.406 kB / 0.543 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.3979, allocations: 55.98 kB / 0.543 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.3979, allocations: 3.531 kB / 0.543 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.398, allocations: 15.3 kB / 0.5431 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.3981, allocations: 16.84 kB / 0.5431 GB, free: 12.3 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.000179/0.3982, allocations: 156.6 kB / 0.5432 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.368e-05/0.3983, allocations: 19.98 kB / 0.5432 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00046/0.3988, allocations: 233.5 kB / 0.5435 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.3988, allocations: 3.469 kB / 0.5435 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.3988, allocations: 0 / 0.5435 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.3988, allocations: 1.125 kB / 0.5435 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/0.4005, allocations: 0.953 MB / 0.5444 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.4005, allocations: 4.031 kB / 0.5444 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.4007, allocations: 34.61 kB / 0.5444 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-06/0.4007, allocations: 4.531 kB / 0.5444 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.4007, allocations: 14.25 kB / 0.5445 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.088e-05/0.4007, allocations: 9.688 kB / 0.5445 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/0.4007, allocations: 7.812 kB / 0.5445 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005604/0.4013, allocations: 419.8 kB / 0.5449 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.4014, allocations: 109.4 kB / 0.545 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.505e-05/0.4014, allocations: 10.81 kB / 0.545 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.4016, allocations: 13.59 kB / 0.545 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.4016, allocations: 25.88 kB / 0.545 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.4017, allocations: 12.75 kB / 0.545 GB, free: 10.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.4018, allocations: 148 kB / 0.5452 GB, free: 10.58 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4018, allocations: 0 / 0.5452 GB, free: 10.58 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004131/0.4022, allocations: 50.06 kB / 0.5452 GB, free: 10.57 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.0001494/0.4024, allocations: 112.2 kB / 0.5453 GB, free: 10.47 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004426/0.4028, allocations: 217.2 kB / 0.5455 GB, free: 10.37 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4028, allocations: 4.969 kB / 0.5455 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.403, allocations: 93.64 kB / 0.5456 GB, free: 10.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/0.4035, allocations: 41.8 kB / 0.5457 GB, free: 10.3 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.4045, allocations: 0.5645 MB / 0.5462 GB, free: 9.852 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000487/0.405, allocations: 0.7638 MB / 0.547 GB, free: 9.109 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001387/0.4052, allocations: 52.91 kB / 0.547 GB, free: 9.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.31e-05/0.4052, allocations: 23.08 kB / 0.547 GB, free: 9.078 MB / 398.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4052, allocations: 0 / 0.547 GB, free: 9.078 MB / 398.1 MB Notification: Performance of Templates: time 0.005775/0.411, allocations: 2.034 MB / 0.549 GB, free: 8.074 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: 4.967171532101929]