Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001594/0.001594, 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.001684/0.001684, 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.555/1.555, 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.2512/0.2512, allocations: 46.96 MB / 361.7 MB, free: 3.992 MB / 286.1 MB " [Timeout remaining time 179] 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.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestScalarFunctions") translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestScalarFunctions") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/1.985e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.227 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.001486/0.001506, allocations: 495.7 kB / 0.4979 GB, free: 6.746 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002347/0.003853, allocations: 1.587 MB / 0.4994 GB, free: 5.141 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.085e-05/0.003874, allocations: 0 / 0.4994 GB, free: 5.141 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.003888, allocations: 0 / 0.4994 GB, free: 5.141 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.46e-06/0.003894, allocations: 0 / 0.4994 GB, free: 5.141 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.0006376/0.004531, allocations: 162.7 kB / 0.4996 GB, free: 4.984 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.279e-05/0.004594, allocations: 8 kB / 0.4996 GB, free: 4.977 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.763e-05/0.004642, allocations: 3.984 kB / 0.4996 GB, free: 4.973 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.446e-05/0.004656, allocations: 0 / 0.4996 GB, free: 4.973 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.512e-05/0.004681, allocations: 3.984 kB / 0.4996 GB, free: 4.969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.057e-06/0.00469, allocations: 0 / 0.4996 GB, free: 4.969 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003673/0.005058, allocations: 119.8 kB / 0.4997 GB, free: 4.852 MB / 366.1 MB Notification: Performance of combineBinaries: time 2.332e-05/0.005081, allocations: 3.984 kB / 0.4997 GB, free: 4.848 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 4.568e-06/0.005086, allocations: 11.91 kB / 0.4997 GB, free: 4.836 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.199e-05/0.005098, allocations: 0 / 0.4997 GB, free: 4.836 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.312e-06/0.005104, allocations: 0 / 0.4997 GB, free: 4.836 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.0003628/0.005467, allocations: 181.5 kB / 0.4999 GB, free: 4.539 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.132e-05/0.005498, allocations: 24.05 kB / 0.4999 GB, free: 4.504 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 7.395e-05/0.005572, allocations: 56.34 kB / 0.5 GB, free: 4.422 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 6.982e-05/0.005642, allocations: 60.73 kB / 0.5 GB, free: 4.316 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 9.455e-05/0.005736, allocations: 88.59 kB / 0.5001 GB, free: 4.18 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 6.395e-05/0.0058, allocations: 56.75 kB / 0.5002 GB, free: 4.078 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.127e-05/0.005842, allocations: 48.36 kB / 0.5002 GB, free: 4.004 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 8.825e-05/0.00593, allocations: 68.88 kB / 0.5003 GB, free: 3.883 MB / 366.1 MB Notification: Performance of [SIM] Events: time 2.282e-05/0.005953, allocations: 11.84 kB / 0.5003 GB, free: 3.871 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 8.184e-05/0.006034, allocations: 24.12 kB / 0.5003 GB, free: 3.84 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001292/0.006164, allocations: 12.12 kB / 0.5003 GB, free: 3.82 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.965e-05/0.006183, allocations: 15.97 kB / 0.5003 GB, free: 3.805 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.000136/0.006319, allocations: 105 kB / 0.5004 GB, free: 3.633 MB / 366.1 MB Notification: Performance of [INI] Inline: time 2.816e-05/0.006347, allocations: 20.25 kB / 0.5004 GB, free: 3.609 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.067e-05/0.006358, allocations: 8.125 kB / 0.5005 GB, free: 3.594 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.59e-05/0.006374, allocations: 12 kB / 0.5005 GB, free: 3.582 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 6.902e-05/0.006443, allocations: 28.05 kB / 0.5005 GB, free: 3.547 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.197e-05/0.006455, allocations: 7.938 kB / 0.5005 GB, free: 3.539 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 4.01e-07/0.006455, allocations: 3.938 kB / 0.5005 GB, free: 3.535 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.745e-05/0.006483, allocations: 8.125 kB / 0.5005 GB, free: 3.52 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.528e-06/0.006487, allocations: 192 / 0.5005 GB, free: 3.52 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 5.721e-06/0.006493, allocations: 12 kB / 0.5005 GB, free: 3.508 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 5.961e-06/0.006499, allocations: 0 / 0.5005 GB, free: 3.508 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 2.147e-05/0.006521, allocations: 3.984 kB / 0.5005 GB, free: 3.504 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001385/0.006659, allocations: 166 kB / 0.5007 GB, free: 3.309 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 4.277e-05/0.006702, allocations: 26.53 kB / 0.5007 GB, free: 3.285 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.9151865700259805] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.015442848030943424 0.030811579000000002 0.022640787000000002 Calling exit ...