Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.001253/0.001253, allocations: 80.92 kB / 19.95 MB, free: 1.945 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.001364/0.001364, allocations: 170.6 kB / 23.23 MB, free: 4.961 MB / 14.72 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.344/1.344, allocations: 177.2 MB / 203.6 MB, free: 9.18 MB / 190.1 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-531:190: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-531:198: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 1.11/1.11, allocations: 155 MB / 415 MB, free: 4.926 MB / 382.1 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.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.478e-05/1.478e-05, allocations: 4.578 kB / 0.6198 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001503/0.001517, allocations: 0.6728 MB / 0.6205 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.002982, allocations: 1.104 MB / 0.6215 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.506e-05/0.003027, allocations: 3.25 kB / 0.6215 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.319e-05/0.003051, allocations: 3.938 kB / 0.6215 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.007e-05/0.003111, allocations: 7.938 kB / 0.6216 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.003378, allocations: 51.75 kB / 0.6216 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000119/0.003497, allocations: 79.75 kB / 0.6217 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.579e-05/0.003573, allocations: 8 kB / 0.6217 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.072e-05/0.003653, allocations: 31.97 kB / 0.6217 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.554e-05/0.003709, allocations: 32.52 kB / 0.6217 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.003729, allocations: 9.688 kB / 0.6218 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.543e-05/0.003794, allocations: 23.92 kB / 0.6218 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.0001013/0.003896, allocations: 99.14 kB / 0.6219 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 3.499e-05/0.003931, allocations: 55.28 kB / 0.6219 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.726e-05/0.003948, allocations: 4 kB / 0.6219 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.866e-06/0.003957, allocations: 1.188 kB / 0.6219 GB, free: 2.082 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 (11) * Number of variables: 11 (11) Notification: Performance of [SIM] Bindings: time 0.0006544/0.004611, allocations: 427.6 kB / 0.6223 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of [SIM] FunctionAlias: time 9.922e-05/0.004711, allocations: 72.05 kB / 0.6224 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of [SIM] Early Inline: time 0.0003822/0.005093, allocations: 322.4 kB / 0.6227 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 1: time 0.0001319/0.005225, allocations: 100.6 kB / 0.6228 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of [SIM] Alias: time 0.000441/0.005666, allocations: 268.6 kB / 0.6231 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 2: time 0.0001264/0.005792, allocations: 105 kB / 0.6232 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of [SIM] Remove Stream: time 6.341e-05/0.005855, allocations: 60.39 kB / 0.6232 GB, free: 428 kB / 0.5294 GB Notification: Performance of [SIM] Detect States: time 0.0002492/0.006105, allocations: 200.7 kB / 0.6234 GB, free: 160 kB / 0.5294 GB Notification: Performance of [SIM] Events: time 7.912e-05/0.006184, allocations: 43.8 kB / 0.6235 GB, free: 116 kB / 0.5294 GB Notification: Performance of [SIM] Partitioning: time 0.0002157/0.006399, allocations: 152.5 kB / 0.6236 GB, free: 15.93 MB / 0.545 GB Notification: Performance of [SIM] Causalize: time 0.0002812/0.006681, allocations: 176 kB / 0.6238 GB, free: 15.75 MB / 0.545 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000206/0.006887, allocations: 231.8 kB / 0.624 GB, free: 15.52 MB / 0.545 GB Notification: Performance of [INI] Simplify: time 0.0003054/0.007192, allocations: 195.2 kB / 0.6242 GB, free: 15.27 MB / 0.545 GB Notification: Performance of [INI] Inline: time 0.000303/0.007495, allocations: 335.7 kB / 0.6245 GB, free: 14.93 MB / 0.545 GB Notification: Performance of [INI] Partitioning: time 2.785e-05/0.007523, allocations: 24.05 kB / 0.6245 GB, free: 14.9 MB / 0.545 GB Notification: Performance of [INI] Cleanup: time 6.199e-05/0.007585, allocations: 59.94 kB / 0.6246 GB, free: 14.84 MB / 0.545 GB Notification: Performance of [INI] Causalize: time 0.0004372/0.008022, allocations: 292.4 kB / 0.6249 GB, free: 14.55 MB / 0.545 GB Notification: Performance of [INI] Tearing: time 1.586e-05/0.008038, allocations: 12 kB / 0.6249 GB, free: 14.54 MB / 0.545 GB Notification: Performance of [SIM] Initialization: time 5.11e-07/0.008038, allocations: 4 kB / 0.6249 GB, free: 14.53 MB / 0.545 GB Notification: Performance of [SIM] Remove Dummies: time 3.847e-06/0.008042, allocations: 0 / 0.6249 GB, free: 14.53 MB / 0.545 GB Notification: Performance of [SIM] Tearing: time 4.91e-06/0.008047, allocations: 4 kB / 0.6249 GB, free: 14.53 MB / 0.545 GB Notification: Performance of [SIM] Categorize: time 7.163e-06/0.008054, allocations: 7.938 kB / 0.6249 GB, free: 14.52 MB / 0.545 GB Notification: Performance of [SIM] Solve: time 0.0002076/0.008262, allocations: 139.9 kB / 0.625 GB, free: 14.38 MB / 0.545 GB Notification: Performance of [SIM] Jacobian: time 8.386e-06/0.00827, allocations: 3.938 kB / 0.625 GB, free: 14.38 MB / 0.545 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.2e-07/0.008271, allocations: 7.938 kB / 0.625 GB, free: 14.37 MB / 0.545 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 5 (5) {firOrdHol.c, firOrdHol.pre_uSample, firOrdHol.uSample, firOrdHol.tSample, firOrdHol.firstTrigger} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {firOrdHol.sampleTrigger, $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: ........... 8 (scalar:8, array:0, record:0) * Number of multi strong components: ............ 5 (algorithm:0, when:5, 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: ........... 19 (scalar:19, 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.275e-05/0.008333, allocations: 33.77 kB / 0.6251 GB, free: 14.35 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005248/0.008858, allocations: 333.7 kB / 0.6254 GB, free: 14 MB / 0.545 GB Notification: Performance of Templates: time 0.003469/0.01233, allocations: 0.9566 MB / 0.6263 GB, free: 13.07 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.237067749723792] Failed to read output from testmodel.py, exit status != 0: 0.019827954471111298 0.033375581 0.026605302 Calling exit ...