Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001999/0.001999, 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.002403/0.002403, allocations: 212 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.53/1.53, allocations: 230.7 MB / 258.3 MB, free: 7.734 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.2307/0.2307, 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.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestInternal") translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestInternal") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.49e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.05 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001724/0.001749, allocations: 491.7 kB / 0.4948 GB, free: 9.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007487/0.002498, allocations: 263.4 kB / 0.495 GB, free: 9.312 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.285e-05/0.002521, allocations: 0 / 0.495 GB, free: 9.312 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.648e-05/0.002537, allocations: 0 / 0.495 GB, free: 9.312 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.703e-06/0.002544, allocations: 0 / 0.495 GB, free: 9.312 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Utilities.mo:399:3-454: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.0004152/0.002959, allocations: 55.81 kB / 0.4951 GB, free: 9.258 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.656e-05/0.003046, allocations: 7.922 kB / 0.4951 GB, free: 9.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.987e-05/0.003096, allocations: 4 kB / 0.4951 GB, free: 9.246 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.373e-05/0.003109, allocations: 0 / 0.4951 GB, free: 9.246 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.493e-05/0.003134, allocations: 0 / 0.4951 GB, free: 9.246 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.305e-06/0.003143, allocations: 0 / 0.4951 GB, free: 9.246 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.00331, allocations: 67.94 kB / 0.4951 GB, free: 9.18 MB / 366.1 MB Notification: Performance of combineBinaries: time 3.073e-05/0.003341, allocations: 4 kB / 0.4952 GB, free: 9.176 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 5.48e-06/0.003347, allocations: 7.844 kB / 0.4952 GB, free: 9.168 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.259e-05/0.003359, allocations: 0 / 0.4952 GB, free: 9.168 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.713e-06/0.003366, allocations: 0 / 0.4952 GB, free: 9.168 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.0004168/0.003783, allocations: 193.7 kB / 0.4953 GB, free: 8.859 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 4.08e-05/0.003823, allocations: 23.91 kB / 0.4954 GB, free: 8.824 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 8.298e-05/0.003906, allocations: 52.36 kB / 0.4954 GB, free: 8.746 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 7.704e-05/0.003984, allocations: 60.75 kB / 0.4955 GB, free: 8.641 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0001076/0.004091, allocations: 76.59 kB / 0.4955 GB, free: 8.516 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 6.971e-05/0.004161, allocations: 68.73 kB / 0.4956 GB, free: 8.402 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 5.216e-05/0.004213, allocations: 36.38 kB / 0.4956 GB, free: 8.34 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001072/0.00432, allocations: 76.86 kB / 0.4957 GB, free: 8.211 MB / 366.1 MB Notification: Performance of [SIM] Events: time 1.92e-05/0.004339, allocations: 8 kB / 0.4957 GB, free: 8.203 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 8.024e-05/0.00442, allocations: 28.09 kB / 0.4958 GB, free: 8.168 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001383/0.004558, allocations: 16.12 kB / 0.4958 GB, free: 8.145 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.71e-05/0.004575, allocations: 8 kB / 0.4958 GB, free: 8.137 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001595/0.004735, allocations: 104.9 kB / 0.4959 GB, free: 7.965 MB / 366.1 MB Notification: Performance of [INI] Inline: time 2.79e-05/0.004762, allocations: 20.05 kB / 0.4959 GB, free: 7.941 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.574e-05/0.004778, allocations: 12.12 kB / 0.4959 GB, free: 7.922 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.139e-05/0.00479, allocations: 8.188 kB / 0.4959 GB, free: 7.914 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 9.175e-05/0.004881, allocations: 32.11 kB / 0.4959 GB, free: 7.875 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 8.215e-06/0.00489, allocations: 0 / 0.4959 GB, free: 7.875 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.51e-07/0.00489, allocations: 0 / 0.4959 GB, free: 7.875 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.884e-05/0.004919, allocations: 16.06 kB / 0.496 GB, free: 7.852 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.369e-06/0.004923, allocations: 0 / 0.496 GB, free: 7.852 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 1.042e-06/0.004924, allocations: 0 / 0.496 GB, free: 7.852 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 5.901e-06/0.00493, allocations: 0 / 0.496 GB, free: 7.852 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 2.784e-05/0.004958, allocations: 12.19 kB / 0.496 GB, free: 7.84 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001446/0.005102, allocations: 170 kB / 0.4961 GB, free: 7.641 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.723e-05/0.00515, allocations: 34.58 kB / 0.4962 GB, free: 7.609 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.88160974602215] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.013670490006916225 0.02956415 0.022730926000000002 Calling exit ...