Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01873/0.01873, allocations: 1.759 MB / 21.42 MB, free: 392 kB / 14.72 MB " [Timeout remaining time 180] 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.002029/0.002029, allocations: 95.2 kB / 25 MB, free: 1.98 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.002476/0.002476, allocations: 203.5 kB / 28.72 MB, free: 3.266 MB / 19.63 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.214/1.214, allocations: 230.7 MB / 262.9 MB, free: 5.777 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.8838/0.8838, allocations: 130.7 MB / 450.5 MB, free: 6.391 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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) Using package SMArtInt with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="CPUtime|EventCounter|Time|add.k1|add.k2|add.u1|add.u2|add.y|sine.duration|sine.height|sine.offset|sine.startTime|sine.y|sine1.duration|sine1.height|sine1.offset|sine1.startTime|sine1.y|step.height|step.offset|step.startTime|step.y|step1.height|step1.offset|step1.startTime|step1.y|variableGradientLimiter.Nd|variableGradientLimiter.constantLimits|der.variableGradientLimiter.y_aux.|variableGradientLimiter.maxGrad|variableGradientLimiter.maxGrad_|variableGradientLimiter.maxGrad_const|variableGradientLimiter.minGrad|variableGradientLimiter.minGrad_|variableGradientLimiter.minGrad_const|variableGradientLimiter.thres|variableGradientLimiter.u|variableGradientLimiter.useThresh|variableGradientLimiter.y|variableGradientLimiter.y_aux",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter") translateModel(ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="CPUtime|EventCounter|Time|add.k1|add.k2|add.u1|add.u2|add.y|sine.duration|sine.height|sine.offset|sine.startTime|sine.y|sine1.duration|sine1.height|sine1.offset|sine1.startTime|sine1.y|step.height|step.offset|step.startTime|step.y|step1.height|step1.offset|step1.startTime|step1.y|variableGradientLimiter.Nd|variableGradientLimiter.constantLimits|der.variableGradientLimiter.y_aux.|variableGradientLimiter.maxGrad|variableGradientLimiter.maxGrad_|variableGradientLimiter.maxGrad_const|variableGradientLimiter.minGrad|variableGradientLimiter.minGrad_|variableGradientLimiter.minGrad_const|variableGradientLimiter.thres|variableGradientLimiter.u|variableGradientLimiter.useThresh|variableGradientLimiter.y|variableGradientLimiter.y_aux",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter") [Timeout 800] "Notification: Performance of FrontEnd - Absyn->SCode: time 6.502e-06/6.502e-06, allocations: 3.828 kB / 0.6167 GB, free: 8.789 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter): time 0.001878/0.001885, allocations: 2.266 MB / 0.6189 GB, free: 6.516 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007939/0.002679, allocations: 0.673 MB / 0.6196 GB, free: 5.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.269e-05/0.002721, allocations: 0 / 0.6196 GB, free: 5.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.049e-05/0.002802, allocations: 11.86 kB / 0.6196 GB, free: 5.828 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.141e-05/0.002843, allocations: 15.81 kB / 0.6196 GB, free: 5.812 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.003129, allocations: 110.7 kB / 0.6197 GB, free: 5.707 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.327e-05/0.003223, allocations: 119.7 kB / 0.6198 GB, free: 5.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.572e-05/0.003308, allocations: 21.8 kB / 0.6198 GB, free: 5.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.639e-05/0.003355, allocations: 39.8 kB / 0.6199 GB, free: 5.531 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.286e-05/0.003397, allocations: 49.84 kB / 0.6199 GB, free: 5.484 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.003411, allocations: 8 kB / 0.6199 GB, free: 5.477 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.212e-05/0.003423, allocations: 4 kB / 0.6199 GB, free: 5.473 MB / 446.1 MB Notification: Performance of combineBinaries: time 8.313e-05/0.003506, allocations: 193.8 kB / 0.6201 GB, free: 5.281 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 2.755e-05/0.003534, allocations: 126.3 kB / 0.6202 GB, free: 5.156 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.105e-05/0.003545, allocations: 4.969 kB / 0.6202 GB, free: 5.152 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.19e-05/0.003557, allocations: 11.88 kB / 0.6203 GB, free: 5.141 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 (14) * Number of variables: 14 (14) Notification: Performance of [SIM] Bindings: time 0.0003524/0.003909, allocations: 0.5622 MB / 0.6208 GB, free: 4.457 MB / 446.1 MB Notification: Performance of [SIM] FunctionAlias: time 4.879e-05/0.003958, allocations: 81.48 kB / 0.6209 GB, free: 4.367 MB / 446.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001184/0.004076, allocations: 244.1 kB / 0.6211 GB, free: 4.102 MB / 446.1 MB Notification: Performance of [SIM] Simplify 1: time 6.948e-05/0.004146, allocations: 99.09 kB / 0.6212 GB, free: 3.961 MB / 446.1 MB Notification: Performance of [SIM] Alias: time 0.0003877/0.004534, allocations: 420.4 kB / 0.6216 GB, free: 3.457 MB / 446.1 MB Notification: Performance of [SIM] Simplify 2: time 4.867e-05/0.004582, allocations: 96.94 kB / 0.6217 GB, free: 3.32 MB / 446.1 MB Notification: Performance of [SIM] Remove Stream: time 2.1e-05/0.004603, allocations: 44.42 kB / 0.6217 GB, free: 3.25 MB / 446.1 MB Notification: Performance of [SIM] Detect States: time 8.162e-05/0.004685, allocations: 124.6 kB / 0.6219 GB, free: 3.074 MB / 446.1 MB Notification: Performance of [SIM] Events: time 7.521e-05/0.00476, allocations: 62.86 kB / 0.6219 GB, free: 3.02 MB / 446.1 MB Notification: Performance of [SIM] Partitioning: time 8.805e-05/0.004848, allocations: 105.8 kB / 0.622 GB, free: 2.91 MB / 446.1 MB Notification: Performance of [SIM] Causalize: time 0.0001642/0.005012, allocations: 170.2 kB / 0.6222 GB, free: 2.738 MB / 446.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 9.578e-05/0.005108, allocations: 215.7 kB / 0.6224 GB, free: 2.527 MB / 446.1 MB Notification: Performance of [INI] Simplify: time 0.0001141/0.005222, allocations: 172.3 kB / 0.6226 GB, free: 2.289 MB / 446.1 MB Notification: Performance of [INI] Inline: time 0.0001222/0.005344, allocations: 271.8 kB / 0.6228 GB, free: 2.02 MB / 446.1 MB Notification: Performance of [INI] Partitioning: time 9.568e-06/0.005354, allocations: 14.03 kB / 0.6228 GB, free: 2 MB / 446.1 MB Notification: Performance of [INI] Cleanup: time 2.194e-05/0.005376, allocations: 43.95 kB / 0.6229 GB, free: 1.957 MB / 446.1 MB Notification: Performance of [INI] Causalize: time 0.0002073/0.005583, allocations: 223.9 kB / 0.6231 GB, free: 1.73 MB / 446.1 MB Notification: Performance of [INI] Tearing: time 6.572e-06/0.00559, allocations: 0 / 0.6231 GB, free: 1.73 MB / 446.1 MB Notification: Performance of [SIM] Initialization: time 3.41e-07/0.00559, allocations: 3.5 kB / 0.6231 GB, free: 1.73 MB / 446.1 MB Notification: Performance of [SIM] DAE-Mode: time 7.011e-05/0.00566, allocations: 77.62 kB / 0.6232 GB, free: 1.66 MB / 446.1 MB Notification: Performance of [SIM] Remove Dummies: time 2.755e-06/0.005663, allocations: 1.438 kB / 0.6232 GB, free: 1.66 MB / 446.1 MB Notification: Performance of [SIM] Tearing: time 3.347e-06/0.005666, allocations: 12 kB / 0.6232 GB, free: 1.648 MB / 446.1 MB Notification: Performance of [SIM] Categorize: time 4.779e-06/0.005671, allocations: 4 kB / 0.6232 GB, free: 1.645 MB / 446.1 MB Notification: Performance of [SIM] Solve: time 0.0001951/0.005866, allocations: 249.2 kB / 0.6234 GB, free: 1.414 MB / 446.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001406/0.006007, allocations: 397.3 kB / 0.6238 GB, free: 0.9609 MB / 446.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 1 (1) {variableGradientLimiter.y} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 6 (6) {$TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 12 (scalar:12, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 13 (scalar:13, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.473e-05/0.006032, allocations: 29.52 kB / 0.6238 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of SimCode: time 0.0002921/0.006324, allocations: 408 kB / 0.6242 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of Templates: time 0.002772/0.009096, allocations: 0.9495 MB / 0.6251 GB, free: 15.58 MB / 462.1 MB " [Timeout remaining time 800] make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.makefile [Timeout 800] (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.sim & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 4.782181243004743] Failed to read output from testmodel.py, exit status != 0: 0.014510617998894304 0.027924294000000002 0.021748764 Calling exit ...