Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001411/0.001411, allocations: 103.6 kB / 21.25 MB, free: 424 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001508/0.001508, allocations: 215.3 kB / 24.55 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 230.5 MB / 258.2 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2488/0.2488, allocations: 46.96 MB / 361.7 MB, free: 3.883 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions") translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.474e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.082 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.001605/0.00163, allocations: 0.4955 MB / 0.4979 GB, free: 6.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00261/0.004239, allocations: 1.58 MB / 0.4994 GB, free: 4.992 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.362e-05/0.004273, allocations: 0 / 0.4994 GB, free: 4.992 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.233e-05/0.004295, allocations: 3.938 kB / 0.4994 GB, free: 4.988 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.073e-06/0.004302, allocations: 0 / 0.4994 GB, free: 4.988 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.0007703/0.005073, allocations: 166.7 kB / 0.4996 GB, free: 4.828 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.435e-05/0.005137, allocations: 4 kB / 0.4996 GB, free: 4.824 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.257e-05/0.00519, allocations: 0 / 0.4996 GB, free: 4.824 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.635e-05/0.005206, allocations: 0 / 0.4996 GB, free: 4.824 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.965e-05/0.005236, allocations: 0 / 0.4996 GB, free: 4.824 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.725e-06/0.005243, allocations: 0 / 0.4996 GB, free: 4.824 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004262/0.00567, allocations: 127.8 kB / 0.4997 GB, free: 4.699 MB / 366.1 MB Notification: Performance of combineBinaries: time 3.125e-05/0.005701, allocations: 7.922 kB / 0.4997 GB, free: 4.691 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 5.591e-06/0.005706, allocations: 7.906 kB / 0.4997 GB, free: 4.684 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.672e-05/0.005723, allocations: 4 kB / 0.4997 GB, free: 4.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.825e-06/0.005731, allocations: 0 / 0.4997 GB, free: 4.68 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.0004116/0.006143, allocations: 177.6 kB / 0.4999 GB, free: 4.387 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.789e-05/0.00618, allocations: 27.98 kB / 0.4999 GB, free: 4.348 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 8.226e-05/0.006263, allocations: 52.36 kB / 0.5 GB, free: 4.27 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 7.024e-05/0.006333, allocations: 60.75 kB / 0.5 GB, free: 4.164 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0001087/0.006442, allocations: 92.58 kB / 0.5001 GB, free: 4.023 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 6.528e-05/0.006507, allocations: 60.73 kB / 0.5002 GB, free: 3.918 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 5.092e-05/0.006558, allocations: 36.44 kB / 0.5002 GB, free: 3.855 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001236/0.006681, allocations: 76.86 kB / 0.5003 GB, free: 3.727 MB / 366.1 MB Notification: Performance of [SIM] Events: time 2.383e-05/0.006705, allocations: 3.859 kB / 0.5003 GB, free: 3.723 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 9.171e-05/0.006797, allocations: 28.11 kB / 0.5003 GB, free: 3.688 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001527/0.00695, allocations: 16.06 kB / 0.5003 GB, free: 3.664 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.685e-05/0.006967, allocations: 8.188 kB / 0.5003 GB, free: 3.656 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001753/0.007142, allocations: 105.1 kB / 0.5004 GB, free: 3.484 MB / 366.1 MB Notification: Performance of [INI] Inline: time 4.118e-05/0.007183, allocations: 31.97 kB / 0.5005 GB, free: 3.449 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.24e-05/0.007195, allocations: 8.125 kB / 0.5005 GB, free: 3.434 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.738e-05/0.007213, allocations: 8 kB / 0.5005 GB, free: 3.426 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 7.865e-05/0.007291, allocations: 24.11 kB / 0.5005 GB, free: 3.395 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.16e-05/0.007303, allocations: 0 / 0.5005 GB, free: 3.395 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 4.11e-07/0.007303, allocations: 7.938 kB / 0.5005 GB, free: 3.387 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 3.353e-05/0.007337, allocations: 8.312 kB / 0.5005 GB, free: 3.371 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.843e-06/0.007344, allocations: 7.938 kB / 0.5005 GB, free: 3.363 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 5.4e-06/0.007349, allocations: 11.94 kB / 0.5005 GB, free: 3.352 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 7.505e-06/0.007357, allocations: 0 / 0.5005 GB, free: 3.352 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 2.156e-05/0.007378, allocations: 0 / 0.5005 GB, free: 3.352 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001576/0.007536, allocations: 174 kB / 0.5007 GB, free: 3.148 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.688e-05/0.007593, allocations: 23.88 kB / 0.5007 GB, free: 3.129 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.8702562649850734] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.01623301801737398 0.031868601 0.023097003 Calling exit ...