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.001337/0.001337, allocations: 95.95 kB / 21.23 MB, free: 0.582 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.001389/0.001389, allocations: 189.1 kB / 24.52 MB, free: 3.863 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.453/1.453, allocations: 225.7 MB / 253.3 MB, free: 12.8 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.906e-05/2.906e-05, allocations: 2.281 kB / 371.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.006834/0.006863, allocations: 4.811 MB / 376.5 MB, free: 4.438 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003835/0.0107, allocations: 1.998 MB / 378.5 MB, free: 2.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004809/0.01118, allocations: 51.56 kB / 378.5 MB, free: 2.379 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005106/0.01169, allocations: 206.2 kB / 378.7 MB, free: 2.176 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003723/0.01206, allocations: 178.4 kB / 378.9 MB, free: 2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008646/0.01293, allocations: 391 kB / 379.3 MB, free: 1.617 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001151/0.01408, allocations: 1.173 MB / 380.5 MB, free: 448 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006062/0.01468, allocations: 346.4 kB / 380.8 MB, free: 84 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.197/0.2117, allocations: 356.7 kB / 381.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005634/0.2122, allocations: 311.4 kB / 381.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.2124, allocations: 90.94 kB / 381.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003773/0.2128, allocations: 148.4 kB / 381.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001102/0.2139, allocations: 1.528 MB / 383.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005414/0.2144, allocations: 0.967 MB / 384.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000187/0.2146, allocations: 72.97 kB / 384.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002623/0.2149, allocations: 61.64 kB / 384.3 MB, free: 12.12 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.00293/0.2178, allocations: 3.505 MB / 387.8 MB, free: 10.58 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004362/0.2183, allocations: 421.1 kB / 388.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001939/0.2202, allocations: 2.189 MB / 390.4 MB, free: 9.434 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0006133/0.2208, allocations: 339.6 kB / 390.7 MB, free: 9.234 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.006198/0.227, allocations: 4.137 MB / 394.9 MB, free: 7.457 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001962/0.2272, allocations: 150.4 kB / 395 MB, free: 7.344 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 9.76e-05/0.2273, allocations: 104.2 kB / 395.1 MB, free: 7.25 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.00035/0.2277, allocations: 306.3 kB / 395.4 MB, free: 7 MB / 302.1 MB Notification: Performance of [SIM] Events: time 7.294e-05/0.2277, allocations: 26.08 kB / 395.5 MB, free: 6.988 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003765/0.2281, allocations: 311.8 kB / 395.8 MB, free: 6.836 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.4623171132989228] 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.2371811713092029 0.25061374200000003 0.030963687000000004 Calling exit ...