Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.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.001651/0.001651, 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.001928/0.001928, allocations: 190.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.663/1.663, 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.LossyGearDemo1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|Inertia2.phi|Inertia2.w|gear.mode",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1") translateModel(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|Inertia2.phi|Inertia2.w|gear.mode",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.355e-05/3.355e-05, allocations: 2.281 kB / 371.7 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1): time 0.005517/0.00555, allocations: 2.291 MB / 374 MB, free: 6.957 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002524/0.008074, allocations: 0.9247 MB / 374.9 MB, free: 6.027 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003692/0.008443, allocations: 7.938 kB / 374.9 MB, free: 6.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003846/0.008828, allocations: 51.5 kB / 375 MB, free: 5.969 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.009878, allocations: 163 kB / 375.1 MB, free: 5.809 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006758/0.01055, allocations: 183.6 kB / 375.3 MB, free: 5.629 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.01156, allocations: 0.5063 MB / 375.8 MB, free: 5.121 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003794/0.01194, allocations: 57.12 kB / 375.9 MB, free: 5.059 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006214/0.01256, allocations: 219.3 kB / 376.1 MB, free: 4.844 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005901/0.01315, allocations: 227.2 kB / 376.3 MB, free: 4.621 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002019/0.01335, allocations: 36 kB / 376.4 MB, free: 4.586 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000449/0.0138, allocations: 119.9 kB / 376.5 MB, free: 4.469 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0009827/0.01479, allocations: 0.7204 MB / 377.2 MB, free: 3.742 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004279/0.01521, allocations: 398.8 kB / 377.6 MB, free: 3.348 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.01536, allocations: 28 kB / 377.6 MB, free: 3.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.261e-05/0.01543, allocations: 11.98 kB / 377.6 MB, free: 3.309 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: 76 (73) * Number of variables: 76 (73) Notification: Performance of [SIM] Bindings: time 0.002723/0.01815, allocations: 1.668 MB / 379.3 MB, free: 1.512 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0005177/0.01867, allocations: 256.8 kB / 379.5 MB, free: 1.25 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.2734/0.2921, allocations: 1.244 MB / 380.8 MB, free: 16.13 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0007964/0.2929, allocations: 260.7 kB / 381 MB, free: 16.02 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.003271/0.2962, allocations: 1.403 MB / 382.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0005033/0.2967, allocations: 239.3 kB / 382.7 MB, free: 15.65 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002469/0.2969, allocations: 127.6 kB / 382.8 MB, free: 15.59 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0007654/0.2977, allocations: 341 kB / 383.1 MB, free: 15.47 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0004136/0.2981, allocations: 153.6 kB / 383.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.001047/0.2992, allocations: 0.4912 MB / 383.8 MB, free: 15.42 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.00578/0.3049, allocations: 2.888 MB / 386.7 MB, free: 14.76 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001471/0.3064, allocations: 0.9897 MB / 387.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.002047/0.3085, allocations: 0.718 MB / 388.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.002578/0.311, allocations: 1.712 MB / 390.1 MB, free: 13.42 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 6.74e-05/0.3111, allocations: 32.69 kB / 390.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0002459/0.3113, allocations: 255.2 kB / 390.4 MB, free: 13.26 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.002451/0.3138, allocations: 1.529 MB / 391.9 MB, free: 12.94 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0005964/0.3144, allocations: 417 kB / 392.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.313e-06/0.3144, allocations: 0 / 392.3 MB, free: 12.82 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_54 ### Equation: [ARRY] (4) $RES_SIM_54 = (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_54) Error: Internal error NBDAEMode.main failed. Notification: Performance of [SIM] DAE-Mode: time 0.0007925/0.3152, allocations: 442.2 kB / 392.7 MB, free: 12.64 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.217e-06/0.3152, allocations: 4.281 kB / 392.7 MB, free: 12.64 MB / 302.1 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.841188015008811] Failed to read output from testmodel.py, exit status != 0: ['time', 'Inertia2.phi', 'Inertia2.w', 'gear.mode'] 0.32449416699819267 0.33512149300000005 0.317497554 Calling exit ...