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.0005577/0.0005577, 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.0006983/0.0006983, 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.8051/0.8051, allocations: 177.2 MB / 203.7 MB, free: 5.695 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.6723/0.6723, allocations: 154.5 MB / 414.7 MB, free: 0.7617 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.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.589e-05/1.589e-05, allocations: 2.312 kB / 0.6195 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001301/0.001317, allocations: 0.6539 MB / 0.6202 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.002582, allocations: 1.108 MB / 0.6212 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.727e-05/0.002639, allocations: 0 / 0.6212 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.179e-05/0.002671, allocations: 3.938 kB / 0.6212 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.758e-05/0.002739, allocations: 15.86 kB / 0.6213 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.003026, allocations: 55.75 kB / 0.6213 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.003128, allocations: 67.83 kB / 0.6214 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.00323, allocations: 8 kB / 0.6214 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.403e-05/0.003304, allocations: 43.88 kB / 0.6214 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.33e-05/0.003347, allocations: 27.95 kB / 0.6215 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.003364, allocations: 12 kB / 0.6215 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.824e-05/0.003423, allocations: 19.94 kB / 0.6215 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of combineBinaries: time 7.336e-05/0.003496, allocations: 95.16 kB / 0.6216 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of replaceArrayConstructors: time 2.209e-05/0.003518, allocations: 59.22 kB / 0.6216 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.774e-05/0.003536, allocations: 4 kB / 0.6216 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.122e-05/0.003547, allocations: 0 / 0.6216 GB, free: 10.88 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: 11 (11) * Number of variables: 11 (11) Notification: Performance of [SIM] Bindings: time 0.0004139/0.003961, allocations: 428 kB / 0.622 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001241/0.004085, allocations: 86.17 kB / 0.6221 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of [SIM] Early Inline: time 0.0002091/0.004294, allocations: 280.1 kB / 0.6224 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 1: time 7.005e-05/0.004364, allocations: 68.39 kB / 0.6225 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of [SIM] Alias: time 0.0004666/0.004831, allocations: 276.6 kB / 0.6227 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 2: time 4.908e-05/0.00488, allocations: 64.39 kB / 0.6228 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of [SIM] Remove Stream: time 3.714e-05/0.004917, allocations: 56.72 kB / 0.6228 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of [SIM] Detect States: time 0.0002265/0.005143, allocations: 192.8 kB / 0.623 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of [SIM] Events: time 8.844e-05/0.005232, allocations: 51.77 kB / 0.6231 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of [SIM] Partitioning: time 0.0001738/0.005406, allocations: 159.7 kB / 0.6232 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of [SIM] Causalize: time 0.0002509/0.005657, allocations: 196 kB / 0.6234 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001268/0.005783, allocations: 211.8 kB / 0.6236 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of [INI] Simplify: time 0.0002054/0.005989, allocations: 170.9 kB / 0.6238 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of [INI] Inline: time 0.0001761/0.006165, allocations: 315.8 kB / 0.6241 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of [INI] Partitioning: time 1.332e-05/0.006178, allocations: 16.11 kB / 0.6241 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of [INI] Cleanup: time 3.638e-05/0.006215, allocations: 55.94 kB / 0.6241 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of [INI] Causalize: time 0.0002989/0.006513, allocations: 316.8 kB / 0.6244 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of [INI] Tearing: time 1.399e-05/0.006527, allocations: 15.94 kB / 0.6245 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of [SIM] Initialization: time 7.92e-07/0.006528, allocations: 4 kB / 0.6245 GB, free: 7.504 MB / 0.5886 GB Notification: Performance of [SIM] DAE-Mode: time 5.168e-05/0.00658, allocations: 36.05 kB / 0.6245 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of [SIM] Remove Dummies: time 5.47e-06/0.006585, allocations: 8 kB / 0.6245 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of [SIM] Tearing: time 2.986e-06/0.006588, allocations: 4 kB / 0.6245 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of [SIM] Categorize: time 8.807e-06/0.006597, allocations: 4 kB / 0.6245 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of [SIM] Solve: time 0.000139/0.006736, allocations: 151.9 kB / 0.6247 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of [SIM] Jacobian: time 0.0001091/0.006845, allocations: 186.1 kB / 0.6248 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of [SIM] Minimize Homotopy System: time 1.082e-06/0.006846, allocations: 32 / 0.6248 GB, free: 7.078 MB / 0.5886 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: ........... 20 (scalar:20, 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 4.962e-05/0.006896, allocations: 27.84 kB / 0.6249 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of SimCode: time 0.0004909/0.007387, allocations: 344 kB / 0.6252 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of Templates: time 0.002261/0.009648, allocations: 0.9099 MB / 0.6261 GB, free: 5.82 MB / 0.5886 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 os._exit(0), Time elapsed: 5.05225945264101] Failed to read output from testmodel.py, exit status != 0: 0.013662981800734997 0.022767533000000003 0.017597823000000002 Calling exit ...