Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Utilities.TestInternal.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.001581/0.001581, 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.00228/0.00228, allocations: 212.5 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.503/1.503, 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.2382/0.2382, allocations: 46.98 MB / 361.7 MB, free: 3.992 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.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestInternal") translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestInternal") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.213e-05, allocations: 4.953 kB / 0.4974 GB, free: 7.25 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001463/0.001485, allocations: 485.1 kB / 0.4978 GB, free: 6.777 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007091/0.002194, allocations: 275.3 kB / 0.4981 GB, free: 6.508 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.411e-05/0.002218, allocations: 0 / 0.4981 GB, free: 6.508 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.206e-05/0.00223, allocations: 0 / 0.4981 GB, free: 6.508 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.702e-06/0.002237, allocations: 0 / 0.4981 GB, free: 6.508 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Utilities.mo:398:3-453:15:writable] Warning: Pure function 'ModelicaTest.Utilities.Internal' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.002566, allocations: 51.81 kB / 0.4982 GB, free: 6.457 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.157e-05/0.002617, allocations: 0 / 0.4982 GB, free: 6.457 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.024e-05/0.002657, allocations: 4 kB / 0.4982 GB, free: 6.453 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.986e-05/0.002677, allocations: 3.938 kB / 0.4982 GB, free: 6.449 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.633e-05/0.002704, allocations: 0 / 0.4982 GB, free: 6.449 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.478e-06/0.002713, allocations: 0 / 0.4982 GB, free: 6.449 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.002857, allocations: 63.95 kB / 0.4982 GB, free: 6.387 MB / 366.1 MB Notification: Performance of combineBinaries: time 2.84e-05/0.002886, allocations: 11.98 kB / 0.4982 GB, free: 6.375 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 3.606e-06/0.002889, allocations: 3.906 kB / 0.4982 GB, free: 6.371 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.375e-05/0.002903, allocations: 0 / 0.4982 GB, free: 6.371 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.063e-06/0.00291, allocations: 0 / 0.4982 GB, free: 6.371 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.0003839/0.003294, allocations: 185.7 kB / 0.4984 GB, free: 6.07 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.779e-05/0.003332, allocations: 23.91 kB / 0.4984 GB, free: 6.035 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 7.328e-05/0.003405, allocations: 56.34 kB / 0.4985 GB, free: 5.953 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 7.635e-05/0.003482, allocations: 64.73 kB / 0.4986 GB, free: 5.844 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 9.46e-05/0.003576, allocations: 72.61 kB / 0.4986 GB, free: 5.723 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 6.485e-05/0.003641, allocations: 72.73 kB / 0.4987 GB, free: 5.605 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 3.836e-05/0.003679, allocations: 36.42 kB / 0.4987 GB, free: 5.543 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 9.73e-05/0.003777, allocations: 80.81 kB / 0.4988 GB, free: 5.41 MB / 366.1 MB Notification: Performance of [SIM] Events: time 1.933e-05/0.003796, allocations: 3.984 kB / 0.4988 GB, free: 5.406 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 6.717e-05/0.003863, allocations: 24.06 kB / 0.4988 GB, free: 5.375 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001166/0.00398, allocations: 16.12 kB / 0.4988 GB, free: 5.352 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.911e-05/0.003999, allocations: 19.83 kB / 0.4989 GB, free: 5.332 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001388/0.004138, allocations: 105.2 kB / 0.499 GB, free: 5.16 MB / 366.1 MB Notification: Performance of [INI] Inline: time 2.247e-05/0.00416, allocations: 16.06 kB / 0.499 GB, free: 5.141 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.003e-05/0.00417, allocations: 12.12 kB / 0.499 GB, free: 5.121 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.125e-05/0.004181, allocations: 4 kB / 0.499 GB, free: 5.117 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 6.693e-05/0.004248, allocations: 36.05 kB / 0.499 GB, free: 5.074 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.122e-05/0.00426, allocations: 0 / 0.499 GB, free: 5.074 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.6e-07/0.00426, allocations: 0 / 0.499 GB, free: 5.074 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.556e-05/0.004286, allocations: 16.06 kB / 0.499 GB, free: 5.051 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.797e-06/0.004289, allocations: 4.188 kB / 0.499 GB, free: 5.047 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 8.92e-07/0.00429, allocations: 0 / 0.499 GB, free: 5.047 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 4.93e-06/0.004295, allocations: 0 / 0.499 GB, free: 5.047 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 2.175e-05/0.004317, allocations: 11.98 kB / 0.4991 GB, free: 5.035 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001239/0.004441, allocations: 166 kB / 0.4992 GB, free: 4.84 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.77e-05/0.004478, allocations: 23.62 kB / 0.4992 GB, free: 4.82 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.755727340991143] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.012353582016658038 0.025936948 0.020253550000000002 Calling exit ...