Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.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.001587/0.001587, allocations: 104 kB / 21.25 MB, free: 0.5664 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.001803/0.001803, allocations: 191.7 kB / 24.53 MB, free: 3.852 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.574/1.574, allocations: 225.7 MB / 253.4 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.LossyGearDemo3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Inertia2.phi|Inertia2.w|gear.mode",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3") translateModel(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Inertia2.phi|Inertia2.w|gear.mode",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.576e-05, allocations: 2.281 kB / 371.7 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3): time 0.003883/0.003909, allocations: 2.218 MB / 373.9 MB, free: 6.922 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.005795, allocations: 0.8819 MB / 374.8 MB, free: 6.035 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.005925, allocations: 7.938 kB / 374.8 MB, free: 6.027 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.006157, allocations: 47.58 kB / 374.9 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004859/0.006643, allocations: 131.2 kB / 375 MB, free: 5.852 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.007001, allocations: 179.7 kB / 375.2 MB, free: 5.676 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005247/0.007526, allocations: 454.7 kB / 375.6 MB, free: 5.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.007693, allocations: 48.84 kB / 375.7 MB, free: 5.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.007927, allocations: 187.4 kB / 375.8 MB, free: 4.996 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/0.008214, allocations: 199.3 kB / 376 MB, free: 4.801 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.419e-05/0.008288, allocations: 32 kB / 376.1 MB, free: 4.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002344/0.008522, allocations: 119.9 kB / 376.2 MB, free: 4.652 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005925/0.009115, allocations: 0.6236 MB / 376.8 MB, free: 4.023 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002593/0.009374, allocations: 343.5 kB / 377.1 MB, free: 3.684 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.828e-05/0.009422, allocations: 24 kB / 377.2 MB, free: 3.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.008e-05/0.009462, allocations: 8 kB / 377.2 MB, free: 3.652 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: 67 (64) * Number of variables: 67 (64) Notification: Performance of [SIM] Bindings: time 0.001627/0.01109, allocations: 1.464 MB / 378.6 MB, free: 2.062 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002712/0.01136, allocations: 223.5 kB / 378.9 MB, free: 1.832 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001144/0.0125, allocations: 1.075 MB / 379.9 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003793/0.01288, allocations: 245.5 kB / 380.2 MB, free: 452 kB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.2185/0.2314, allocations: 1.223 MB / 381.4 MB, free: 16.2 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003791/0.2318, allocations: 215.5 kB / 381.6 MB, free: 16.1 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001496/0.2319, allocations: 116.7 kB / 381.7 MB, free: 16.04 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0005061/0.2325, allocations: 316.5 kB / 382 MB, free: 15.93 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002812/0.2327, allocations: 141.1 kB / 382.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0006966/0.2334, allocations: 451.2 kB / 382.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.004531/0.238, allocations: 2.659 MB / 385.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0009645/0.2389, allocations: 0.885 MB / 386.2 MB, free: 15.28 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001244/0.2402, allocations: 0.6216 MB / 386.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001697/0.2419, allocations: 1.497 MB / 388.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 5.857e-05/0.2419, allocations: 35.48 kB / 388.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0002406/0.2422, allocations: 226.6 kB / 388.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.002331/0.2445, allocations: 1.358 MB / 389.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0005936/0.2451, allocations: 387 kB / 390.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 2.525e-06/0.2451, allocations: 1.156 kB / 390.3 MB, free: 13.78 MB / 302.1 MB Error: NBCausalize.checkSystemVariabilities failed. The following strong component has conflicting types: Real != Real[4] BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 4) ----------------------------------------------------------------------- ### Variable: Real $RES_SIM_56 ### Equation: [ARRY] (4) $RES_SIM_56 = (if gear.ideal then {{1.0, 1.0, 0.0, 0.0}} else {{Modelica.Math.Vectors.interpolate(gear.lossTable[:, 1], gear.lossTable[:, 2], noEvent(abs(gear.w_a)), 1)[1], Modelica.Math.Vectors.interpolate(gear.lossTable[:, 1], gear.lossTable[:, 3], noEvent(abs(gear.w_a)), 1)[1], Modelica.Math.Vectors.interpolate(gear.lossTable[:, 1], gear.lossTable[:, 4], noEvent(abs(gear.w_a)), 1)[1], Modelica.Math.Vectors.interpolate(gear.lossTable[:, 1], gear.lossTable[:, 5], noEvent(abs(gear.w_a)), 1)[1]}}) .- gear.interpolation_result ($RES_SIM_56) Error: Internal error NBDAEMode.main failed. Notification: Performance of [SIM] DAE-Mode: time 0.0007084/0.2458, allocations: 400.9 kB / 390.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.845e-06/0.2458, allocations: 1.156 kB / 390.7 MB, free: 13.61 MB / 302.1 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.662357082008384] Failed to read output from testmodel.py, exit status != 0: ['time', 'Inertia2.phi', 'Inertia2.w', 'gear.mode'] 0.2542692860006355 0.26720595499999994 0.25542824 Calling exit ...