Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStreams.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.001866/0.001866, 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.001653/0.001653, allocations: 214.1 kB / 24.49 MB, free: 3.93 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.631/1.631, allocations: 230.6 MB / 258.3 MB, free: 7.812 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.2774/0.2774, allocations: 46.96 MB / 361.6 MB, free: 4.066 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.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStreams") translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStreams") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 5.293e-05/5.293e-05, allocations: 2.281 kB / 0.4973 GB, free: 7.328 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.002228/0.002281, allocations: 485 kB / 0.4977 GB, free: 6.855 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009694/0.00325, allocations: 315.3 kB / 0.498 GB, free: 6.547 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.145e-05/0.003281, allocations: 3.938 kB / 0.498 GB, free: 6.543 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.588e-05/0.003297, allocations: 0 / 0.498 GB, free: 6.543 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.633e-06/0.003304, allocations: 0 / 0.498 GB, free: 6.543 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Utilities.mo:221:3-287:14:writable] Warning: Pure function 'ModelicaTest.Utilities.Streams' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.004428, allocations: 96.12 kB / 0.4981 GB, free: 6.453 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.669e-05/0.004495, allocations: 4 kB / 0.4981 GB, free: 6.449 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.12e-05/0.004536, allocations: 4 kB / 0.4981 GB, free: 6.445 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.905e-05/0.004555, allocations: 0 / 0.4981 GB, free: 6.445 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.727e-05/0.004582, allocations: 0 / 0.4981 GB, free: 6.445 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.378e-06/0.004592, allocations: 0 / 0.4981 GB, free: 6.445 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002583/0.00485, allocations: 111.9 kB / 0.4982 GB, free: 6.336 MB / 366.1 MB Notification: Performance of combineBinaries: time 4.267e-05/0.004893, allocations: 11.92 kB / 0.4982 GB, free: 6.324 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 4.639e-06/0.004897, allocations: 3.906 kB / 0.4982 GB, free: 6.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.185e-05/0.004919, allocations: 4 kB / 0.4982 GB, free: 6.316 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.323e-05/0.004962, allocations: 0 / 0.4982 GB, free: 6.316 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.0007084/0.005671, allocations: 181.7 kB / 0.4984 GB, free: 6.02 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 4.705e-05/0.005718, allocations: 27.84 kB / 0.4984 GB, free: 5.98 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 9.184e-05/0.00581, allocations: 48.38 kB / 0.4985 GB, free: 5.906 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 8.396e-05/0.005894, allocations: 64.73 kB / 0.4986 GB, free: 5.797 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0001295/0.006023, allocations: 80.59 kB / 0.4986 GB, free: 5.668 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 8.467e-05/0.006108, allocations: 68.73 kB / 0.4987 GB, free: 5.555 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 6.487e-05/0.006173, allocations: 36.44 kB / 0.4987 GB, free: 5.492 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001151/0.006288, allocations: 76.84 kB / 0.4988 GB, free: 5.363 MB / 366.1 MB Notification: Performance of [SIM] Events: time 2.267e-05/0.00631, allocations: 0 / 0.4988 GB, free: 5.363 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 9.698e-05/0.006407, allocations: 24.12 kB / 0.4988 GB, free: 5.332 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001776/0.006585, allocations: 24.11 kB / 0.4989 GB, free: 5.301 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.302e-05/0.006598, allocations: 7.938 kB / 0.4989 GB, free: 5.293 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.000185/0.006783, allocations: 105.2 kB / 0.499 GB, free: 5.121 MB / 366.1 MB Notification: Performance of [INI] Inline: time 2.536e-05/0.006808, allocations: 20.05 kB / 0.499 GB, free: 5.098 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.497e-05/0.006823, allocations: 16.06 kB / 0.499 GB, free: 5.074 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.94e-05/0.006843, allocations: 7.984 kB / 0.499 GB, free: 5.066 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 8.8e-05/0.006931, allocations: 28.11 kB / 0.499 GB, free: 5.031 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.447e-05/0.006945, allocations: 0 / 0.499 GB, free: 5.031 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.71e-07/0.006946, allocations: 0 / 0.499 GB, free: 5.031 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.581e-06/0.006951, allocations: 0 / 0.499 GB, free: 5.031 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 2.835e-06/0.006954, allocations: 8.188 kB / 0.499 GB, free: 5.023 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 6.983e-06/0.006961, allocations: 0 / 0.499 GB, free: 5.023 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 1.807e-05/0.006979, allocations: 4 kB / 0.499 GB, free: 5.02 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 8.095e-06/0.006987, allocations: 0 / 0.499 GB, free: 5.02 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.007048, allocations: 25.97 kB / 0.4991 GB, free: 4.996 MB / 366.1 MB Notification: Performance of SimCode: time 0.001229/0.008277, allocations: 424 kB / 0.4995 GB, free: 4.625 MB / 366.1 MB Notification: Performance of Templates: time 0.004078/0.01235, allocations: 0.941 MB / 0.5004 GB, free: 3.688 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStreams.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStreams.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStreams.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStreams.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStreams.sim & ./ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStreams -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStreams.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.301845524925739] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.021945158019661903 0.03701210199999994 0.02895994899999994 Calling exit ...