Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 112 kB / 20.54 MB, free: 1.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 186.6 kB / 23.71 MB, free: 5.402 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 225.6 MB / 252.3 MB, free: 13.35 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2094/0.2094, allocations: 44.92 MB / 352.3 MB, free: 12.24 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/1.957e-05, allocations: 2.281 kB / 495.9 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001307/0.001327, allocations: 495.7 kB / 496.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.002401, allocations: 0.8471 MB / 497.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.354e-05/0.002424, allocations: 0 / 497.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.056e-05/0.002435, allocations: 4 kB / 497.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.00258, allocations: 7.938 kB / 497.2 MB, free: 0.625 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Utilities.mo:323:3-363: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.0005468/0.003127, allocations: 50.17 kB / 497.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.145e-05/0.003178, allocations: 7.938 kB / 497.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.214e-05/0.00321, allocations: 3.984 kB / 497.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.47e-05/0.003225, allocations: 0 / 497.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.024e-05/0.003305, allocations: 15.92 kB / 497.3 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.704e-06/0.003313, allocations: 0 / 497.3 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.003441, allocations: 55.95 kB / 497.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of combineBinaries: time 2.03e-05/0.003461, allocations: 4 kB / 497.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 5.721e-06/0.003467, allocations: 7.906 kB / 497.4 MB, free: 496 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.04e-05/0.003477, allocations: 4 kB / 497.4 MB, free: 492 kB / 350.1 MB Notification: Performance of FrontEnd: time 6.993e-06/0.003484, allocations: 0 / 497.4 MB, free: 492 kB / 350.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 Bindings: time 0.0002829/0.003767, allocations: 180.3 kB / 497.6 MB, free: 192 kB / 350.1 MB Notification: Performance of FunctionAlias: time 1.841e-05/0.003786, allocations: 10.81 kB / 497.6 MB, free: 184 kB / 350.1 MB Notification: Performance of Early Inline: time 5.823e-05/0.003844, allocations: 48.73 kB / 497.6 MB, free: 108 kB / 350.1 MB Notification: Performance of Simplify 1: time 3.475e-05/0.003879, allocations: 36.42 kB / 497.7 MB, free: 44 kB / 350.1 MB Notification: Performance of Alias: time 8.528e-05/0.003964, allocations: 72.94 kB / 497.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of Simplify 2: time 3.506e-05/0.003999, allocations: 36.42 kB / 497.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of Remove Stream: time 3.653e-05/0.004036, allocations: 44.36 kB / 497.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of Detect States: time 0.0001259/0.004161, allocations: 70.03 kB / 497.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of Events: time 1.379e-05/0.004175, allocations: 11.94 kB / 497.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of Partitioning: time 5.364e-05/0.004229, allocations: 20.12 kB / 497.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of Causalize: time 9.885e-05/0.004328, allocations: 24.11 kB / 497.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 1.336e-05/0.004341, allocations: 8 kB / 497.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of Simplify: time 9.396e-05/0.004435, allocations: 76.92 kB / 498 MB, free: 15.48 MB / 366.1 MB Notification: Performance of Inline: time 1.972e-05/0.004455, allocations: 20.05 kB / 498 MB, free: 15.46 MB / 366.1 MB Notification: Performance of Partitioning: time 1.188e-05/0.004467, allocations: 12.12 kB / 498 MB, free: 15.44 MB / 366.1 MB Notification: Performance of Cleanup: time 1.896e-05/0.004486, allocations: 15.98 kB / 498.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of Causalize: time 4.959e-05/0.004535, allocations: 24.11 kB / 498.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of Tearing: time 7.535e-06/0.004543, allocations: 0 / 498.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of Initialization: time 2.91e-07/0.004543, allocations: 0 / 498.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of Remove Dummies: time 6.341e-06/0.004549, allocations: 3.938 kB / 498.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of Tearing: time 3.607e-06/0.004553, allocations: 4 kB / 498.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of Categorize: time 4.98e-06/0.004558, allocations: 4.188 kB / 498.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of Solve: time 1.763e-05/0.004576, allocations: 4 kB / 498.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of Jacobian: time 3.517e-06/0.004579, allocations: 0 / 498.1 MB, free: 15.38 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: ............ 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: [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.409e-05/0.004613, allocations: 21.7 kB / 498.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of SimCode: time 0.0008598/0.005473, allocations: 0.8915 MB / 499 MB, free: 14.47 MB / 366.1 MB Notification: Performance of Templates: time 0.002729/0.008202, allocations: 0.6252 MB / 499.6 MB, free: 13.85 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.sim & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.233818844892085]