Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001495/0.001495, 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.001506/0.001506, 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.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.2347/0.2347, allocations: 44.95 MB / 359.7 MB, free: 6.008 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.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions") translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.456e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.001608/0.001633, allocations: 484 kB / 0.4948 GB, free: 9.605 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004003/0.005635, allocations: 2.288 MB / 0.497 GB, free: 7.297 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.356e-05/0.005659, allocations: 0 / 0.497 GB, free: 7.297 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.561e-05/0.005674, allocations: 0 / 0.497 GB, free: 7.297 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.061e-06/0.005681, allocations: 0 / 0.497 GB, free: 7.297 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.00287/0.00855, allocations: 1.104 MB / 0.4981 GB, free: 6.191 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.728e-05/0.008607, allocations: 0 / 0.4981 GB, free: 6.191 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.821e-05/0.008656, allocations: 4 kB / 0.4981 GB, free: 6.188 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.976e-05/0.008675, allocations: 4 kB / 0.4981 GB, free: 6.184 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.566e-05/0.008701, allocations: 3.984 kB / 0.4981 GB, free: 6.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.452e-06/0.008707, allocations: 0 / 0.4981 GB, free: 6.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.01026, allocations: 0.9717 MB / 0.499 GB, free: 5.207 MB / 366.1 MB Notification: Performance of combineBinaries: time 2.663e-05/0.01029, allocations: 0 / 0.499 GB, free: 5.207 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 1.082e-05/0.0103, allocations: 11.84 kB / 0.499 GB, free: 5.195 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.466e-05/0.01031, allocations: 0 / 0.499 GB, free: 5.195 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.903e-06/0.01032, allocations: 0 / 0.499 GB, free: 5.195 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.0004471/0.01077, allocations: 226.3 kB / 0.4993 GB, free: 4.852 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 4.614e-05/0.01081, allocations: 35.84 kB / 0.4993 GB, free: 4.805 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001012/0.01092, allocations: 62.31 kB / 0.4993 GB, free: 4.715 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 8.82e-05/0.011, allocations: 64.73 kB / 0.4994 GB, free: 4.605 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0001011/0.0111, allocations: 84.59 kB / 0.4995 GB, free: 4.473 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 7.653e-05/0.01118, allocations: 60.73 kB / 0.4995 GB, free: 4.367 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.322e-05/0.01122, allocations: 40.38 kB / 0.4996 GB, free: 4.301 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.000123/0.01135, allocations: 76.84 kB / 0.4997 GB, free: 4.172 MB / 366.1 MB Notification: Performance of [SIM] Events: time 2.147e-05/0.01137, allocations: 8 kB / 0.4997 GB, free: 4.164 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 8.268e-05/0.01145, allocations: 28.05 kB / 0.4997 GB, free: 4.129 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001341/0.01159, allocations: 16.12 kB / 0.4997 GB, free: 4.105 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.992e-05/0.01161, allocations: 15.86 kB / 0.4997 GB, free: 4.09 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001589/0.01176, allocations: 101 kB / 0.4998 GB, free: 3.922 MB / 366.1 MB Notification: Performance of [INI] Inline: time 5.276e-05/0.01182, allocations: 38 kB / 0.4999 GB, free: 3.883 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.437e-05/0.01183, allocations: 12.12 kB / 0.4999 GB, free: 3.863 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.282e-05/0.01184, allocations: 8.188 kB / 0.4999 GB, free: 3.855 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 7.785e-05/0.01192, allocations: 32.05 kB / 0.4999 GB, free: 3.816 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.145e-05/0.01193, allocations: 0 / 0.4999 GB, free: 3.816 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.61e-07/0.01193, allocations: 0 / 0.4999 GB, free: 3.816 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 3.001e-05/0.01196, allocations: 12.12 kB / 0.4999 GB, free: 3.797 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.272e-06/0.01197, allocations: 4 kB / 0.4999 GB, free: 3.793 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 1.092e-06/0.01197, allocations: 0 / 0.4999 GB, free: 3.793 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 5.16e-06/0.01198, allocations: 0 / 0.4999 GB, free: 3.793 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 2.772e-05/0.012, allocations: 8.188 kB / 0.4999 GB, free: 3.785 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001627/0.01217, allocations: 174 kB / 0.5001 GB, free: 3.582 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.296e-05/0.01222, allocations: 30.72 kB / 0.5001 GB, free: 3.555 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.76899545697961] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.021111416979692876 0.035214416000000005 0.022024411 Calling exit ...