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.00129/0.00129, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001108/0.001108, allocations: 175 kB / 24.91 MB, free: 8.66 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 1.127/1.127, allocations: 177.1 MB / 205.3 MB, free: 5.066 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.2556/0.2556, allocations: 29.42 MB / 291.2 MB, free: 2.418 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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 1.382e-06/1.382e-06, allocations: 0 / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/2.983e-05, allocations: 3.406 kB / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.01067/0.0107, allocations: 3.539 MB / 320.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.01239, allocations: 1.219 MB / 321.6 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.01251, allocations: 11.94 kB / 321.7 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003718/0.01623, allocations: 207 kB / 321.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000609/0.01684, allocations: 274.6 kB / 322.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.01716, allocations: 123.5 kB / 322.2 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003441/0.0175, allocations: 343.2 kB / 322.6 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002436/0.01775, allocations: 134.7 kB / 322.7 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003136/0.01806, allocations: 207.3 kB / 322.9 MB, free: 9.887 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.01827, allocations: 135.6 kB / 323 MB, free: 9.754 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.0183, allocations: 16 kB / 323.1 MB, free: 9.738 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003714/0.01867, allocations: 279.1 kB / 323.3 MB, free: 9.465 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.01877, allocations: 107.7 kB / 323.4 MB, free: 9.359 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.909e-05/0.01885, allocations: 67.84 kB / 323.5 MB, free: 9.293 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003451/0.0223, allocations: 318.9 kB / 323.8 MB, free: 8.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.02231, allocations: 4 kB / 323.8 MB, free: 8.977 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.02231, allocations: 4 kB / 323.8 MB, free: 8.973 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.02231, allocations: 0 / 323.8 MB, free: 8.973 MB / 298.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.0005613/0.02288, allocations: 427.2 kB / 324.2 MB, free: 8.531 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.02292, allocations: 15.98 kB / 324.3 MB, free: 8.516 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008386/0.02376, allocations: 140.6 kB / 324.4 MB, free: 8.379 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.02406, allocations: 205.3 kB / 324.6 MB, free: 8.152 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.02409, allocations: 16.36 kB / 324.6 MB, free: 8.137 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.925e-05/0.02413, allocations: 16.38 kB / 324.6 MB, free: 8.121 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/0.02442, allocations: 209.9 kB / 324.8 MB, free: 7.895 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.02444, allocations: 192 / 324.8 MB, free: 7.895 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.02446, allocations: 4.375 kB / 324.8 MB, free: 7.891 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.8e-05/0.02451, allocations: 27.92 kB / 324.9 MB, free: 7.863 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.02467, allocations: 94.62 kB / 325 MB, free: 7.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.02575, allocations: 0.8987 MB / 325.9 MB, free: 6.816 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.02598, allocations: 153.4 kB / 326 MB, free: 6.645 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.719e-05/0.02603, allocations: 39.03 kB / 326 MB, free: 6.602 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.02605, allocations: 0 / 326 MB, free: 6.602 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.02608, allocations: 38.5 kB / 326.1 MB, free: 6.555 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.773e-06/0.02608, allocations: 0 / 326.1 MB, free: 6.555 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003775/0.02646, allocations: 163.8 kB / 326.2 MB, free: 6.391 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.0265, allocations: 81.11 kB / 326.3 MB, free: 6.293 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.02662, allocations: 187.2 kB / 326.5 MB, free: 6.094 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.02664, allocations: 25.7 kB / 326.5 MB, free: 6.062 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.76e-05/0.0267, allocations: 160.3 kB / 326.7 MB, free: 5.902 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.02674, allocations: 59.47 kB / 326.7 MB, free: 5.844 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.579e-05/0.02681, allocations: 49.88 kB / 326.8 MB, free: 5.789 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.02691, allocations: 330.7 kB / 327.1 MB, free: 5.457 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.68e-05/0.02695, allocations: 27.28 kB / 327.1 MB, free: 5.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.462e-05/0.02702, allocations: 100.9 kB / 327.2 MB, free: 5.301 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.02715, allocations: 144.4 kB / 327.4 MB, free: 5.129 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.02715, allocations: 0 / 327.4 MB, free: 5.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001744/0.02733, allocations: 152.2 kB / 327.5 MB, free: 4.973 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.02734, allocations: 8 kB / 327.5 MB, free: 4.965 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.02735, allocations: 4 kB / 327.5 MB, free: 4.961 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.02737, allocations: 0 / 327.5 MB, free: 4.961 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.02752, allocations: 55.91 kB / 327.6 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.02753, allocations: 4 kB / 327.6 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.628e-05/0.02758, allocations: 4 kB / 327.6 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.0276, allocations: 11.94 kB / 327.6 MB, free: 4.887 MB / 298.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 8.05e-05/0.02768, allocations: 140.8 kB / 327.7 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.02771, allocations: 15.98 kB / 327.8 MB, free: 4.723 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.02787, allocations: 109.8 kB / 327.9 MB, free: 4.609 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.02788, allocations: 4 kB / 327.9 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.02788, allocations: 0 / 327.9 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.02788, allocations: 0 / 327.9 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005881/0.02847, allocations: 0.6066 MB / 328.5 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.02847, allocations: 8 kB / 328.5 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.108e-05/0.02856, allocations: 35.92 kB / 328.5 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.02856, allocations: 4 kB / 328.5 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.02858, allocations: 12 kB / 328.5 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.206e-06/0.02859, allocations: 12.42 kB / 328.6 MB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.02859, allocations: 4 kB / 328.6 MB, free: 3.836 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005912/0.02918, allocations: 382.3 kB / 328.9 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.572e-05/0.02921, allocations: 19.89 kB / 328.9 MB, free: 3.359 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.02923, allocations: 8 kB / 329 MB, free: 3.352 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.473e-05/0.0293, allocations: 8 kB / 329 MB, free: 3.344 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.02933, allocations: 27.84 kB / 329 MB, free: 3.316 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.02935, allocations: 8 kB / 329 MB, free: 3.309 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.205e-05/0.02939, allocations: 44.67 kB / 329 MB, free: 3.262 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02939, allocations: 0 / 329 MB, free: 3.262 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002131/0.0296, allocations: 60 kB / 329.1 MB, free: 3.203 MB / 298.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 9.665e-05/0.0297, allocations: 92.28 kB / 329.2 MB, free: 3.102 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001583/0.02986, allocations: 104.5 kB / 329.3 MB, free: 2.996 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.02986, allocations: 0 / 329.3 MB, free: 2.996 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.389e-05/0.02993, allocations: 61.58 kB / 329.4 MB, free: 2.934 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.0302, allocations: 45.36 kB / 329.4 MB, free: 2.891 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009387/0.03114, allocations: 0.5484 MB / 329.9 MB, free: 2.258 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.626e-05/0.03121, allocations: 103.9 kB / 330 MB, free: 2.137 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.079e-05/0.03128, allocations: 25.61 kB / 330.1 MB, free: 2.109 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.697e-05/0.03137, allocations: 79.36 kB / 330.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.03137, allocations: 0 / 330.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of Templates: time 0.003773/0.03515, allocations: 1.959 MB / 332.1 MB, free: 100 kB / 298.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 -s gbode -gbm=radauIIA3 -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: 2.95277467276901]