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.0009413/0.0009413, allocations: 67.77 kB / 21.69 MB, free: 2.852 MB / 18.57 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.001006/0.001006, allocations: 165.5 kB / 24.99 MB, free: 8.742 MB / 18.57 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 0.9782/0.9782, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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.2525/0.2525, allocations: 29.42 MB / 291.2 MB, free: 2.43 MB / 266.7 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.[0-9,]+.|line.p.[0-9,]+.|line.v.[0-9,]+.",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.[0-9,]+.|line.p.[0-9,]+.|line.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 369.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.612e-05, allocations: 2.312 kB / 369.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.003664/0.00369, allocations: 3.613 MB / 373.2 MB, free: 7.668 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.005172, allocations: 1.488 MB / 374.7 MB, free: 6.172 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.005298, allocations: 11.94 kB / 374.7 MB, free: 6.16 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005841/0.005882, allocations: 247 kB / 375 MB, free: 5.918 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004588/0.006341, allocations: 294.5 kB / 375.3 MB, free: 5.629 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.006573, allocations: 123.5 kB / 375.4 MB, free: 5.508 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003094/0.006883, allocations: 362.8 kB / 375.7 MB, free: 5.152 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002249/0.007108, allocations: 102.2 kB / 375.8 MB, free: 5.055 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002943/0.007402, allocations: 215.3 kB / 376 MB, free: 4.844 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.007601, allocations: 155.5 kB / 376.2 MB, free: 4.691 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.007622, allocations: 12 kB / 376.2 MB, free: 4.68 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003132/0.007936, allocations: 287 kB / 376.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.008037, allocations: 115.7 kB / 376.6 MB, free: 4.285 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.431e-05/0.008121, allocations: 71.84 kB / 376.7 MB, free: 4.215 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003953/0.008517, allocations: 311 kB / 377 MB, free: 3.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.00852, allocations: 0 / 377 MB, free: 3.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.008521, allocations: 4 kB / 377 MB, free: 3.906 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.008526, allocations: 4 kB / 377 MB, free: 3.902 MB / 346.7 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.0005465/0.009073, allocations: 0.5461 MB / 377.5 MB, free: 3.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.009111, allocations: 19.92 kB / 377.5 MB, free: 3.301 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000621/0.009732, allocations: 132.6 kB / 377.7 MB, free: 3.172 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.009991, allocations: 216.1 kB / 377.9 MB, free: 2.934 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.01001, allocations: 8.375 kB / 377.9 MB, free: 2.926 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.373e-05/0.01004, allocations: 24.38 kB / 377.9 MB, free: 2.902 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.01032, allocations: 227.6 kB / 378.1 MB, free: 2.652 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.01033, allocations: 192 / 378.1 MB, free: 2.652 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.01035, allocations: 12.38 kB / 378.2 MB, free: 2.641 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.204e-05/0.01038, allocations: 19.92 kB / 378.2 MB, free: 2.621 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.01056, allocations: 119.8 kB / 378.3 MB, free: 2.504 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.01161, allocations: 1.261 MB / 379.6 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.01184, allocations: 142.1 kB / 379.7 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.382e-05/0.01191, allocations: 47.42 kB / 379.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.01193, allocations: 7.984 kB / 379.7 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.01195, allocations: 37.33 kB / 379.8 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.01195, allocations: 0 / 379.8 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004742/0.01243, allocations: 248.2 kB / 380 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.01246, allocations: 85.11 kB / 380.1 MB, free: 0.543 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.01261, allocations: 246.7 kB / 380.3 MB, free: 288 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.01262, allocations: 33.7 kB / 380.4 MB, free: 248 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.635e-05/0.01272, allocations: 207 kB / 380.6 MB, free: 36 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.783e-05/0.01277, allocations: 59.48 kB / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.622e-05/0.01282, allocations: 55.31 kB / 380.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.01297, allocations: 0.5039 MB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.739e-05/0.01303, allocations: 31.98 kB / 381.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.01313, allocations: 137.7 kB / 381.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.01329, allocations: 192.6 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.01329, allocations: 0 / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002801/0.01357, allocations: 196.8 kB / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.01359, allocations: 7.938 kB / 381.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.0136, allocations: 11.98 kB / 381.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.01361, allocations: 4 kB / 381.8 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.01375, allocations: 51.91 kB / 381.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.01376, allocations: 7.938 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.828e-05/0.01383, allocations: 15.92 kB / 381.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.01385, allocations: 12 kB / 381.9 MB, free: 14.66 MB / 362.7 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 7.992e-05/0.01393, allocations: 164.5 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.01396, allocations: 23.91 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.01417, allocations: 143.4 kB / 382.2 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.01417, allocations: 0 / 382.2 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.01417, allocations: 4 kB / 382.2 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01418, allocations: 0 / 382.2 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006057/0.01478, allocations: 0.6681 MB / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.01479, allocations: 4 kB / 382.9 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.893e-05/0.01486, allocations: 35.92 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.01486, allocations: 4 kB / 382.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.01488, allocations: 12 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.01488, allocations: 7.984 kB / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.01488, allocations: 7.938 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/0.01526, allocations: 422.9 kB / 383.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.034e-05/0.01528, allocations: 19.91 kB / 383.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.0153, allocations: 8 kB / 383.4 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.12e-05/0.01538, allocations: 15.98 kB / 383.4 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.01542, allocations: 23.84 kB / 383.4 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.01543, allocations: 16 kB / 383.4 MB, free: 12.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.219e-05/0.0155, allocations: 166.9 kB / 383.6 MB, free: 12.72 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0155, allocations: 0 / 383.6 MB, free: 12.72 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002327/0.01573, allocations: 56 kB / 383.6 MB, free: 12.66 MB / 362.7 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 8.989e-05/0.01582, allocations: 107.2 kB / 383.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.01602, allocations: 124.2 kB / 383.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.01602, allocations: 4 kB / 383.9 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.522e-05/0.01608, allocations: 57.09 kB / 383.9 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.01639, allocations: 56.86 kB / 384 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009385/0.01733, allocations: 0.5522 MB / 384.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.533e-05/0.0174, allocations: 103.9 kB / 384.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.62e-05/0.01748, allocations: 45.58 kB / 384.7 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.042e-05/0.01754, allocations: 20.5 kB / 384.7 MB, free: 11.48 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01754, allocations: 0 / 384.7 MB, free: 11.48 MB / 362.7 MB Notification: Performance of Templates: time 0.003561/0.0211, allocations: 1.853 MB / 386.5 MB, free: 9.656 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedCurrentTest.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1222164700739086]