Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStreams.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.001388/0.001388, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.001453/0.001453, allocations: 212.7 kB / 24.55 MB, free: 3.723 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.488/1.488, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2587/0.2587, allocations: 46.97 MB / 361.7 MB, free: 4.016 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.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStreams") translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStreams") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.155e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.262 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.001411/0.001432, allocations: 473.1 kB / 0.4978 GB, free: 6.801 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007975/0.00223, allocations: 311.2 kB / 0.4981 GB, free: 6.496 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.141e-05/0.002251, allocations: 4 kB / 0.4981 GB, free: 6.492 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.297e-05/0.002264, allocations: 4 kB / 0.4981 GB, free: 6.488 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.633e-06/0.002271, allocations: 3.938 kB / 0.4981 GB, free: 6.484 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Utilities.mo:221:3-287:14:writable] Warning: Pure function 'ModelicaTest.Utilities.Streams' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0008617/0.003132, allocations: 97.08 kB / 0.4982 GB, free: 6.395 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.769e-05/0.00318, allocations: 0 / 0.4982 GB, free: 6.395 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.867e-05/0.003219, allocations: 3.984 kB / 0.4982 GB, free: 6.391 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.798e-05/0.003237, allocations: 7.984 kB / 0.4982 GB, free: 6.383 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.854e-05/0.003255, allocations: 0 / 0.4982 GB, free: 6.383 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.35e-06/0.003261, allocations: 0 / 0.4982 GB, free: 6.383 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001956/0.003456, allocations: 111.8 kB / 0.4984 GB, free: 6.273 MB / 366.1 MB Notification: Performance of combineBinaries: time 2.327e-05/0.003479, allocations: 0 / 0.4984 GB, free: 6.273 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 5.179e-06/0.003485, allocations: 7.844 kB / 0.4984 GB, free: 6.266 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.922e-05/0.003504, allocations: 8 kB / 0.4984 GB, free: 6.258 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.103e-05/0.003535, allocations: 0 / 0.4984 GB, free: 6.258 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.0003812/0.003916, allocations: 181.7 kB / 0.4985 GB, free: 5.961 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 4.075e-05/0.003957, allocations: 31.83 kB / 0.4986 GB, free: 5.918 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 6.984e-05/0.004027, allocations: 52.38 kB / 0.4986 GB, free: 5.84 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 7.772e-05/0.004104, allocations: 56.73 kB / 0.4987 GB, free: 5.738 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 9.368e-05/0.004198, allocations: 80.59 kB / 0.4988 GB, free: 5.609 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 7.956e-05/0.004278, allocations: 72.72 kB / 0.4988 GB, free: 5.492 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.277e-05/0.00432, allocations: 40.44 kB / 0.4989 GB, free: 5.426 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 9.931e-05/0.00442, allocations: 72.86 kB / 0.4989 GB, free: 5.301 MB / 366.1 MB Notification: Performance of [SIM] Events: time 1.902e-05/0.004439, allocations: 4 kB / 0.4989 GB, free: 5.297 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 7.076e-05/0.004509, allocations: 20.12 kB / 0.499 GB, free: 5.27 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001205/0.00463, allocations: 24.05 kB / 0.499 GB, free: 5.238 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 2.357e-05/0.004654, allocations: 15.86 kB / 0.499 GB, free: 5.223 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001424/0.004796, allocations: 97.11 kB / 0.4991 GB, free: 5.059 MB / 366.1 MB Notification: Performance of [INI] Inline: time 2.949e-05/0.004825, allocations: 28.17 kB / 0.4991 GB, free: 5.027 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.225e-05/0.004838, allocations: 8.125 kB / 0.4991 GB, free: 5.012 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.683e-05/0.004855, allocations: 15.92 kB / 0.4991 GB, free: 4.996 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 6.482e-05/0.004919, allocations: 24.11 kB / 0.4992 GB, free: 4.965 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.201e-05/0.004931, allocations: 4 kB / 0.4992 GB, free: 4.961 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.61e-07/0.004932, allocations: 0 / 0.4992 GB, free: 4.961 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.969e-05/0.004961, allocations: 8.125 kB / 0.4992 GB, free: 4.945 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.008e-06/0.004965, allocations: 0 / 0.4992 GB, free: 4.945 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 4.809e-06/0.00497, allocations: 8.188 kB / 0.4992 GB, free: 4.938 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 7.184e-06/0.004977, allocations: 4 kB / 0.4992 GB, free: 4.934 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 1.691e-05/0.004994, allocations: 3.938 kB / 0.4992 GB, free: 4.93 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001493/0.005144, allocations: 174 kB / 0.4994 GB, free: 4.727 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.039e-05/0.005184, allocations: 22.59 kB / 0.4994 GB, free: 4.707 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.763377394992858] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.012856020010076463 0.026977840000000003 0.020607173000000003 Calling exit ...