Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.01141/0.01141, 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.001399/0.001399, allocations: 95.05 kB / 25 MB, free: 1.984 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.001623/0.001623, allocations: 203.5 kB / 28.72 MB, free: 3.262 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.294/1.294, allocations: 230.6 MB / 262.9 MB, free: 5.789 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.9249/0.9249, allocations: 130.7 MB / 450.5 MB, free: 6.379 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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_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_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter") [Timeout 800] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.083e-05/1.083e-05, allocations: 2.281 kB / 0.6167 GB, free: 8.926 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter): time 0.002083/0.002094, allocations: 2.269 MB / 0.6189 GB, free: 6.648 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008432/0.002937, allocations: 0.6732 MB / 0.6196 GB, free: 5.973 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.931e-05/0.002986, allocations: 0 / 0.6196 GB, free: 5.973 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.064e-05/0.003067, allocations: 7.875 kB / 0.6196 GB, free: 5.965 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.636e-05/0.003113, allocations: 22.5 kB / 0.6196 GB, free: 5.945 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.003427, allocations: 111.7 kB / 0.6197 GB, free: 5.836 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.003533, allocations: 117.9 kB / 0.6198 GB, free: 5.723 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.003634, allocations: 25.28 kB / 0.6199 GB, free: 5.699 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.943e-05/0.003683, allocations: 43.84 kB / 0.6199 GB, free: 5.656 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.679e-05/0.00373, allocations: 39.78 kB / 0.6199 GB, free: 5.617 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.003744, allocations: 4 kB / 0.6199 GB, free: 5.613 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.28e-05/0.003757, allocations: 8.656 kB / 0.62 GB, free: 5.605 MB / 446.1 MB Notification: Performance of combineBinaries: time 8.851e-05/0.003846, allocations: 193.8 kB / 0.6201 GB, free: 5.414 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 2.965e-05/0.003875, allocations: 123.3 kB / 0.6203 GB, free: 5.293 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.196e-05/0.003887, allocations: 4 kB / 0.6203 GB, free: 5.289 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.237e-05/0.0039, allocations: 9.312 kB / 0.6203 GB, free: 5.281 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.000499/0.004398, allocations: 0.5669 MB / 0.6208 GB, free: 4.59 MB / 446.1 MB Notification: Performance of [SIM] FunctionAlias: time 4.758e-05/0.004446, allocations: 68.58 kB / 0.6209 GB, free: 4.512 MB / 446.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001362/0.004582, allocations: 253.6 kB / 0.6211 GB, free: 4.238 MB / 446.1 MB Notification: Performance of [SIM] Simplify 1: time 7.395e-05/0.004656, allocations: 90.53 kB / 0.6212 GB, free: 4.105 MB / 446.1 MB Notification: Performance of [SIM] Alias: time 0.0004647/0.005121, allocations: 437 kB / 0.6216 GB, free: 3.59 MB / 446.1 MB Notification: Performance of [SIM] Simplify 2: time 4.938e-05/0.00517, allocations: 88.69 kB / 0.6217 GB, free: 3.457 MB / 446.1 MB Notification: Performance of [SIM] Remove Stream: time 2.296e-05/0.005193, allocations: 45.89 kB / 0.6218 GB, free: 3.387 MB / 446.1 MB Notification: Performance of [SIM] Detect States: time 8.85e-05/0.005282, allocations: 116.7 kB / 0.6219 GB, free: 3.219 MB / 446.1 MB Notification: Performance of [SIM] Events: time 8.109e-05/0.005363, allocations: 71.06 kB / 0.6219 GB, free: 3.156 MB / 446.1 MB Notification: Performance of [SIM] Partitioning: time 9.289e-05/0.005456, allocations: 113.2 kB / 0.622 GB, free: 3.039 MB / 446.1 MB Notification: Performance of [SIM] Causalize: time 0.0001729/0.005629, allocations: 169.3 kB / 0.6222 GB, free: 2.867 MB / 446.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 9.998e-05/0.005729, allocations: 218 kB / 0.6224 GB, free: 2.656 MB / 446.1 MB Notification: Performance of [INI] Simplify: time 0.0001218/0.00585, allocations: 158.1 kB / 0.6226 GB, free: 2.43 MB / 446.1 MB Notification: Performance of [INI] Inline: time 0.000128/0.005978, allocations: 279 kB / 0.6228 GB, free: 2.156 MB / 446.1 MB Notification: Performance of [INI] Partitioning: time 1.05e-05/0.005989, allocations: 16.06 kB / 0.6229 GB, free: 2.133 MB / 446.1 MB Notification: Performance of [INI] Cleanup: time 2.416e-05/0.006013, allocations: 47.95 kB / 0.6229 GB, free: 2.086 MB / 446.1 MB Notification: Performance of [INI] Causalize: time 0.0002155/0.006229, allocations: 217.1 kB / 0.6231 GB, free: 1.867 MB / 446.1 MB Notification: Performance of [INI] Tearing: time 8.065e-06/0.006237, allocations: 0 / 0.6231 GB, free: 1.867 MB / 446.1 MB Notification: Performance of [SIM] Initialization: time 3.4e-07/0.006237, allocations: 0 / 0.6231 GB, free: 1.867 MB / 446.1 MB Notification: Performance of [SIM] DAE-Mode: time 7.626e-05/0.006313, allocations: 82.03 kB / 0.6232 GB, free: 1.797 MB / 446.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.176e-06/0.006316, allocations: 1.312 kB / 0.6232 GB, free: 1.797 MB / 446.1 MB Notification: Performance of [SIM] Tearing: time 3.476e-06/0.00632, allocations: 12 kB / 0.6232 GB, free: 1.785 MB / 446.1 MB Notification: Performance of [SIM] Categorize: time 5.801e-06/0.006326, allocations: 5.531 kB / 0.6232 GB, free: 1.781 MB / 446.1 MB Notification: Performance of [SIM] Solve: time 0.0002042/0.00653, allocations: 259.6 kB / 0.6234 GB, free: 1.539 MB / 446.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001501/0.00668, allocations: 400 kB / 0.6238 GB, free: 1.082 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 3e-05/0.00671, allocations: 15.34 kB / 0.6238 GB, free: 1.074 MB / 446.1 MB Notification: Performance of SimCode: time 0.0003373/0.007047, allocations: 416.2 kB / 0.6242 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of Templates: time 0.002801/0.009848, allocations: 0.9484 MB / 0.6252 GB, free: 15.71 MB / 462.1 MB " [Timeout remaining time 800] make -j1 -f ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.makefile [Timeout 800] (rm -f ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe ; mkfifo ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe >> ../files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.sim & ./ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 4.992127017001621] Failed to read output from testmodel.py, exit status != 0: 0.01558526000007987 0.028566469 0.022108639000000003 Calling exit ...