Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions.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.001673/0.001673, 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.001956/0.001956, 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.51/1.51, allocations: 230.6 MB / 258.3 MB, free: 7.73 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.241/0.241, allocations: 44.94 MB / 359.7 MB, free: 5.996 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.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions") translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.253e-05, allocations: 8.75 kB / 0.4943 GB, free: 10.03 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.001495/0.001517, allocations: 0.4892 MB / 0.4948 GB, free: 9.543 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002331/0.003848, allocations: 1.58 MB / 0.4963 GB, free: 7.945 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.025e-05/0.003868, allocations: 0 / 0.4963 GB, free: 7.945 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.175e-05/0.00388, allocations: 0 / 0.4963 GB, free: 7.945 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.04e-06/0.003885, allocations: 0 / 0.4963 GB, free: 7.945 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:4:3-36:22:writable] Warning: Pure function 'ModelicaTest.Math.ScalarFunctions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0005988/0.004484, allocations: 178.7 kB / 0.4965 GB, free: 7.773 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.738e-05/0.004531, allocations: 3.984 kB / 0.4965 GB, free: 7.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.408e-05/0.004565, allocations: 0 / 0.4965 GB, free: 7.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.204e-05/0.004577, allocations: 0 / 0.4965 GB, free: 7.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.741e-05/0.004605, allocations: 4 kB / 0.4965 GB, free: 7.766 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.402e-06/0.004611, allocations: 0 / 0.4965 GB, free: 7.766 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003291/0.00494, allocations: 115.9 kB / 0.4966 GB, free: 7.652 MB / 366.1 MB Notification: Performance of combineBinaries: time 2.411e-05/0.004964, allocations: 8 kB / 0.4966 GB, free: 7.645 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 4.318e-06/0.004969, allocations: 11.84 kB / 0.4966 GB, free: 7.633 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.629e-05/0.004985, allocations: 0 / 0.4966 GB, free: 7.633 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.402e-06/0.004991, allocations: 0 / 0.4966 GB, free: 7.633 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.0003419/0.005333, allocations: 189.5 kB / 0.4968 GB, free: 7.328 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.195e-05/0.005365, allocations: 16.05 kB / 0.4968 GB, free: 7.301 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 6.93e-05/0.005435, allocations: 56.36 kB / 0.4969 GB, free: 7.219 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 6.774e-05/0.005502, allocations: 60.73 kB / 0.4969 GB, free: 7.113 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 9.241e-05/0.005595, allocations: 88.58 kB / 0.497 GB, free: 6.977 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 6.332e-05/0.005658, allocations: 60.75 kB / 0.4971 GB, free: 6.871 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 3.991e-05/0.005698, allocations: 48.36 kB / 0.4971 GB, free: 6.797 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 9.318e-05/0.005791, allocations: 72.86 kB / 0.4972 GB, free: 6.672 MB / 366.1 MB Notification: Performance of [SIM] Events: time 1.979e-05/0.005811, allocations: 3.859 kB / 0.4972 GB, free: 6.668 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 8.116e-05/0.005892, allocations: 24.12 kB / 0.4972 GB, free: 6.637 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001263/0.006018, allocations: 20.11 kB / 0.4972 GB, free: 6.609 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.367e-05/0.006032, allocations: 8 kB / 0.4973 GB, free: 6.602 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001378/0.00617, allocations: 101 kB / 0.4974 GB, free: 6.434 MB / 366.1 MB Notification: Performance of [INI] Inline: time 3.665e-05/0.006206, allocations: 28.23 kB / 0.4974 GB, free: 6.402 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.21e-05/0.006219, allocations: 12.12 kB / 0.4974 GB, free: 6.383 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.297e-05/0.006231, allocations: 7.984 kB / 0.4974 GB, free: 6.375 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 6.807e-05/0.0063, allocations: 32.05 kB / 0.4974 GB, free: 6.336 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 8.355e-06/0.006308, allocations: 0 / 0.4974 GB, free: 6.336 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.6e-07/0.006308, allocations: 0 / 0.4974 GB, free: 6.336 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.481e-05/0.006333, allocations: 12.11 kB / 0.4974 GB, free: 6.316 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.286e-06/0.006336, allocations: 4 kB / 0.4974 GB, free: 6.312 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 2.765e-06/0.006339, allocations: 8.188 kB / 0.4975 GB, free: 6.305 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 4.879e-06/0.006344, allocations: 0 / 0.4975 GB, free: 6.305 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 1.713e-05/0.006361, allocations: 4 kB / 0.4975 GB, free: 6.301 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001206/0.006482, allocations: 166 kB / 0.4976 GB, free: 6.105 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.688e-05/0.006519, allocations: 33.69 kB / 0.4976 GB, free: 6.074 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.797274577023927] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.01365067099686712 0.026872602000000002 0.01906982 Calling exit ...