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.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.002308/0.002308, 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.003072/0.003072, allocations: 211 kB / 24.55 MB, free: 3.824 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.524/1.524, allocations: 230.6 MB / 258.3 MB, free: 7.742 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.2249/0.2249, allocations: 44.94 MB / 359.7 MB, free: 6.004 MB / 286.1 MB " [Timeout remaining time 179] 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.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.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 2.391e-05/2.391e-05, allocations: 6.219 kB / 0.4943 GB, free: 10.06 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001434/0.001458, allocations: 485.1 kB / 0.4948 GB, free: 9.586 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.002657, allocations: 0.8804 MB / 0.4956 GB, free: 8.703 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.261e-05/0.002679, allocations: 4 kB / 0.4956 GB, free: 8.699 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.67e-05/0.002696, allocations: 0 / 0.4956 GB, free: 8.699 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.002876, allocations: 4 kB / 0.4956 GB, free: 8.695 MB / 366.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.0006299/0.003506, allocations: 57.08 kB / 0.4957 GB, free: 8.641 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.469e-05/0.00357, allocations: 12 kB / 0.4957 GB, free: 8.629 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.145e-05/0.003612, allocations: 3.984 kB / 0.4957 GB, free: 8.625 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.601e-05/0.003628, allocations: 0 / 0.4957 GB, free: 8.625 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.999e-05/0.003678, allocations: 11.92 kB / 0.4957 GB, free: 8.613 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.434e-06/0.003685, allocations: 0 / 0.4957 GB, free: 8.613 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.003821, allocations: 62.42 kB / 0.4958 GB, free: 8.555 MB / 366.1 MB Notification: Performance of combineBinaries: time 2.97e-05/0.003851, allocations: 7.906 kB / 0.4958 GB, free: 8.547 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 5.441e-06/0.003856, allocations: 3.938 kB / 0.4958 GB, free: 8.543 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.35e-05/0.003869, allocations: 0 / 0.4958 GB, free: 8.543 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.288e-05/0.003902, allocations: 4 kB / 0.4958 GB, free: 8.539 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.0003692/0.004272, allocations: 193.6 kB / 0.496 GB, free: 8.23 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.623e-05/0.004308, allocations: 23.84 kB / 0.496 GB, free: 8.195 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 7.18e-05/0.00438, allocations: 56.42 kB / 0.496 GB, free: 8.113 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 6.886e-05/0.004448, allocations: 56.69 kB / 0.4961 GB, free: 8.012 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 9.53e-05/0.004544, allocations: 84.64 kB / 0.4962 GB, free: 7.879 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 6.496e-05/0.004609, allocations: 64.67 kB / 0.4962 GB, free: 7.77 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.484e-05/0.004654, allocations: 36.44 kB / 0.4963 GB, free: 7.707 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 9.823e-05/0.004752, allocations: 80.86 kB / 0.4964 GB, free: 7.574 MB / 366.1 MB Notification: Performance of [SIM] Events: time 1.856e-05/0.00477, allocations: 8 kB / 0.4964 GB, free: 7.566 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 7.461e-05/0.004845, allocations: 24.11 kB / 0.4964 GB, free: 7.535 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001229/0.004968, allocations: 16.12 kB / 0.4964 GB, free: 7.512 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.922e-05/0.004987, allocations: 15.92 kB / 0.4964 GB, free: 7.496 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001494/0.005136, allocations: 105 kB / 0.4965 GB, free: 7.324 MB / 366.1 MB Notification: Performance of [INI] Inline: time 2.96e-05/0.005166, allocations: 24.06 kB / 0.4965 GB, free: 7.297 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.133e-05/0.005177, allocations: 12.11 kB / 0.4966 GB, free: 7.277 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.763e-05/0.005195, allocations: 16.12 kB / 0.4966 GB, free: 7.262 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 6.612e-05/0.005261, allocations: 28.05 kB / 0.4966 GB, free: 7.227 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.119e-05/0.005272, allocations: 4 kB / 0.4966 GB, free: 7.223 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.21e-07/0.005273, allocations: 0 / 0.4966 GB, free: 7.223 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.737e-05/0.0053, allocations: 8.125 kB / 0.4966 GB, free: 7.207 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.719e-06/0.005305, allocations: 3.938 kB / 0.4966 GB, free: 7.203 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 2.995e-06/0.005308, allocations: 4 kB / 0.4966 GB, free: 7.199 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 6.011e-06/0.005314, allocations: 0 / 0.4966 GB, free: 7.199 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 2.813e-05/0.005342, allocations: 16.19 kB / 0.4966 GB, free: 7.184 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001285/0.00547, allocations: 169.9 kB / 0.4968 GB, free: 6.984 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.655e-05/0.005517, allocations: 28.25 kB / 0.4968 GB, free: 6.957 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.853944447997492] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.012995055003557354 0.027200507000000002 0.020322148 Calling exit ...