Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Utilities.Examples.WriteRealMatrixToFile.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.00176/0.00176, 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.002448/0.002448, 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.573/1.573, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|success1|success2|success3|success4",fileNamePrefix="Modelica_4.1.0_Modelica.Utilities.Examples.WriteRealMatrixToFile") translateModel(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|success1|success2|success3|success4",fileNamePrefix="Modelica_4.1.0_Modelica.Utilities.Examples.WriteRealMatrixToFile") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/1.957e-05, allocations: 2.281 kB / 379 MB, free: 2.512 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.001446/0.001465, allocations: 482.7 kB / 379.5 MB, free: 2.043 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002751/0.00174, allocations: 62.11 kB / 379.6 MB, free: 1.984 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.913e-05/0.001769, allocations: 3.938 kB / 379.6 MB, free: 1.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.787e-05/0.001797, allocations: 4 kB / 379.6 MB, free: 1.977 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.922e-05/0.001866, allocations: 15.97 kB / 379.6 MB, free: 1.961 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.002008, allocations: 19.92 kB / 379.6 MB, free: 1.941 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.002114, allocations: 23.97 kB / 379.6 MB, free: 1.918 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.51e-05/0.002149, allocations: 0 / 379.6 MB, free: 1.918 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.268e-05/0.002182, allocations: 15.97 kB / 379.6 MB, free: 1.902 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.751e-05/0.002249, allocations: 19.92 kB / 379.7 MB, free: 1.883 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.002268, allocations: 4 kB / 379.7 MB, free: 1.879 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.168e-05/0.002309, allocations: 8 kB / 379.7 MB, free: 1.871 MB / 302.1 MB Notification: Performance of combineBinaries: time 5.598e-05/0.002365, allocations: 39.66 kB / 379.7 MB, free: 1.832 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 1.039e-05/0.002376, allocations: 19.75 kB / 379.7 MB, free: 1.812 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.489e-05/0.002391, allocations: 0 / 379.7 MB, free: 1.812 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.047e-05/0.002401, allocations: 4 kB / 379.7 MB, free: 1.809 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 (1) * Number of variables: 4 (4) Notification: Performance of [SIM] Bindings: time 0.0005919/0.002993, allocations: 225.4 kB / 379.9 MB, free: 1.469 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 4.344e-05/0.003036, allocations: 28.03 kB / 380 MB, free: 1.43 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 9.099e-05/0.003127, allocations: 72.22 kB / 380 MB, free: 1.332 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 8.434e-05/0.003212, allocations: 84.7 kB / 380.1 MB, free: 1.203 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0001019/0.003314, allocations: 88.73 kB / 380.2 MB, free: 1.066 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 7.596e-05/0.003389, allocations: 72.67 kB / 380.3 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 5.36e-05/0.003443, allocations: 56.34 kB / 380.3 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.000116/0.003559, allocations: 91.95 kB / 380.4 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of [SIM] Events: time 2.394e-05/0.003583, allocations: 11.94 kB / 380.4 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 9.194e-05/0.003675, allocations: 36.11 kB / 380.5 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001461/0.003821, allocations: 36.09 kB / 380.5 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 4.81e-05/0.003869, allocations: 43.97 kB / 380.6 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.000165/0.004034, allocations: 120.9 kB / 380.7 MB, free: 408 kB / 302.1 MB Notification: Performance of [INI] Inline: time 7.068e-05/0.004105, allocations: 68.03 kB / 380.7 MB, free: 336 kB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.189e-05/0.004117, allocations: 8.125 kB / 380.7 MB, free: 320 kB / 302.1 MB Notification: Performance of [INI] Cleanup: time 2.742e-05/0.004144, allocations: 23.97 kB / 380.8 MB, free: 296 kB / 302.1 MB Notification: Performance of [INI] Causalize: time 9.386e-05/0.004238, allocations: 44.3 kB / 380.8 MB, free: 244 kB / 302.1 MB Notification: Performance of [INI] Tearing: time 9.789e-06/0.004248, allocations: 7.938 kB / 380.8 MB, free: 236 kB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.4e-07/0.004248, allocations: 0 / 380.8 MB, free: 236 kB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.706e-05/0.004275, allocations: 12.12 kB / 380.8 MB, free: 216 kB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.486e-06/0.004279, allocations: 4 kB / 380.8 MB, free: 212 kB / 302.1 MB Notification: Performance of [SIM] Tearing: time 9.92e-07/0.00428, allocations: 4 kB / 380.8 MB, free: 208 kB / 302.1 MB Notification: Performance of [SIM] Categorize: time 5.5e-06/0.004285, allocations: 3.938 kB / 380.8 MB, free: 204 kB / 302.1 MB Notification: Performance of [SIM] Solve: time 2.416e-05/0.004309, allocations: 11.98 kB / 380.9 MB, free: 192 kB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.2005/0.2048, allocations: 167.1 kB / 381 MB, free: 13.84 MB / 302.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: ................. 4 (4) {success1, success2, success3, success4} * 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 5.185e-05/0.2048, allocations: 17.77 kB / 381 MB, free: 13.83 MB / 302.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.6512855940381996] Failed to read output from testmodel.py, exit status != 0: ['time', 'success1', 'success2', 'success3', 'success4'] 0.2130057669710368 0.22731022099999995 0.22211164199999994 Calling exit ...