Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexFunctions.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.002021/0.002021, 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.002428/0.002428, 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.492/1.492, allocations: 230.6 MB / 258.3 MB, free: 7.75 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.2397/0.2397, allocations: 46.96 MB / 361.7 MB, free: 3.988 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.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexFunctions") translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexFunctions") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.639e-05/2.639e-05, allocations: 4.953 kB / 0.4974 GB, free: 7.262 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.001483/0.001509, allocations: 485.1 kB / 0.4978 GB, free: 6.789 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003883/0.005392, allocations: 2.288 MB / 0.5001 GB, free: 4.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.734e-05/0.005419, allocations: 0 / 0.5001 GB, free: 4.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.005436, allocations: 0 / 0.5001 GB, free: 4.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.512e-06/0.005442, allocations: 0 / 0.5001 GB, free: 4.48 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/ComplexMath.mo:4:3-189:23:writable] Warning: Pure function 'ModelicaTest.ComplexMath.ComplexFunctions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.002859/0.008301, allocations: 1.096 MB / 0.5011 GB, free: 3.383 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.8e-05/0.008359, allocations: 4 kB / 0.5011 GB, free: 3.379 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.638e-05/0.008406, allocations: 11.98 kB / 0.5011 GB, free: 3.367 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.975e-05/0.008425, allocations: 3.938 kB / 0.5012 GB, free: 3.363 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.494e-05/0.00845, allocations: 0 / 0.5012 GB, free: 3.363 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.021e-06/0.008456, allocations: 0 / 0.5012 GB, free: 3.363 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.00999, allocations: 0.9717 MB / 0.5021 GB, free: 2.391 MB / 366.1 MB Notification: Performance of combineBinaries: time 2.666e-05/0.01002, allocations: 4 kB / 0.5021 GB, free: 2.387 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 3.487e-06/0.01002, allocations: 3.906 kB / 0.5021 GB, free: 2.383 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.455e-05/0.01003, allocations: 0 / 0.5021 GB, free: 2.383 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.763e-06/0.01004, allocations: 4 kB / 0.5021 GB, free: 2.379 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.0005671/0.01061, allocations: 232.3 kB / 0.5023 GB, free: 2.031 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.792e-05/0.01065, allocations: 28.03 kB / 0.5024 GB, free: 1.992 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 9.741e-05/0.01074, allocations: 62.31 kB / 0.5024 GB, free: 1.902 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 8.577e-05/0.01083, allocations: 64.73 kB / 0.5025 GB, free: 1.793 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 9.846e-05/0.01093, allocations: 84.59 kB / 0.5026 GB, free: 1.66 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 7.476e-05/0.011, allocations: 64.73 kB / 0.5026 GB, free: 1.551 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.413e-05/0.01105, allocations: 36.42 kB / 0.5027 GB, free: 1.488 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001011/0.01115, allocations: 76.81 kB / 0.5027 GB, free: 1.359 MB / 366.1 MB Notification: Performance of [SIM] Events: time 2.071e-05/0.01117, allocations: 4 kB / 0.5027 GB, free: 1.355 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 7.836e-05/0.01125, allocations: 32.05 kB / 0.5028 GB, free: 1.316 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001196/0.01137, allocations: 12.12 kB / 0.5028 GB, free: 1.297 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 2.355e-05/0.01139, allocations: 23.78 kB / 0.5028 GB, free: 1.273 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001405/0.01153, allocations: 101 kB / 0.5029 GB, free: 1.105 MB / 366.1 MB Notification: Performance of [INI] Inline: time 4.482e-05/0.01158, allocations: 34.02 kB / 0.5029 GB, free: 1.07 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.726e-05/0.01159, allocations: 16.31 kB / 0.5029 GB, free: 1.047 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.019e-05/0.0116, allocations: 4 kB / 0.5029 GB, free: 1.043 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 7.725e-05/0.01168, allocations: 28.11 kB / 0.503 GB, free: 1.008 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.08e-05/0.01169, allocations: 3.938 kB / 0.503 GB, free: 1.004 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.41e-07/0.01169, allocations: 0 / 0.503 GB, free: 1.004 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 3.047e-05/0.01172, allocations: 16.12 kB / 0.503 GB, free: 0.9805 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.007e-06/0.01173, allocations: 0 / 0.503 GB, free: 0.9805 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 9.92e-07/0.01173, allocations: 0 / 0.503 GB, free: 0.9805 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 5.741e-06/0.01173, allocations: 192 / 0.503 GB, free: 0.9805 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 3.424e-05/0.01177, allocations: 11.98 kB / 0.503 GB, free: 0.9688 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001346/0.0119, allocations: 174 kB / 0.5032 GB, free: 0.7656 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.554e-05/0.01194, allocations: 16.36 kB / 0.5032 GB, free: 0.75 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.79061708599329] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.020382820977829397 0.035841541000000005 0.022631699 Calling exit ...