Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001585/0.001585, 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.00162/0.00162, 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.532/1.532, allocations: 230.6 MB / 258.3 MB, free: 7.742 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.2234/0.2234, 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.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 4.552e-05/4.552e-05, allocations: 6.219 kB / 0.4943 GB, free: 10.08 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.002973/0.003019, allocations: 473.1 kB / 0.4947 GB, free: 9.621 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004585/0.007604, allocations: 2.299 MB / 0.497 GB, free: 7.301 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.622e-05/0.00763, allocations: 0 / 0.497 GB, free: 7.301 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.241e-05/0.007643, allocations: 0 / 0.497 GB, free: 7.301 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.104e-06/0.00765, allocations: 0 / 0.497 GB, free: 7.301 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.003246/0.0109, allocations: 1.101 MB / 0.4981 GB, free: 6.199 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.258e-05/0.01096, allocations: 4 kB / 0.4981 GB, free: 6.195 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.286e-05/0.011, allocations: 3.984 kB / 0.4981 GB, free: 6.191 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.737e-05/0.01102, allocations: 0 / 0.4981 GB, free: 6.191 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.02e-05/0.01105, allocations: 7.984 kB / 0.4981 GB, free: 6.184 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.901e-06/0.01105, allocations: 0 / 0.4981 GB, free: 6.184 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001933/0.01299, allocations: 0.9717 MB / 0.499 GB, free: 5.211 MB / 366.1 MB Notification: Performance of combineBinaries: time 2.913e-05/0.01302, allocations: 0 / 0.499 GB, free: 5.211 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 8.727e-06/0.01303, allocations: 7.844 kB / 0.499 GB, free: 5.203 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.788e-05/0.01304, allocations: 4 kB / 0.499 GB, free: 5.199 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.044e-05/0.01305, allocations: 0 / 0.499 GB, free: 5.199 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.0006691/0.01372, allocations: 226.2 kB / 0.4993 GB, free: 4.855 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 4.485e-05/0.01377, allocations: 27.91 kB / 0.4993 GB, free: 4.816 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001214/0.01389, allocations: 66.31 kB / 0.4993 GB, free: 4.723 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 7.542e-05/0.01396, allocations: 60.73 kB / 0.4994 GB, free: 4.617 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0001092/0.01407, allocations: 88.59 kB / 0.4995 GB, free: 4.48 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 6.292e-05/0.01414, allocations: 56.75 kB / 0.4995 GB, free: 4.379 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.509e-05/0.01418, allocations: 40.42 kB / 0.4996 GB, free: 4.312 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001072/0.01429, allocations: 82.05 kB / 0.4997 GB, free: 4.18 MB / 366.1 MB Notification: Performance of [SIM] Events: time 2.385e-05/0.01431, allocations: 4 kB / 0.4997 GB, free: 4.176 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 8.61e-05/0.0144, allocations: 20.12 kB / 0.4997 GB, free: 4.148 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001379/0.01454, allocations: 16.31 kB / 0.4997 GB, free: 4.125 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 3.727e-05/0.01457, allocations: 27.84 kB / 0.4997 GB, free: 4.098 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001457/0.01472, allocations: 101 kB / 0.4998 GB, free: 3.93 MB / 366.1 MB Notification: Performance of [INI] Inline: time 6.618e-05/0.01479, allocations: 30.02 kB / 0.4998 GB, free: 3.898 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.515e-05/0.0148, allocations: 16.11 kB / 0.4999 GB, free: 3.875 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 2.153e-05/0.01482, allocations: 8 kB / 0.4999 GB, free: 3.867 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 7.949e-05/0.0149, allocations: 24.05 kB / 0.4999 GB, free: 3.836 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.725e-05/0.01492, allocations: 0 / 0.4999 GB, free: 3.836 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.176e-06/0.01492, allocations: 4.188 kB / 0.4999 GB, free: 3.832 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 3.987e-05/0.01496, allocations: 20.12 kB / 0.4999 GB, free: 3.805 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.456e-06/0.01497, allocations: 0 / 0.4999 GB, free: 3.805 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 1.794e-06/0.01497, allocations: 0 / 0.4999 GB, free: 3.805 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 7.804e-06/0.01498, allocations: 4 kB / 0.4999 GB, free: 3.801 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 2.352e-05/0.015, allocations: 3.984 kB / 0.4999 GB, free: 3.797 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001553/0.01515, allocations: 170 kB / 0.5001 GB, free: 3.598 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 5.158e-05/0.01521, allocations: 32.19 kB / 0.5001 GB, free: 3.566 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.8061270160251297] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.0258157110074535 0.04055491 0.024333872000000003 Calling exit ...