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.001331/0.001331, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001554/0.001554, allocations: 214.1 kB / 24.48 MB, free: 3.84 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.45/1.45, allocations: 230.6 MB / 258.2 MB, free: 7.82 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.1866/0.1866, allocations: 38.56 MB / 353.2 MB, free: 12.33 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.002163/0.002163, allocations: 71.88 kB / 493.7 MB, free: 4.211 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2923, allocations: 62.47 MB / 0.5432 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.004991/0.2973, allocations: 3.459 MB / 0.5465 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002265/0.2996, allocations: 1.416 MB / 0.5479 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.2997, allocations: 9.438 kB / 0.5479 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008312/0.3005, allocations: 247.7 kB / 0.5482 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006147/0.3012, allocations: 286.7 kB / 0.5484 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003193/0.3015, allocations: 126.3 kB / 0.5486 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004047/0.3019, allocations: 351.1 kB / 0.5489 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000276/0.3022, allocations: 110.9 kB / 0.549 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002963/0.3025, allocations: 163.8 kB / 0.5492 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000259/0.3027, allocations: 162.4 kB / 0.5493 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.3027, allocations: 14.5 kB / 0.5493 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004506/0.3032, allocations: 275.7 kB / 0.5496 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.3033, allocations: 102.3 kB / 0.5497 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.3034, allocations: 93.66 kB / 0.5498 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004923/0.3039, allocations: 360.8 kB / 0.5501 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3039, allocations: 0 / 0.5501 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3039, allocations: 0 / 0.5501 GB, free: 11.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.3039, allocations: 0 / 0.5501 GB, free: 11.25 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.0007111/0.3046, allocations: 457.1 kB / 0.5506 GB, free: 10.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3047, allocations: 12.7 kB / 0.5506 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008919/0.3056, allocations: 97.39 kB / 0.5507 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.306, allocations: 221.9 kB / 0.5509 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.306, allocations: 11.78 kB / 0.5509 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.972e-05/0.306, allocations: 20.2 kB / 0.5509 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005048/0.3065, allocations: 319.9 kB / 0.5512 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.3066, allocations: 0 / 0.5512 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/0.3066, allocations: 10.94 kB / 0.5512 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.601e-05/0.3066, allocations: 16.89 kB / 0.5512 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000458/0.3071, allocations: 290.6 kB / 0.5515 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.3089, allocations: 1.144 MB / 0.5526 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004599/0.3093, allocations: 219.9 kB / 0.5528 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.3095, allocations: 91.36 kB / 0.5529 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.3095, allocations: 6.219 kB / 0.5529 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.3095, allocations: 36.84 kB / 0.553 GB, free: 9.016 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.3095, allocations: 4 kB / 0.553 GB, free: 9.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008891/0.3104, allocations: 439.6 kB / 0.5534 GB, free: 8.766 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/0.3105, allocations: 90.88 kB / 0.5535 GB, free: 8.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.3107, allocations: 198.3 kB / 0.5537 GB, free: 8.504 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.3107, allocations: 26.83 kB / 0.5537 GB, free: 8.473 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.3109, allocations: 163.5 kB / 0.5538 GB, free: 8.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.055e-05/0.3109, allocations: 60.45 kB / 0.5539 GB, free: 8.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.595e-05/0.311, allocations: 55.97 kB / 0.554 GB, free: 8.227 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.3111, allocations: 323.5 kB / 0.5543 GB, free: 7.906 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.3113, allocations: 92.62 kB / 0.5544 GB, free: 7.859 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.3115, allocations: 163.5 kB / 0.5545 GB, free: 7.723 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/0.3119, allocations: 259.9 kB / 0.5548 GB, free: 7.543 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3119, allocations: 0 / 0.5548 GB, free: 7.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004534/0.3123, allocations: 295.1 kB / 0.555 GB, free: 7.383 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3123, allocations: 5.75 kB / 0.555 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3123, allocations: 2.469 kB / 0.555 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.3124, allocations: 3.5 kB / 0.555 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.3126, allocations: 59.97 kB / 0.5551 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.3126, allocations: 11.17 kB / 0.5551 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.3128, allocations: 14.95 kB / 0.5551 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.3128, allocations: 12.75 kB / 0.5551 GB, free: 7.344 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.0001666/0.313, allocations: 149.6 kB / 0.5553 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.997e-05/0.313, allocations: 19.67 kB / 0.5553 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003983/0.3134, allocations: 225.2 kB / 0.5555 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/0.3134, allocations: 7.188 kB / 0.5555 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3134, allocations: 0 / 0.5555 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.3134, allocations: 9.234 kB / 0.5555 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.3148, allocations: 0.8667 MB / 0.5564 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.3148, allocations: 4 kB / 0.5564 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.3149, allocations: 31.92 kB / 0.5564 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/0.315, allocations: 8 kB / 0.5564 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.315, allocations: 12.48 kB / 0.5564 GB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.315, allocations: 8 kB / 0.5564 GB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.859e-06/0.315, allocations: 11.94 kB / 0.5565 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004546/0.3154, allocations: 407.7 kB / 0.5568 GB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.162e-05/0.3155, allocations: 19.89 kB / 0.5569 GB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.935e-05/0.3155, allocations: 12 kB / 0.5569 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.3157, allocations: 15.98 kB / 0.5569 GB, free: 5.676 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.3158, allocations: 19.86 kB / 0.5569 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.3158, allocations: 12 kB / 0.5569 GB, free: 5.645 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001393/0.3159, allocations: 151.1 kB / 0.5571 GB, free: 5.496 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3159, allocations: 3.938 kB / 0.5571 GB, free: 5.492 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003891/0.3163, allocations: 52 kB / 0.5571 GB, free: 5.441 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.0001166/0.3164, allocations: 107.1 kB / 0.5572 GB, free: 5.328 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003765/0.3168, allocations: 215.5 kB / 0.5574 GB, free: 5.117 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3168, allocations: 0.5625 kB / 0.5574 GB, free: 5.117 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.3169, allocations: 95.81 kB / 0.5575 GB, free: 5.023 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.3174, allocations: 35.98 kB / 0.5576 GB, free: 4.988 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.3184, allocations: 0.6144 MB / 0.5582 GB, free: 4.293 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/0.3186, allocations: 152.2 kB / 0.5583 GB, free: 4.121 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.032e-05/0.3187, allocations: 23.42 kB / 0.5583 GB, free: 4.098 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3187, allocations: 0 / 0.5583 GB, free: 4.098 MB / 398.1 MB Notification: Performance of Templates: time 0.004917/0.3236, allocations: 2.765 MB / 0.561 GB, free: 1.328 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedCurrentTest.mat","/var/lib/jenkins1/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: 7.494871133938432]