Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 108.6 kB / 21.08 MB, free: 0.8594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 190.1 kB / 24.34 MB, free: 4.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 225.6 MB / 253 MB, free: 13.09 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.425e-05/1.425e-05, allocations: 2.281 kB / 371.3 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.006714/0.006728, allocations: 5.445 MB / 376.7 MB, free: 4.137 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003616/0.01034, allocations: 2.11 MB / 378.9 MB, free: 2.016 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004404/0.01078, allocations: 55.56 kB / 378.9 MB, free: 1.961 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004531/0.01124, allocations: 206.2 kB / 379.1 MB, free: 1.758 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003316/0.01157, allocations: 166.4 kB / 379.3 MB, free: 1.594 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008295/0.0124, allocations: 414.8 kB / 379.7 MB, free: 1.188 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001152/0.01355, allocations: 1.165 MB / 380.8 MB, free: 16 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1311/0.1446, allocations: 361.5 kB / 381.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006144/0.1452, allocations: 366.5 kB / 381.6 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005477/0.1458, allocations: 360.6 kB / 381.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.1459, allocations: 94.38 kB / 382 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002749/0.1462, allocations: 144.4 kB / 382.1 MB, free: 13.06 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0008985/0.1471, allocations: 1.526 MB / 383.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000459/0.1475, allocations: 0.9647 MB / 384.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.1477, allocations: 160 kB / 384.8 MB, free: 11.69 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002221/0.1479, allocations: 65.33 kB / 384.9 MB, free: 11.68 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 (206) * Number of variables: 214 (206) Notification: Performance of Bindings: time 0.0023/0.1502, allocations: 3.503 MB / 388.4 MB, free: 10.13 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0003036/0.1505, allocations: 369.5 kB / 388.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001533/0.1521, allocations: 2.18 MB / 390.9 MB, free: 8.598 MB / 302.1 MB Notification: Performance of Simplify 1: time 0.000472/0.1525, allocations: 365.3 kB / 391.3 MB, free: 8.348 MB / 302.1 MB Notification: Performance of Alias: time 0.005155/0.1577, allocations: 4.806 MB / 396.1 MB, free: 6.156 MB / 302.1 MB Notification: Performance of Simplify 2: time 0.0001461/0.1578, allocations: 150.8 kB / 396.2 MB, free: 6.023 MB / 302.1 MB Notification: Performance of Remove Stream: time 7.39e-05/0.1579, allocations: 102.4 kB / 396.3 MB, free: 5.934 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002675/0.1582, allocations: 309.5 kB / 396.6 MB, free: 5.664 MB / 302.1 MB Notification: Performance of Events: time 6.122e-05/0.1582, allocations: 28.75 kB / 396.6 MB, free: 5.648 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002591/0.1585, allocations: 267 kB / 396.9 MB, free: 5.5 MB / 302.1 MB Error: Internal error NBResolveSingularities.indexReduction failed because slicing during index reduction is not yet supported. needed sliced dummy: [STAT] (2) protected Real[2] springDamper.angleToTorque2.multiplex2.y slice: {0} " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.1508425874635577] Failed to read output from testmodel.py, exit status != 0: ['time', 'directInertia.inertia.phi', 'directInertia.inertia.w', 'inertia2a.phi', 'inertia2a.w', 'inertia2b.phi', 'inertia2b.w', 'inertia3a.phi', 'inertia3a.w', 'inertia3b.phi', 'inertia3b.w'] 0.16627191565930843 0.17780263300000002 0.027121029 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f09a1f4d780>