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.0006975/0.0006975, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008733/0.001571, allocations: 455.9 kB / 10.43 MB, free: 260 kB / 10.45 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.0006831/0.0006831, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009381/0.001621, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9141/0.9141, allocations: 177.2 MB / 189.7 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08703/1.001, allocations: 53.67 MB / 243.4 MB, free: 15.52 MB / 250.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.0513/0.0513, allocations: 13.3 MB / 257.4 MB, free: 1.883 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006957/0.05826, allocations: 5.045 MB / 262.5 MB, free: 12.82 MB / 266.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.803e-06/1.803e-06, allocations: 0 / 263.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023e-05/1.203e-05, allocations: 2.312 kB / 263.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestFreeOffset): time 0.001735/0.001748, allocations: 1.74 MB / 265.5 MB, free: 9.766 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005271/0.002275, allocations: 0.4914 MB / 266 MB, free: 9.266 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.01e-05/0.002325, allocations: 3.938 kB / 266 MB, free: 9.262 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.139e-05/0.002366, allocations: 19.86 kB / 266 MB, free: 9.242 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.894e-05/0.002415, allocations: 19.73 kB / 266.1 MB, free: 9.223 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.893e-05/0.002494, allocations: 31.84 kB / 266.1 MB, free: 9.191 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.00262, allocations: 87.53 kB / 266.2 MB, free: 9.105 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.024e-05/0.002691, allocations: 10.28 kB / 266.2 MB, free: 9.094 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.002824, allocations: 75.7 kB / 266.3 MB, free: 9.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.961e-05/0.002873, allocations: 23.91 kB / 266.3 MB, free: 8.996 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.002886, allocations: 4 kB / 266.3 MB, free: 8.992 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.965e-05/0.002936, allocations: 8 kB / 266.3 MB, free: 8.984 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.002951, allocations: 7.938 kB / 266.3 MB, free: 8.977 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.091e-05/0.002972, allocations: 15.94 kB / 266.3 MB, free: 8.961 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.003073, allocations: 51.7 kB / 266.4 MB, free: 8.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/0.003083, allocations: 4 kB / 266.4 MB, free: 8.906 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003084, allocations: 0 / 266.4 MB, free: 8.906 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.003091, allocations: 0 / 266.4 MB, free: 8.906 MB / 266.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.0003529/0.003444, allocations: 324 kB / 266.7 MB, free: 8.566 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.003474, allocations: 12.03 kB / 266.7 MB, free: 8.555 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.003611, allocations: 102 kB / 266.8 MB, free: 8.438 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.003751, allocations: 154.4 kB / 267 MB, free: 8.258 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.991e-06/0.003757, allocations: 384 / 267 MB, free: 8.258 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-06/0.003764, allocations: 4.375 kB / 267 MB, free: 8.254 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.972e-05/0.003854, allocations: 76.66 kB / 267 MB, free: 8.164 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-06/0.00386, allocations: 192 / 267 MB, free: 8.164 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.43e-06/0.003865, allocations: 384 / 267 MB, free: 8.164 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.003871, allocations: 7.938 kB / 267 MB, free: 8.156 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.111e-05/0.003892, allocations: 15.92 kB / 267.1 MB, free: 8.141 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002111/0.004103, allocations: 240.4 kB / 267.3 MB, free: 7.887 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.475e-05/0.004148, allocations: 45.17 kB / 267.3 MB, free: 7.824 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.78e-05/0.004166, allocations: 21.77 kB / 267.4 MB, free: 7.797 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.004178, allocations: 4 kB / 267.4 MB, free: 7.793 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.004195, allocations: 30.56 kB / 267.4 MB, free: 7.754 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 2.475e-06/0.004197, allocations: 3.984 kB / 267.4 MB, free: 7.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001099/0.004307, allocations: 57.78 kB / 267.4 MB, free: 7.688 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.004342, allocations: 77.11 kB / 267.5 MB, free: 7.594 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.968e-05/0.004432, allocations: 183.7 kB / 267.7 MB, free: 7.402 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.00444, allocations: 25.7 kB / 267.7 MB, free: 7.371 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.004482, allocations: 100 kB / 267.8 MB, free: 7.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.416e-06/0.00449, allocations: 15.91 kB / 267.8 MB, free: 7.254 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.004519, allocations: 17.7 kB / 267.9 MB, free: 7.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.317e-05/0.004592, allocations: 326.8 kB / 268.2 MB, free: 6.902 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.917e-06/0.004601, allocations: 4 kB / 268.2 MB, free: 6.898 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.719e-05/0.004618, allocations: 22.52 kB / 268.2 MB, free: 6.867 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.859e-05/0.004657, allocations: 42.53 kB / 268.2 MB, free: 6.816 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.004659, allocations: 0 / 268.2 MB, free: 6.816 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.719e-05/0.004716, allocations: 57.61 kB / 268.3 MB, free: 6.754 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.004726, allocations: 7.938 kB / 268.3 MB, free: 6.746 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.00473, allocations: 0 / 268.3 MB, free: 6.746 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-06/0.004738, allocations: 4 kB / 268.3 MB, free: 6.742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.297e-05/0.004811, allocations: 11.98 kB / 268.3 MB, free: 6.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.004814, allocations: 4 kB / 268.3 MB, free: 6.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.202e-05/0.004836, allocations: 3.938 kB / 268.3 MB, free: 6.723 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.004842, allocations: 8.062 kB / 268.3 MB, free: 6.715 MB / 266.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 4.562e-05/0.004887, allocations: 113.8 kB / 268.5 MB, free: 6.594 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.004914, allocations: 11.98 kB / 268.5 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.424e-05/0.004939, allocations: 16.59 kB / 268.5 MB, free: 6.566 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.00494, allocations: 0 / 268.5 MB, free: 6.566 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.004941, allocations: 0 / 268.5 MB, free: 6.566 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.004943, allocations: 3.938 kB / 268.5 MB, free: 6.562 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.005106, allocations: 195.7 kB / 268.7 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.005107, allocations: 0 / 268.7 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.952e-05/0.005126, allocations: 7.984 kB / 268.7 MB, free: 6.336 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.262e-05/0.005139, allocations: 23.86 kB / 268.7 MB, free: 6.312 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.005141, allocations: 4 kB / 268.7 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-06/0.005144, allocations: 0 / 268.7 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.005145, allocations: 128 / 268.7 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.005146, allocations: 4 kB / 268.7 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.872e-05/0.005215, allocations: 156.3 kB / 268.9 MB, free: 6.133 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.546e-06/0.005224, allocations: 0 / 268.9 MB, free: 6.133 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.016e-05/0.005254, allocations: 0 / 268.9 MB, free: 6.133 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.007e-05/0.005274, allocations: 4 kB / 268.9 MB, free: 6.129 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.005276, allocations: 0 / 268.9 MB, free: 6.129 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.233e-05/0.005308, allocations: 50 kB / 268.9 MB, free: 6.078 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005308, allocations: 0 / 268.9 MB, free: 6.078 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001201/0.005428, allocations: 8 kB / 268.9 MB, free: 6.07 MB / 266.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 5.545e-05/0.005484, allocations: 80.41 kB / 269 MB, free: 5.984 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.025e-05/0.005564, allocations: 27.88 kB / 269 MB, free: 5.957 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.005568, allocations: 0 / 269 MB, free: 5.957 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.836e-05/0.005617, allocations: 16.84 kB / 269 MB, free: 5.938 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.005791, allocations: 95.89 kB / 269.1 MB, free: 5.832 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.006907, allocations: 240.8 kB / 269.4 MB, free: 5.566 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.247e-05/0.00694, allocations: 69.17 kB / 269.4 MB, free: 5.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.655e-05/0.006966, allocations: 12.66 kB / 269.5 MB, free: 5.469 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.414e-05/0.007011, allocations: 55.38 kB / 269.5 MB, free: 5.414 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.007011, allocations: 4 kB / 269.5 MB, free: 5.41 MB / 266.7 MB Notification: Performance of Templates: time 0.001971/0.008982, allocations: 0.6355 MB / 270.2 MB, free: 4.789 MB / 266.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 & (cd run_cvode && ../PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset.pipe 2>&1) [Timeout 240] (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset_dassl.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset_dassl.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset_dassl.sim & (cd run_dassl && ../PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset_dassl.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 & (cd run_gbode && ../PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset_gbode.pipe 2>&1) [Timeout 240] (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset_ida.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset_ida.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset_ida.sim & (cd run_ida && ../PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4178570229560137]