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.001399/0.001399, allocations: 96.03 kB / 21.25 MB, free: 428 kB / 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.002113/0.002113, allocations: 188.4 kB / 24.53 MB, free: 3.75 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.633/1.633, allocations: 225.7 MB / 253.4 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] 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 2.5e-05/2.5e-05, allocations: 2.281 kB / 371.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.008096/0.008121, allocations: 4.818 MB / 376.5 MB, free: 4.328 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004478/0.0126, allocations: 1.99 MB / 378.5 MB, free: 2.328 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000701/0.0133, allocations: 51.56 kB / 378.6 MB, free: 2.277 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005855/0.01389, allocations: 202.2 kB / 378.8 MB, free: 2.078 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006345/0.01452, allocations: 186.3 kB / 379 MB, free: 1.895 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.01555, allocations: 391.1 kB / 379.3 MB, free: 1.512 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001326/0.01688, allocations: 1.169 MB / 380.5 MB, free: 344 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2072/0.2241, allocations: 342.4 kB / 380.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.2251, allocations: 362.5 kB / 381.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005154/0.2257, allocations: 314.4 kB / 381.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001872/0.2258, allocations: 89.59 kB / 381.6 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003561/0.2262, allocations: 147.1 kB / 381.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001219/0.2274, allocations: 1.527 MB / 383.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005882/0.228, allocations: 0.9677 MB / 384.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002185/0.2282, allocations: 74.28 kB / 384.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002357/0.2285, allocations: 60.55 kB / 384.4 MB, free: 11.87 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 [SIM] Bindings: time 0.00307/0.2315, allocations: 3.515 MB / 387.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004664/0.232, allocations: 422.4 kB / 388.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.002054/0.234, allocations: 2.185 MB / 390.5 MB, free: 9.148 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0006411/0.2347, allocations: 337.8 kB / 390.8 MB, free: 8.957 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.006812/0.2415, allocations: 4.539 MB / 395.3 MB, free: 7.051 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002375/0.2417, allocations: 154.7 kB / 395.5 MB, free: 6.934 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 9.962e-05/0.2418, allocations: 92.33 kB / 395.6 MB, free: 6.848 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003698/0.2422, allocations: 307.3 kB / 395.9 MB, free: 6.594 MB / 302.1 MB Notification: Performance of [SIM] Events: time 7.583e-05/0.2423, allocations: 29.56 kB / 395.9 MB, free: 6.574 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004259/0.2427, allocations: 318.3 kB / 396.2 MB, free: 6.418 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.7258261460228823] 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.2538530899910256 0.271438603 0.039683416 Calling exit ...