Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Utilities.TestInternal.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.001807/0.001807, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.002273/0.002273, allocations: 220.8 kB / 24.5 MB, free: 3.922 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.611/1.611, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2688/0.2688, allocations: 46.96 MB / 361.6 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestInternal") translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestInternal") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.539e-05/3.539e-05, allocations: 2.281 kB / 0.4973 GB, free: 7.289 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001819/0.001854, allocations: 493 kB / 0.4977 GB, free: 6.809 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007983/0.002652, allocations: 259.4 kB / 0.498 GB, free: 6.555 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.221e-05/0.002684, allocations: 3.938 kB / 0.498 GB, free: 6.551 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.657e-05/0.002701, allocations: 0 / 0.498 GB, free: 6.551 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.506e-06/0.00271, allocations: 0 / 0.498 GB, free: 6.551 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Utilities.mo:398:3-453:15:writable] Warning: Pure function 'ModelicaTest.Utilities.Internal' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0004268/0.003136, allocations: 59.8 kB / 0.498 GB, free: 6.492 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.634e-05/0.003213, allocations: 4 kB / 0.498 GB, free: 6.488 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.942e-05/0.003262, allocations: 0 / 0.498 GB, free: 6.488 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.354e-05/0.003286, allocations: 0 / 0.498 GB, free: 6.488 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.28e-05/0.003318, allocations: 4 kB / 0.498 GB, free: 6.484 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.003332, allocations: 4 kB / 0.498 GB, free: 6.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.003505, allocations: 63.95 kB / 0.4981 GB, free: 6.418 MB / 366.1 MB Notification: Performance of combineBinaries: time 4.16e-05/0.003547, allocations: 7.922 kB / 0.4981 GB, free: 6.41 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 3.647e-06/0.00355, allocations: 3.906 kB / 0.4981 GB, free: 6.406 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.729e-05/0.003568, allocations: 4 kB / 0.4981 GB, free: 6.402 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.814e-06/0.003575, allocations: 0 / 0.4981 GB, free: 6.402 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 (1) * Number of variables: 1 (1) Notification: Performance of [SIM] Bindings: time 0.0004705/0.004046, allocations: 185.7 kB / 0.4983 GB, free: 6.102 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 4.643e-05/0.004092, allocations: 23.91 kB / 0.4983 GB, free: 6.066 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 8.178e-05/0.004174, allocations: 52.38 kB / 0.4984 GB, free: 5.988 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001009/0.004275, allocations: 64.73 kB / 0.4984 GB, free: 5.879 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0001077/0.004383, allocations: 76.59 kB / 0.4985 GB, free: 5.754 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 8.391e-05/0.004467, allocations: 64.73 kB / 0.4986 GB, free: 5.645 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.724e-05/0.004514, allocations: 36.44 kB / 0.4986 GB, free: 5.582 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001239/0.004638, allocations: 80.84 kB / 0.4987 GB, free: 5.449 MB / 366.1 MB Notification: Performance of [SIM] Events: time 2.338e-05/0.004661, allocations: 3.938 kB / 0.4987 GB, free: 5.445 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001006/0.004762, allocations: 20.12 kB / 0.4987 GB, free: 5.418 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001737/0.004935, allocations: 28.11 kB / 0.4987 GB, free: 5.383 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.645e-05/0.004952, allocations: 8 kB / 0.4987 GB, free: 5.375 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001685/0.00512, allocations: 96.97 kB / 0.4988 GB, free: 5.211 MB / 366.1 MB Notification: Performance of [INI] Inline: time 3.167e-05/0.005152, allocations: 23.98 kB / 0.4988 GB, free: 5.184 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.238e-05/0.005164, allocations: 12.12 kB / 0.4989 GB, free: 5.164 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.853e-05/0.005183, allocations: 7.984 kB / 0.4989 GB, free: 5.156 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 9.277e-05/0.005276, allocations: 32.11 kB / 0.4989 GB, free: 5.117 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.489e-05/0.005291, allocations: 4.375 kB / 0.4989 GB, free: 5.113 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.8e-07/0.005291, allocations: 0 / 0.4989 GB, free: 5.113 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.25e-06/0.005296, allocations: 0 / 0.4989 GB, free: 5.113 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 4.358e-06/0.005301, allocations: 7.938 kB / 0.4989 GB, free: 5.105 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 6.102e-06/0.005307, allocations: 0 / 0.4989 GB, free: 5.105 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 1.439e-05/0.005321, allocations: 0 / 0.4989 GB, free: 5.105 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 1.265e-05/0.005334, allocations: 7.938 kB / 0.4989 GB, free: 5.098 MB / 366.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: ............... 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 1 (1) {result} * 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: ........... 0 (scalar:0, 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: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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.103e-05/0.005395, allocations: 34.12 kB / 0.499 GB, free: 5.066 MB / 366.1 MB Notification: Performance of SimCode: time 0.001181/0.006575, allocations: 385.4 kB / 0.4993 GB, free: 4.75 MB / 366.1 MB Notification: Performance of Templates: time 0.003385/0.00996, allocations: 0.7539 MB / 0.5001 GB, free: 4 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestInternal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestInternal.sim & ./ModelicaTest_4.1.0_ModelicaTest.Utilities.TestInternal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Utilities.TestInternal.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.267576505895704] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.01929991925135255 0.034306227 0.027682102 Calling exit ...