Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexOperations.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.001204/0.001204, 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.001414/0.001414, allocations: 211 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.456/1.456, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.2345/0.2345, allocations: 46.97 MB / 361.7 MB, free: 3.969 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.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexOperations") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.212e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.234 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001459/0.001481, allocations: 473.1 kB / 0.4978 GB, free: 6.773 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003733/0.005215, allocations: 2.292 MB / 0.5001 GB, free: 4.461 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.364e-05/0.005239, allocations: 0 / 0.5001 GB, free: 4.461 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.422e-05/0.005253, allocations: 3.938 kB / 0.5001 GB, free: 4.457 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.42e-06/0.005258, allocations: 0 / 0.5001 GB, free: 4.457 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.002905/0.008163, allocations: 1.092 MB / 0.5011 GB, free: 3.363 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.975e-05/0.008213, allocations: 7.938 kB / 0.5011 GB, free: 3.355 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.649e-05/0.00826, allocations: 7.984 kB / 0.5011 GB, free: 3.348 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.561e-05/0.008275, allocations: 0 / 0.5011 GB, free: 3.348 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.293e-05/0.008298, allocations: 3.984 kB / 0.5012 GB, free: 3.344 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.883e-06/0.008305, allocations: 3.938 kB / 0.5012 GB, free: 3.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001559/0.009864, allocations: 0.9678 MB / 0.5021 GB, free: 2.371 MB / 366.1 MB Notification: Performance of combineBinaries: time 2.597e-05/0.00989, allocations: 4 kB / 0.5021 GB, free: 2.367 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 6.382e-06/0.009896, allocations: 3.906 kB / 0.5021 GB, free: 2.363 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.41e-05/0.00991, allocations: 0 / 0.5021 GB, free: 2.363 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.947e-06/0.009919, allocations: 7.984 kB / 0.5021 GB, free: 2.355 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.0005982/0.01052, allocations: 236.7 kB / 0.5023 GB, free: 2.004 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.463e-05/0.01055, allocations: 24.05 kB / 0.5024 GB, free: 1.969 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 9.779e-05/0.01065, allocations: 62.31 kB / 0.5024 GB, free: 1.879 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 7.734e-05/0.01073, allocations: 60.73 kB / 0.5025 GB, free: 1.773 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0001014/0.01083, allocations: 88.59 kB / 0.5026 GB, free: 1.637 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 6.635e-05/0.01089, allocations: 56.75 kB / 0.5026 GB, free: 1.535 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.217e-05/0.01094, allocations: 40.42 kB / 0.5027 GB, free: 1.469 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 9.833e-05/0.01104, allocations: 84.78 kB / 0.5027 GB, free: 1.332 MB / 366.1 MB Notification: Performance of [SIM] Events: time 2.912e-05/0.01106, allocations: 4 kB / 0.5027 GB, free: 1.328 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 7.338e-05/0.01114, allocations: 24.12 kB / 0.5028 GB, free: 1.297 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001198/0.01126, allocations: 16.11 kB / 0.5028 GB, free: 1.273 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.95e-05/0.01128, allocations: 15.86 kB / 0.5028 GB, free: 1.258 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001387/0.01142, allocations: 105 kB / 0.5029 GB, free: 1.086 MB / 366.1 MB Notification: Performance of [INI] Inline: time 4.113e-05/0.01146, allocations: 26.02 kB / 0.5029 GB, free: 1.059 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.445e-05/0.01147, allocations: 20.31 kB / 0.5029 GB, free: 1.031 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.432e-05/0.01149, allocations: 7.984 kB / 0.5029 GB, free: 1.023 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 6.651e-05/0.01155, allocations: 24.12 kB / 0.503 GB, free: 0.9922 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 8.616e-06/0.01156, allocations: 3.938 kB / 0.503 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 4.21e-07/0.01156, allocations: 3.938 kB / 0.503 GB, free: 0.9844 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 3.019e-05/0.01159, allocations: 20.11 kB / 0.503 GB, free: 0.957 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.397e-06/0.01159, allocations: 0 / 0.503 GB, free: 0.957 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 9.72e-07/0.0116, allocations: 0 / 0.503 GB, free: 0.957 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 5.68e-06/0.0116, allocations: 4.188 kB / 0.503 GB, free: 0.9531 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 1.807e-05/0.01162, allocations: 4 kB / 0.503 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001366/0.01176, allocations: 170 kB / 0.5032 GB, free: 0.75 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.898e-05/0.01179, allocations: 22.03 kB / 0.5032 GB, free: 0.7305 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.7468806999968365] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.02055861399276182 0.034938648 0.022120301000000002 Calling exit ...