Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset.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.0009656/0.0009656, allocations: 89.08 kB / 19.42 MB, free: 492 kB / 13.93 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.0009958/0.0009958, allocations: 173 kB / 22.73 MB, free: 1.82 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.9916/0.9916, allocations: 177.1 MB / 203.1 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.05472/0.05472, allocations: 12.92 MB / 272.4 MB, free: 0.6133 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/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(PowerGrids.Controls.Test.TestFreeOffset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset") translateModel(PowerGrids.Controls.Test.TestFreeOffset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 346.2 MB, free: 2.008 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.472e-05/1.615e-05, allocations: 2.312 kB / 346.2 MB, free: 2.004 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestFreeOffset): time 0.001596/0.001612, allocations: 1.651 MB / 347.9 MB, free: 348 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005866/0.002199, allocations: 486.7 kB / 348.3 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.743e-05/0.002266, allocations: 3.938 kB / 348.3 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.002368, allocations: 15.86 kB / 348.4 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.763e-05/0.002426, allocations: 15.75 kB / 348.4 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.002601, allocations: 27.97 kB / 348.4 MB, free: 15.8 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.002738, allocations: 87.56 kB / 348.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.009e-05/0.002829, allocations: 9.312 kB / 348.5 MB, free: 15.7 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.002966, allocations: 51.72 kB / 348.5 MB, free: 15.65 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.868e-05/0.003015, allocations: 23.91 kB / 348.6 MB, free: 15.63 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.00303, allocations: 4 kB / 348.6 MB, free: 15.62 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.976e-05/0.00307, allocations: 7.984 kB / 348.6 MB, free: 15.62 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.003083, allocations: 7.938 kB / 348.6 MB, free: 15.61 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.297e-05/0.003106, allocations: 15.94 kB / 348.6 MB, free: 15.59 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.003222, allocations: 47.77 kB / 348.7 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.003224, allocations: 0 / 348.7 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.003225, allocations: 4 kB / 348.7 MB, free: 15.54 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.003229, allocations: 0 / 348.7 MB, free: 15.54 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004082/0.003637, allocations: 428.1 kB / 349.1 MB, free: 15.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.00367, allocations: 8.031 kB / 349.1 MB, free: 15.08 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.003773, allocations: 20.88 kB / 349.1 MB, free: 15.06 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.003943, allocations: 160.3 kB / 349.3 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.003954, allocations: 8.375 kB / 349.3 MB, free: 14.87 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.003962, allocations: 384 / 349.3 MB, free: 14.87 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.004075, allocations: 78.33 kB / 349.3 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.004083, allocations: 192 / 349.3 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.004091, allocations: 4.312 kB / 349.3 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.004099, allocations: 3.938 kB / 349.4 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.371e-05/0.004133, allocations: 19.92 kB / 349.4 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003459/0.004479, allocations: 406.7 kB / 349.8 MB, free: 14.31 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.185e-05/0.004541, allocations: 62.11 kB / 349.8 MB, free: 14.23 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.859e-05/0.004569, allocations: 23.44 kB / 349.9 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.004581, allocations: 7.938 kB / 349.9 MB, free: 14.19 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.004602, allocations: 33.39 kB / 349.9 MB, free: 14.14 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.004603, allocations: 4 kB / 349.9 MB, free: 14.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001632/0.004766, allocations: 57.58 kB / 350 MB, free: 14.08 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.004804, allocations: 77.11 kB / 350 MB, free: 13.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.004921, allocations: 217.9 kB / 350.2 MB, free: 13.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.004932, allocations: 29.7 kB / 350.3 MB, free: 13.72 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.004995, allocations: 150.8 kB / 350.4 MB, free: 13.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.157e-06/0.005005, allocations: 15.84 kB / 350.4 MB, free: 13.55 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.005034, allocations: 27.62 kB / 350.5 MB, free: 13.52 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.005141, allocations: 0.4923 MB / 351 MB, free: 13.01 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.904e-05/0.00516, allocations: 11.92 kB / 351 MB, free: 13 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.733e-05/0.005187, allocations: 39.06 kB / 351 MB, free: 12.95 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.719e-05/0.005235, allocations: 43.05 kB / 351 MB, free: 12.89 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.005236, allocations: 0 / 351 MB, free: 12.89 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.105e-05/0.005307, allocations: 65.52 kB / 351.1 MB, free: 12.82 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.00532, allocations: 8 kB / 351.1 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.005324, allocations: 3.938 kB / 351.1 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.005336, allocations: 4.062 kB / 351.1 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.116e-05/0.005397, allocations: 15.98 kB / 351.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.005401, allocations: 0 / 351.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.455e-05/0.005426, allocations: 11.95 kB / 351.1 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.005432, allocations: 3.984 kB / 351.2 MB, free: 12.78 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 5.549e-05/0.005488, allocations: 156.6 kB / 351.3 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.005517, allocations: 11.89 kB / 351.3 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.115e-05/0.005538, allocations: 16.64 kB / 351.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.005539, allocations: 0 / 351.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.005543, allocations: 0 / 351.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.005547, allocations: 8 kB / 351.3 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.005745, allocations: 317 kB / 351.7 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.005748, allocations: 7.938 kB / 351.7 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.902e-05/0.005767, allocations: 4 kB / 351.7 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.005769, allocations: 4.031 kB / 351.7 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/0.005776, allocations: 0 / 351.7 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.005777, allocations: 0 / 351.7 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.005778, allocations: 4 kB / 351.7 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.314e-05/0.005871, allocations: 215.4 kB / 351.9 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.015e-05/0.005881, allocations: 11.94 kB / 351.9 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.005891, allocations: 4.031 kB / 351.9 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.161e-05/0.005923, allocations: 0 / 351.9 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.806e-05/0.005951, allocations: 4 kB / 351.9 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.005953, allocations: 0 / 351.9 MB, free: 11.95 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.68e-05/0.00602, allocations: 168.2 kB / 352.1 MB, free: 11.79 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00602, allocations: 0 / 352.1 MB, free: 11.79 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001515/0.006172, allocations: 12 kB / 352.1 MB, free: 11.77 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 6.758e-05/0.006239, allocations: 95.25 kB / 352.2 MB, free: 11.67 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.268e-05/0.006322, allocations: 31.67 kB / 352.2 MB, free: 11.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.006323, allocations: 4.062 kB / 352.2 MB, free: 11.63 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.634e-05/0.00634, allocations: 11.69 kB / 352.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.006557, allocations: 30.36 kB / 352.2 MB, free: 11.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004682/0.007026, allocations: 210.2 kB / 352.5 MB, free: 11.35 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.907e-05/0.007065, allocations: 63.34 kB / 352.5 MB, free: 11.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.716e-05/0.007092, allocations: 16.78 kB / 352.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.522e-05/0.007117, allocations: 12.5 kB / 352.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.007118, allocations: 0 / 352.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of Templates: time 0.002177/0.009295, allocations: 0.622 MB / 353.2 MB, free: 10.63 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset.pipe 2>&1) [Timeout 240] (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset_cvode.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset_cvode.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset_cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset_cvode.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset -abortSlowSimulation -alarm=240 -lv LOG_STATS -s cvode > PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset_cvode.pipe 2>&1) [Timeout 240] (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset_gbode.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset_gbode.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset_gbode.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset -abortSlowSimulation -alarm=240 -lv LOG_STATS -s gbode -gbm=radauIIA3 > PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset_gbode.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.80360054387711]