Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID.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.01876/0.01876, allocations: 1.766 MB / 21.43 MB, free: 236 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.002056/0.002056, allocations: 109.5 kB / 25 MB, free: 2.016 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.002601/0.002601, allocations: 210.9 kB / 28.73 MB, free: 3.254 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.219/1.219, 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.8837/0.8837, allocations: 130.7 MB / 450.5 MB, free: 6.367 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.test_1_LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="PID.D_approx.x|PID.I.y|PID.resetValueI|PID.resetValueID|PID.resetValueP|PID.smoothPIDInput.y_aux|PID.smoothPIDOutput.y_aux|PID.smoothPIDOutput1.y_aux|Time|firstOrder.y",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID") translateModel(ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="PID.D_approx.x|PID.I.y|PID.resetValueI|PID.resetValueID|PID.resetValueP|PID.smoothPIDInput.y_aux|PID.smoothPIDOutput.y_aux|PID.smoothPIDOutput1.y_aux|Time|firstOrder.y",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID") [Timeout 800] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.05e-05/1.05e-05, allocations: 2.281 kB / 0.6167 GB, free: 8.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID): time 0.002752/0.002763, allocations: 3.294 MB / 0.6199 GB, free: 5.449 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.003934, allocations: 0.9999 MB / 0.6209 GB, free: 4.445 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.004068, allocations: 11.94 kB / 0.6209 GB, free: 4.434 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.004211, allocations: 60.17 kB / 0.621 GB, free: 4.375 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.00444, allocations: 101.9 kB / 0.6211 GB, free: 4.277 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004142/0.004854, allocations: 322.2 kB / 0.6214 GB, free: 3.965 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003679/0.005222, allocations: 0.7134 MB / 0.6221 GB, free: 3.258 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001972/0.005419, allocations: 134.3 kB / 0.6222 GB, free: 3.117 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002827/0.005702, allocations: 316 kB / 0.6225 GB, free: 2.809 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.005819, allocations: 175 kB / 0.6227 GB, free: 2.637 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.336e-05/0.005863, allocations: 44 kB / 0.6227 GB, free: 2.594 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.079e-05/0.005923, allocations: 44.97 kB / 0.6227 GB, free: 2.551 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0002716/0.006195, allocations: 0.8542 MB / 0.6236 GB, free: 1.688 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001245/0.00632, allocations: 0.555 MB / 0.6241 GB, free: 1.125 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.006354, allocations: 25.06 kB / 0.6241 GB, free: 1.102 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.918e-05/0.006393, allocations: 31.73 kB / 0.6242 GB, free: 1.07 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: 83 (83) * Number of variables: 83 (83) Notification: Performance of [SIM] Bindings: time 0.001411/0.007804, allocations: 2.017 MB / 0.6261 GB, free: 14.93 MB / 462.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001979/0.008002, allocations: 228.5 kB / 0.6264 GB, free: 14.69 MB / 462.1 MB Notification: Performance of [SIM] Early Inline: time 0.0009851/0.008987, allocations: 1.098 MB / 0.6274 GB, free: 13.56 MB / 462.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002999/0.009287, allocations: 211 kB / 0.6276 GB, free: 13.31 MB / 462.1 MB Notification: Performance of [SIM] Alias: time 0.002251/0.01154, allocations: 1.903 MB / 0.6295 GB, free: 11.14 MB / 462.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002173/0.01176, allocations: 167.1 kB / 0.6297 GB, free: 10.93 MB / 462.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001144/0.01187, allocations: 103 kB / 0.6298 GB, free: 10.81 MB / 462.1 MB Notification: Performance of [SIM] Detect States: time 0.0003087/0.01218, allocations: 280 kB / 0.63 GB, free: 10.48 MB / 462.1 MB Notification: Performance of [SIM] Events: time 0.0001286/0.01231, allocations: 84.45 kB / 0.6301 GB, free: 10.4 MB / 462.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003686/0.01268, allocations: 340 kB / 0.6304 GB, free: 10.03 MB / 462.1 MB Notification: Performance of [SIM] Causalize: time 0.0007682/0.01344, allocations: 0.6168 MB / 0.631 GB, free: 9.375 MB / 462.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004909/0.01393, allocations: 0.5815 MB / 0.6316 GB, free: 8.793 MB / 462.1 MB Notification: Performance of [INI] Simplify: time 0.0006474/0.01458, allocations: 476.8 kB / 0.632 GB, free: 8.254 MB / 462.1 MB Notification: Performance of [INI] Inline: time 0.0008678/0.01545, allocations: 1.012 MB / 0.633 GB, free: 7.238 MB / 462.1 MB Notification: Performance of [INI] Partitioning: time 4.2e-05/0.01549, allocations: 22.75 kB / 0.6331 GB, free: 7.207 MB / 462.1 MB Notification: Performance of [INI] Cleanup: time 0.0001972/0.01569, allocations: 229.1 kB / 0.6333 GB, free: 6.98 MB / 462.1 MB Notification: Performance of [INI] Causalize: time 0.002456/0.01815, allocations: 1.957 MB / 0.6352 GB, free: 5.008 MB / 462.1 MB Notification: Performance of [INI] Tearing: time 4.187e-05/0.01819, allocations: 64 kB / 0.6352 GB, free: 4.945 MB / 462.1 MB Notification: Performance of [SIM] Initialization: time 4.3e-07/0.01819, allocations: 0 / 0.6352 GB, free: 4.945 MB / 462.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.000296/0.01848, allocations: 253 kB / 0.6355 GB, free: 4.66 MB / 462.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.951e-06/0.01849, allocations: 4 kB / 0.6355 GB, free: 4.656 MB / 462.1 MB Notification: Performance of [SIM] Tearing: time 2.148e-05/0.01851, allocations: 32 kB / 0.6355 GB, free: 4.625 MB / 462.1 MB Notification: Performance of [SIM] Categorize: time 8.425e-06/0.01852, allocations: 4 kB / 0.6355 GB, free: 4.621 MB / 462.1 MB Notification: Performance of [SIM] Solve: time 0.0009823/0.0195, allocations: 0.7966 MB / 0.6363 GB, free: 3.828 MB / 462.1 MB Notification: Performance of [SIM] Jacobian: time 0.0007735/0.02028, allocations: 0.9506 MB / 0.6372 GB, free: 2.746 MB / 462.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 2 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 2 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 9 (9) {PID.I.y, PID.smoothPIDInput.y_aux, add.u2, PID.smoothPIDOutput1.y_aux, PID.resetValueP, PID.resetValueID, PID.resetValueI, firstOrder.y, PID.D_approx.x} * Number of discrete states: .................... 1 (1) {PID.time_lag_I_activation.entryTime} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 11 (11) {PID.activate_.y, PID.I_activation.y, booleanExpression.y, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 40 (scalar:40, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:1, 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: ........... 63 (scalar:63, 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 (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 63 (scalar:63, 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 5.612e-05/0.02033, allocations: 59.16 kB / 0.6373 GB, free: 2.695 MB / 462.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: change(PID.activate_.y) " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.0646176129812375] Failed to read output from testmodel.py, exit status != 0: 0.026447764015756547 0.040617107 0.031610858 Calling exit ...