Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile.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.001331/0.001331, 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.001565/0.001565, 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.526/1.526, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.2357/0.2357, allocations: 44.94 MB / 359.7 MB, free: 6.023 MB / 286.1 MB " [Timeout remaining time 180] 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.TestWriteFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile") translateModel(ModelicaTest.Utilities.TestWriteFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.539e-05, allocations: 6.219 kB / 0.4943 GB, free: 10.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestWriteFile): time 0.00148/0.001505, allocations: 497 kB / 0.4948 GB, free: 9.582 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006057/0.002111, allocations: 219.5 kB / 0.495 GB, free: 9.367 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.598e-05/0.002137, allocations: 0 / 0.495 GB, free: 9.367 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.653e-05/0.002153, allocations: 0 / 0.495 GB, free: 9.367 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.081e-06/0.00216, allocations: 0 / 0.495 GB, free: 9.367 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Utilities.mo:290:3-321:16:writable] Warning: Pure function 'ModelicaTest.Utilities.WriteFile' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.002469, allocations: 47.83 kB / 0.495 GB, free: 9.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.765e-05/0.002527, allocations: 4 kB / 0.495 GB, free: 9.316 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/0.002571, allocations: 4 kB / 0.495 GB, free: 9.312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.575e-05/0.002587, allocations: 0 / 0.495 GB, free: 9.312 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.632e-05/0.002613, allocations: 3.984 kB / 0.495 GB, free: 9.309 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.741e-06/0.002619, allocations: 4 kB / 0.495 GB, free: 9.305 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.002738, allocations: 51.95 kB / 0.4951 GB, free: 9.254 MB / 366.1 MB Notification: Performance of combineBinaries: time 2.821e-05/0.002766, allocations: 3.938 kB / 0.4951 GB, free: 9.25 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 4.829e-06/0.002771, allocations: 7.906 kB / 0.4951 GB, free: 9.242 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.433e-05/0.002785, allocations: 0 / 0.4951 GB, free: 9.242 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.252e-06/0.002791, allocations: 0 / 0.4951 GB, free: 9.242 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.0003828/0.003174, allocations: 189.7 kB / 0.4953 GB, free: 8.938 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.507e-05/0.003209, allocations: 23.89 kB / 0.4953 GB, free: 8.902 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 7.277e-05/0.003282, allocations: 48.38 kB / 0.4954 GB, free: 8.828 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 7.972e-05/0.003362, allocations: 68.73 kB / 0.4954 GB, free: 8.715 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 9.192e-05/0.003453, allocations: 80.59 kB / 0.4955 GB, free: 8.586 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 6.236e-05/0.003516, allocations: 56.75 kB / 0.4955 GB, free: 8.484 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.269e-05/0.003559, allocations: 40.42 kB / 0.4956 GB, free: 8.418 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001064/0.003665, allocations: 76.86 kB / 0.4957 GB, free: 8.289 MB / 366.1 MB Notification: Performance of [SIM] Events: time 2.052e-05/0.003685, allocations: 3.984 kB / 0.4957 GB, free: 8.285 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 7.501e-05/0.00376, allocations: 24.06 kB / 0.4957 GB, free: 8.254 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.000119/0.003879, allocations: 24.11 kB / 0.4957 GB, free: 8.223 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.59e-05/0.003895, allocations: 20.12 kB / 0.4957 GB, free: 8.203 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001337/0.004029, allocations: 96.97 kB / 0.4958 GB, free: 8.039 MB / 366.1 MB Notification: Performance of [INI] Inline: time 2.523e-05/0.004054, allocations: 24 kB / 0.4958 GB, free: 8.012 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.154e-05/0.004066, allocations: 8.125 kB / 0.4959 GB, free: 7.996 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.305e-05/0.004079, allocations: 8 kB / 0.4959 GB, free: 7.988 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 7.108e-05/0.00415, allocations: 32.09 kB / 0.4959 GB, free: 7.949 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 9.748e-06/0.00416, allocations: 0 / 0.4959 GB, free: 7.949 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 4.81e-07/0.00416, allocations: 192 / 0.4959 GB, free: 7.949 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.912e-05/0.004189, allocations: 16.12 kB / 0.4959 GB, free: 7.926 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.166e-06/0.004192, allocations: 0 / 0.4959 GB, free: 7.926 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 2.655e-06/0.004195, allocations: 3.938 kB / 0.4959 GB, free: 7.922 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 8.035e-06/0.004203, allocations: 3.984 kB / 0.4959 GB, free: 7.918 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 2.428e-05/0.004227, allocations: 8 kB / 0.4959 GB, free: 7.91 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001291/0.004357, allocations: 169.9 kB / 0.4961 GB, free: 7.711 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.305e-05/0.0044, allocations: 34.75 kB / 0.4961 GB, free: 7.68 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.787471780029591] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.012204272963572294 0.026177709 0.020542743000000002 Calling exit ...