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.0016/0.0016, allocations: 103.6 kB / 21.25 MB, free: 0.5664 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.00186/0.00186, allocations: 212.5 kB / 24.55 MB, free: 3.828 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.522/1.522, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.2353/0.2353, allocations: 46.98 MB / 361.7 MB, free: 3.973 MB / 286.1 MB " [Timeout remaining time 180] 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 2.091e-05/2.091e-05, allocations: 4.953 kB / 0.4974 GB, free: 7.23 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001401/0.001422, allocations: 493 kB / 0.4978 GB, free: 6.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.002615, allocations: 0.8688 MB / 0.4987 GB, free: 5.879 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.124e-05/0.002637, allocations: 0 / 0.4987 GB, free: 5.879 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.186e-05/0.002648, allocations: 0 / 0.4987 GB, free: 5.879 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001787/0.002827, allocations: 11.98 kB / 0.4987 GB, free: 5.867 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.000591/0.003418, allocations: 62.42 kB / 0.4988 GB, free: 5.809 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.778e-05/0.003476, allocations: 0 / 0.4988 GB, free: 5.809 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.433e-05/0.00351, allocations: 4 kB / 0.4988 GB, free: 5.805 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.755e-05/0.003528, allocations: 4 kB / 0.4988 GB, free: 5.801 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.016e-05/0.003568, allocations: 0 / 0.4988 GB, free: 5.801 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.003582, allocations: 7.984 kB / 0.4988 GB, free: 5.793 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.003718, allocations: 63.88 kB / 0.4988 GB, free: 5.73 MB / 366.1 MB Notification: Performance of combineBinaries: time 2.905e-05/0.003747, allocations: 7.844 kB / 0.4989 GB, free: 5.723 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 4.228e-06/0.003751, allocations: 4 kB / 0.4989 GB, free: 5.719 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.223e-05/0.003763, allocations: 0 / 0.4989 GB, free: 5.719 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.889e-05/0.003792, allocations: 0 / 0.4989 GB, free: 5.719 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.0003616/0.004154, allocations: 189.6 kB / 0.499 GB, free: 5.414 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 4.996e-05/0.004204, allocations: 35.83 kB / 0.4991 GB, free: 5.367 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 6.421e-05/0.004268, allocations: 48.44 kB / 0.4991 GB, free: 5.293 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 7.456e-05/0.004343, allocations: 68.67 kB / 0.4992 GB, free: 5.18 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 9.517e-05/0.004438, allocations: 76.66 kB / 0.4993 GB, free: 5.055 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 6.81e-05/0.004506, allocations: 68.66 kB / 0.4993 GB, free: 4.941 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 3.788e-05/0.004544, allocations: 36.44 kB / 0.4994 GB, free: 4.879 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 9.843e-05/0.004642, allocations: 84.8 kB / 0.4994 GB, free: 4.742 MB / 366.1 MB Notification: Performance of [SIM] Events: time 1.689e-05/0.004659, allocations: 0 / 0.4994 GB, free: 4.742 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 7.98e-05/0.004739, allocations: 24.11 kB / 0.4995 GB, free: 4.711 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001232/0.004862, allocations: 28.12 kB / 0.4995 GB, free: 4.676 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 2.053e-05/0.004883, allocations: 15.8 kB / 0.4995 GB, free: 4.66 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001406/0.005023, allocations: 93.11 kB / 0.4996 GB, free: 4.5 MB / 366.1 MB Notification: Performance of [INI] Inline: time 4.169e-05/0.005065, allocations: 32.03 kB / 0.4996 GB, free: 4.465 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.081e-05/0.005076, allocations: 8.125 kB / 0.4996 GB, free: 4.449 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.656e-05/0.005092, allocations: 11.94 kB / 0.4996 GB, free: 4.438 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 6.932e-05/0.005161, allocations: 32.11 kB / 0.4997 GB, free: 4.398 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.562e-05/0.005177, allocations: 4.375 kB / 0.4997 GB, free: 4.395 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.81e-07/0.005177, allocations: 0 / 0.4997 GB, free: 4.395 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.673e-05/0.005204, allocations: 12.12 kB / 0.4997 GB, free: 4.375 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 2.895e-06/0.005207, allocations: 0 / 0.4997 GB, free: 4.375 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 9.01e-07/0.005208, allocations: 0 / 0.4997 GB, free: 4.375 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 6.773e-06/0.005215, allocations: 4 kB / 0.4997 GB, free: 4.371 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 2.062e-05/0.005235, allocations: 7.984 kB / 0.4997 GB, free: 4.363 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001515/0.005387, allocations: 169.9 kB / 0.4999 GB, free: 4.164 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.929e-05/0.005426, allocations: 26.88 kB / 0.4999 GB, free: 4.141 MB / 366.1 MB Error: Internal error NSimStrongComponent.Block.createEquation failed with status Solve.EXPLICIT for [DUMY] (0) Dummy equation. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.8028724679606967] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.012769156019203365 0.031309613 0.024652209 Calling exit ...