Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Utilities.TestReadFile.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.001682/0.001682, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.001698/0.001698, allocations: 208.8 kB / 24.49 MB, free: 3.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.648/1.648, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2546/0.2546, allocations: 46.96 MB / 361.6 MB, free: 4.047 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.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestReadFile") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.011e-05/3.011e-05, allocations: 6.219 kB / 0.4973 GB, free: 7.324 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.002304/0.002334, allocations: 489.1 kB / 0.4977 GB, free: 6.848 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001531/0.003865, allocations: 0.8765 MB / 0.4986 GB, free: 5.969 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.51e-05/0.00389, allocations: 0 / 0.4986 GB, free: 5.969 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.253e-05/0.003903, allocations: 0 / 0.4986 GB, free: 5.969 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000172/0.004075, allocations: 11.94 kB / 0.4986 GB, free: 5.957 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Utilities.mo:322:3-362:15:writable] Warning: Pure function 'ModelicaTest.Utilities.ReadFile' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0007072/0.004782, allocations: 65.03 kB / 0.4986 GB, free: 5.898 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.109e-05/0.004833, allocations: 4 kB / 0.4987 GB, free: 5.895 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.004871, allocations: 4 kB / 0.4987 GB, free: 5.891 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.034e-05/0.004892, allocations: 3.938 kB / 0.4987 GB, free: 5.887 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.982e-05/0.004951, allocations: 0 / 0.4987 GB, free: 5.887 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.233e-06/0.004959, allocations: 0 / 0.4987 GB, free: 5.887 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.005103, allocations: 59.94 kB / 0.4987 GB, free: 5.828 MB / 366.1 MB Notification: Performance of combineBinaries: time 3.164e-05/0.005134, allocations: 19.83 kB / 0.4987 GB, free: 5.809 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 3.918e-06/0.005138, allocations: 4 kB / 0.4987 GB, free: 5.805 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.236e-05/0.005151, allocations: 0 / 0.4987 GB, free: 5.805 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.392e-05/0.005185, allocations: 0 / 0.4987 GB, free: 5.805 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.0003696/0.005554, allocations: 189.6 kB / 0.4989 GB, free: 5.5 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.835e-05/0.005593, allocations: 27.91 kB / 0.4989 GB, free: 5.461 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 6.598e-05/0.005659, allocations: 52.36 kB / 0.499 GB, free: 5.383 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001373/0.005796, allocations: 60.73 kB / 0.4991 GB, free: 5.277 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 9.119e-05/0.005887, allocations: 80.59 kB / 0.4991 GB, free: 5.148 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 7.156e-05/0.005959, allocations: 68.73 kB / 0.4992 GB, free: 5.035 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.239e-05/0.006001, allocations: 36.42 kB / 0.4992 GB, free: 4.973 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001058/0.006107, allocations: 80.86 kB / 0.4993 GB, free: 4.84 MB / 366.1 MB Notification: Performance of [SIM] Events: time 1.973e-05/0.006127, allocations: 4 kB / 0.4993 GB, free: 4.836 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 6.276e-05/0.006189, allocations: 20.06 kB / 0.4993 GB, free: 4.809 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001148/0.006304, allocations: 28.11 kB / 0.4994 GB, free: 4.773 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.603e-05/0.00632, allocations: 8 kB / 0.4994 GB, free: 4.766 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001491/0.006469, allocations: 109.1 kB / 0.4995 GB, free: 4.59 MB / 366.1 MB Notification: Performance of [INI] Inline: time 3.814e-05/0.006507, allocations: 35.97 kB / 0.4995 GB, free: 4.551 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 9.849e-06/0.006517, allocations: 8.125 kB / 0.4995 GB, free: 4.535 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.216e-05/0.006529, allocations: 4 kB / 0.4995 GB, free: 4.531 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 6.603e-05/0.006596, allocations: 28.11 kB / 0.4995 GB, free: 4.496 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 6.843e-06/0.006602, allocations: 3.938 kB / 0.4995 GB, free: 4.492 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 2.485e-06/0.006605, allocations: 4 kB / 0.4995 GB, free: 4.488 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.467e-06/0.006608, allocations: 0 / 0.4995 GB, free: 4.488 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 5.61e-07/0.006609, allocations: 4.188 kB / 0.4996 GB, free: 4.484 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 4.468e-06/0.006613, allocations: 0 / 0.4996 GB, free: 4.484 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 1.497e-05/0.006628, allocations: 4 kB / 0.4996 GB, free: 4.48 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 5.179e-06/0.006633, allocations: 0 / 0.4996 GB, free: 4.48 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 3.999e-05/0.006673, allocations: 23.73 kB / 0.4996 GB, free: 4.457 MB / 366.1 MB Notification: Performance of SimCode: time 0.0006931/0.007367, allocations: 297.1 kB / 0.4999 GB, free: 4.18 MB / 366.1 MB Notification: Performance of Templates: time 0.002924/0.01029, allocations: 0.5977 MB / 0.5004 GB, free: 3.586 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestReadFile.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestReadFile.sim & ./ModelicaTest_4.1.0_ModelicaTest.Utilities.TestReadFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.3080192799679935] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.019985376857221127 0.03539057 0.027132752000000003 Calling exit ...