Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.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.0007528/0.0007528, allocations: 80.25 kB / 20.06 MB, free: 4.465 MB / 18.57 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.0008287/0.0008287, allocations: 173.9 kB / 23.36 MB, free: 1.16 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.8105/0.8105, allocations: 177.2 MB / 203.7 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.6447/0.6447, allocations: 154.6 MB / 414.7 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset") translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.672e-05/1.672e-05, allocations: 5.594 kB / 0.6195 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.001984/0.002001, allocations: 1.789 MB / 0.6213 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007574/0.002758, allocations: 0.5532 MB / 0.6218 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.273e-05/0.002841, allocations: 7.938 kB / 0.6218 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.00295, allocations: 23.67 kB / 0.6219 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.961e-05/0.00301, allocations: 31.72 kB / 0.6219 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.003191, allocations: 67.84 kB / 0.622 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.00336, allocations: 199.5 kB / 0.6222 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.003481, allocations: 41.7 kB / 0.6222 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.003587, allocations: 107.7 kB / 0.6223 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.905e-05/0.003646, allocations: 39.88 kB / 0.6223 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.003669, allocations: 12 kB / 0.6223 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.166e-05/0.00368, allocations: 8 kB / 0.6223 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of combineBinaries: time 0.0001219/0.003802, allocations: 241.4 kB / 0.6226 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of replaceArrayConstructors: time 5.38e-05/0.003856, allocations: 169.7 kB / 0.6227 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.323e-05/0.003879, allocations: 12 kB / 0.6228 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.836e-05/0.003908, allocations: 11.92 kB / 0.6228 GB, free: 9.762 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 (24) * Number of variables: 24 (24) Notification: Performance of [SIM] Bindings: time 0.0005347/0.004442, allocations: 0.7172 MB / 0.6235 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of [SIM] FunctionAlias: time 8.41e-05/0.004526, allocations: 87.98 kB / 0.6235 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of [SIM] Early Inline: time 0.0001616/0.004688, allocations: 296.1 kB / 0.6238 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 1: time 6.719e-05/0.004755, allocations: 72.38 kB / 0.6239 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of [SIM] Alias: time 0.00061/0.005365, allocations: 0.5725 MB / 0.6245 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 2: time 3.72e-05/0.005402, allocations: 52.41 kB / 0.6245 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of [SIM] Remove Stream: time 3.217e-05/0.005435, allocations: 64.31 kB / 0.6246 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of [SIM] Detect States: time 0.0001741/0.005609, allocations: 178 kB / 0.6247 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of [SIM] Events: time 8.848e-05/0.005697, allocations: 55.94 kB / 0.6248 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of [SIM] Partitioning: time 0.0001668/0.005864, allocations: 214.5 kB / 0.625 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of [SIM] Causalize: time 0.0002109/0.006075, allocations: 260.7 kB / 0.6252 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001016/0.006176, allocations: 207.8 kB / 0.6254 GB, free: 6.453 MB / 0.5886 GB Notification: Performance of [INI] Simplify: time 0.0002286/0.006405, allocations: 214.3 kB / 0.6256 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of [INI] Inline: time 0.0001644/0.006569, allocations: 311.7 kB / 0.6259 GB, free: 5.887 MB / 0.5886 GB Notification: Performance of [INI] Partitioning: time 1.717e-05/0.006586, allocations: 24.11 kB / 0.626 GB, free: 5.855 MB / 0.5886 GB Notification: Performance of [INI] Cleanup: time 4.175e-05/0.006628, allocations: 71.94 kB / 0.626 GB, free: 5.785 MB / 0.5886 GB Notification: Performance of [INI] Causalize: time 0.0003677/0.006996, allocations: 372.2 kB / 0.6264 GB, free: 5.422 MB / 0.5886 GB Notification: Performance of [INI] Tearing: time 1.327e-05/0.007009, allocations: 16 kB / 0.6264 GB, free: 5.406 MB / 0.5886 GB Notification: Performance of [SIM] Initialization: time 6.51e-07/0.00701, allocations: 0 / 0.6264 GB, free: 5.406 MB / 0.5886 GB Notification: Performance of [SIM] DAE-Mode: time 7.677e-05/0.007087, allocations: 104.8 kB / 0.6265 GB, free: 5.25 MB / 0.5886 GB Notification: Performance of [SIM] Remove Dummies: time 4.348e-06/0.007091, allocations: 4 kB / 0.6265 GB, free: 5.246 MB / 0.5886 GB Notification: Performance of [SIM] Tearing: time 6.182e-06/0.007097, allocations: 15.94 kB / 0.6265 GB, free: 5.23 MB / 0.5886 GB Notification: Performance of [SIM] Categorize: time 9.749e-06/0.007107, allocations: 0 / 0.6265 GB, free: 5.23 MB / 0.5886 GB Notification: Performance of [SIM] Solve: time 0.0001646/0.007272, allocations: 181.8 kB / 0.6267 GB, free: 5.051 MB / 0.5886 GB Notification: Performance of [SIM] Jacobian: time 0.000295/0.007567, allocations: 0.8855 MB / 0.6276 GB, free: 3.98 MB / 0.5886 GB Notification: Performance of [SIM] Minimize Homotopy System: time 4.71e-07/0.007567, allocations: 0 / 0.6276 GB, free: 3.98 MB / 0.5886 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 4 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 3 * 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: ............................. 4 (4) {intWitRes1.y, intWitRes2.y, intNoReset.y, intDef.y} * Number of discrete states: .................... 1 (1) {booleanPulse.pulseStart} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 7 (7) {booleanPulse.y, sampleTrigger.y, $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: ........... 12 (scalar:12, 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: ........... 28 (scalar:28, 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 6.312e-05/0.00763, allocations: 22.88 kB / 0.6276 GB, free: 3.969 MB / 0.5886 GB Notification: Performance of SimCode: time 0.0005394/0.00817, allocations: 0.6381 MB / 0.6282 GB, free: 3.277 MB / 0.5886 GB Notification: Performance of Templates: time 0.00237/0.01054, allocations: 1.19 MB / 0.6294 GB, free: 2.113 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 3.182429418899119] Failed to read output from testmodel.py, exit status != 0: 0.015244688838720322 0.02273971 0.017357772 Calling exit ...