Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.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.001901/0.001901, allocations: 110.1 kB / 22 MB, free: 4.555 MB / 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.001865/0.001865, allocations: 214 kB / 25.3 MB, free: 2.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.783/1.783, allocations: 207.7 MB / 236.2 MB, free: 9.766 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.LossyGearDemo2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|Inertia2.phi|Inertia2.w|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|gear.mode",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2") translateModel(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|Inertia2.phi|Inertia2.w|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|gear.mode",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.384e-05, allocations: 2.281 kB / 348.5 MB, free: 9.375 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2): time 0.005148/0.005172, allocations: 2.555 MB / 351.1 MB, free: 6.797 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002876/0.008047, allocations: 1.089 MB / 352.2 MB, free: 5.699 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004037/0.008451, allocations: 11.94 kB / 352.2 MB, free: 5.688 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003916/0.008842, allocations: 83.3 kB / 352.3 MB, free: 5.605 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001146/0.009989, allocations: 182.9 kB / 352.4 MB, free: 5.426 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.01111, allocations: 247.5 kB / 352.7 MB, free: 5.184 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00141/0.01252, allocations: 0.7055 MB / 353.4 MB, free: 4.477 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002952/0.01281, allocations: 87.91 kB / 353.5 MB, free: 4.387 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000449/0.01326, allocations: 307.1 kB / 353.8 MB, free: 4.086 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004444/0.0137, allocations: 310.9 kB / 354.1 MB, free: 3.781 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.01381, allocations: 52 kB / 354.1 MB, free: 3.73 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002854/0.0141, allocations: 131.9 kB / 354.2 MB, free: 3.602 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.001017/0.01512, allocations: 0.9605 MB / 355.2 MB, free: 2.633 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004324/0.01555, allocations: 0.5051 MB / 355.7 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.775e-05/0.01562, allocations: 32 kB / 355.7 MB, free: 2.09 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.0001004/0.01572, allocations: 19.98 kB / 355.8 MB, free: 2.07 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 (95) * Number of variables: 98 (95) Notification: Performance of [SIM] Bindings: time 0.002574/0.01829, allocations: 2.157 MB / 357.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004898/0.01878, allocations: 376.6 kB / 358.3 MB, free: 15.4 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001829/0.02061, allocations: 1.729 MB / 360 MB, free: 13.64 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005404/0.02115, allocations: 320.1 kB / 360.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.003033/0.02418, allocations: 1.872 MB / 362.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0004212/0.0246, allocations: 284.8 kB / 362.5 MB, free: 10.92 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001892/0.02479, allocations: 164.2 kB / 362.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0006694/0.02546, allocations: 435.1 kB / 363.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0004893/0.02595, allocations: 283.7 kB / 363.3 MB, free: 9.977 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0009304/0.02688, allocations: 0.6782 MB / 364 MB, free: 9.285 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.005874/0.03276, allocations: 3.86 MB / 367.9 MB, free: 5.293 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001706/0.03446, allocations: 1.424 MB / 369.3 MB, free: 3.867 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001918/0.03638, allocations: 0.8474 MB / 370.2 MB, free: 2.949 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.00265/0.03903, allocations: 2.365 MB / 372.5 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 9.07e-05/0.03912, allocations: 36 kB / 372.6 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0003819/0.0395, allocations: 343.6 kB / 372.9 MB, free: 204 kB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.003187/0.04269, allocations: 2.102 MB / 375 MB, free: 14.07 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.0008898/0.04358, allocations: 0.5333 MB / 375.5 MB, free: 13.54 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 1.162e-06/0.04358, allocations: 0 / 375.5 MB, free: 13.54 MB / 318.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_71 ### Equation: [ARRY] (4) $RES_SIM_71 = (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_71) Error: Internal error NBDAEMode.main failed. Notification: Performance of [SIM] DAE-Mode: time 0.0009876/0.04457, allocations: 0.5036 MB / 376 MB, free: 13.04 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.636e-06/0.04458, allocations: 0.5 kB / 376 MB, free: 13.04 MB / 318.1 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.9707321830210276] Failed to read output from testmodel.py, exit status != 0: ['time', 'Inertia2.phi', 'Inertia2.w', 'bearingFriction.mode', 'bearingFriction.startBackward', 'bearingFriction.startForward', 'gear.mode'] 0.05373748700367287 0.32775666200000003 0.051129520000000005 Calling exit ...