Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles.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.001518/0.001518, 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.002376/0.002376, allocations: 215.5 kB / 24.5 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.567/1.567, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.2662/0.2662, allocations: 46.97 MB / 361.6 MB, free: 4.043 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.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.307e-05/3.307e-05, allocations: 2.281 kB / 0.4973 GB, free: 7.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001774/0.001807, allocations: 496.9 kB / 0.4977 GB, free: 6.828 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002328/0.004136, allocations: 1.34 MB / 0.499 GB, free: 5.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.639e-05/0.004162, allocations: 0 / 0.499 GB, free: 5.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.309e-05/0.004175, allocations: 0 / 0.499 GB, free: 5.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002576/0.004433, allocations: 15.94 kB / 0.499 GB, free: 5.465 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Utilities.mo:455:3-487:12:writable] Warning: Pure function 'ModelicaTest.Utilities.Files' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.005781, allocations: 265.9 kB / 0.4993 GB, free: 5.207 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.532e-05/0.005846, allocations: 4 kB / 0.4993 GB, free: 5.203 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.477e-05/0.005891, allocations: 3.938 kB / 0.4993 GB, free: 5.199 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.559e-05/0.005917, allocations: 7.984 kB / 0.4993 GB, free: 5.191 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.325e-05/0.00598, allocations: 11.98 kB / 0.4993 GB, free: 5.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.397e-06/0.005989, allocations: 0 / 0.4993 GB, free: 5.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004223/0.01021, allocations: 0.7224 MB / 0.5 GB, free: 4.578 MB / 366.1 MB Notification: Performance of combineBinaries: time 4.269e-05/0.01025, allocations: 23.83 kB / 0.5001 GB, free: 4.555 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 9.318e-06/0.01026, allocations: 11.84 kB / 0.5001 GB, free: 4.543 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.653e-05/0.01028, allocations: 0 / 0.5001 GB, free: 4.543 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.118e-05/0.01032, allocations: 0 / 0.5001 GB, free: 4.543 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.0004368/0.01076, allocations: 201.6 kB / 0.5003 GB, free: 4.227 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 4.45e-05/0.0108, allocations: 23.91 kB / 0.5003 GB, free: 4.191 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 9.292e-05/0.0109, allocations: 60.34 kB / 0.5003 GB, free: 4.105 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 8.236e-05/0.01098, allocations: 64.73 kB / 0.5004 GB, free: 3.996 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0001171/0.0111, allocations: 80.59 kB / 0.5005 GB, free: 3.867 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 7.273e-05/0.01117, allocations: 60.75 kB / 0.5005 GB, free: 3.762 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.635e-05/0.01121, allocations: 44.36 kB / 0.5006 GB, free: 3.691 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001165/0.01133, allocations: 80.86 kB / 0.5007 GB, free: 3.559 MB / 366.1 MB Notification: Performance of [SIM] Events: time 2.308e-05/0.01135, allocations: 0 / 0.5007 GB, free: 3.559 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001012/0.01146, allocations: 32.11 kB / 0.5007 GB, free: 3.52 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.000182/0.01164, allocations: 20.11 kB / 0.5007 GB, free: 3.492 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 3.528e-05/0.01167, allocations: 16 kB / 0.5007 GB, free: 3.477 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0002018/0.01187, allocations: 121 kB / 0.5008 GB, free: 3.289 MB / 366.1 MB Notification: Performance of [INI] Inline: time 3.337e-05/0.01191, allocations: 20.06 kB / 0.5009 GB, free: 3.266 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.257e-05/0.01192, allocations: 8.125 kB / 0.5009 GB, free: 3.25 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 2.685e-05/0.01195, allocations: 15.98 kB / 0.5009 GB, free: 3.234 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 8.139e-05/0.01203, allocations: 28.09 kB / 0.5009 GB, free: 3.199 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.339e-05/0.01204, allocations: 3.938 kB / 0.5009 GB, free: 3.195 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.41e-07/0.01204, allocations: 0 / 0.5009 GB, free: 3.195 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.269e-06/0.01205, allocations: 3.938 kB / 0.5009 GB, free: 3.191 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 6.82e-07/0.01205, allocations: 4.188 kB / 0.5009 GB, free: 3.188 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 8.736e-06/0.01206, allocations: 4 kB / 0.5009 GB, free: 3.184 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 1.798e-05/0.01207, allocations: 8 kB / 0.5009 GB, free: 3.176 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 7.785e-06/0.01208, allocations: 0 / 0.5009 GB, free: 3.176 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 4.018e-05/0.01212, allocations: 21.72 kB / 0.501 GB, free: 3.16 MB / 366.1 MB Notification: Performance of SimCode: time 0.001446/0.01357, allocations: 0.576 MB / 0.5015 GB, free: 2.645 MB / 366.1 MB Notification: Performance of Templates: time 0.005256/0.01883, allocations: 1.553 MB / 0.503 GB, free: 1.098 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.308946461882442] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.02803295012563467 0.043226968000000004 0.029679849 Calling exit ...