Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.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.001536/0.001536, allocations: 99.64 kB / 21.25 MB, free: 428 kB / 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.00203/0.00203, allocations: 208.7 kB / 24.55 MB, free: 3.75 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.666/1.666, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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(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.1.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.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.403e-05, allocations: 6.219 kB / 379 MB, free: 2.504 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.256/0.256, allocations: 4.832 MB / 383.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005095/0.2611, allocations: 2.06 MB / 385.9 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007845/0.2619, allocations: 52.88 kB / 386 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004938/0.2624, allocations: 206.5 kB / 386.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000489/0.2629, allocations: 177.4 kB / 386.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.264, allocations: 404.8 kB / 386.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001556/0.2655, allocations: 1.179 MB / 387.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007792/0.2663, allocations: 353.9 kB / 388.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007836/0.2671, allocations: 379.4 kB / 388.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004985/0.2676, allocations: 316.3 kB / 389 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.2677, allocations: 89.78 kB / 389 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003743/0.2681, allocations: 149.5 kB / 389.2 MB, free: 9.848 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001289/0.2694, allocations: 1.531 MB / 390.7 MB, free: 8.785 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006153/0.27, allocations: 0.9729 MB / 391.7 MB, free: 8.105 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.2702, allocations: 73.59 kB / 391.8 MB, free: 8.105 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002105/0.2704, allocations: 60.81 kB / 391.8 MB, free: 8.078 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.003529/0.2739, allocations: 3.517 MB / 395.3 MB, free: 5.547 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004032/0.2743, allocations: 421.1 kB / 395.8 MB, free: 5.277 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.002842/0.2772, allocations: 2.179 MB / 397.9 MB, free: 3.82 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0009176/0.2781, allocations: 336.5 kB / 398.3 MB, free: 3.617 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.008023/0.2861, allocations: 4.54 MB / 402.8 MB, free: 1.512 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002174/0.2863, allocations: 148 kB / 402.9 MB, free: 1.398 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 9.458e-05/0.2864, allocations: 100.1 kB / 403 MB, free: 1.305 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003423/0.2868, allocations: 306.5 kB / 403.3 MB, free: 1.035 MB / 302.1 MB Notification: Performance of [SIM] Events: time 7.654e-05/0.2868, allocations: 27.52 kB / 403.4 MB, free: 1.02 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004056/0.2872, allocations: 304 kB / 403.7 MB, free: 0.8672 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.85691804101225] 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.2978904690244235 0.31489536399999996 0.041052013000000005 Calling exit ...