Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.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.002095/0.002095, allocations: 108.8 kB / 22 MB, free: 5.215 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.002014/0.002014, allocations: 210 kB / 25.3 MB, free: 2.898 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.738/1.738, 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.LossyGearDemo3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Inertia2.phi|Inertia2.w|gear.mode",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.877e-05/2.877e-05, allocations: 2.281 kB / 348.5 MB, free: 9.383 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3): time 0.004814/0.004843, allocations: 2.213 MB / 350.7 MB, free: 7.148 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002547/0.00739, allocations: 0.9295 MB / 351.7 MB, free: 6.211 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003711/0.007761, allocations: 8 kB / 351.7 MB, free: 6.203 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003984/0.00816, allocations: 47.58 kB / 351.7 MB, free: 6.156 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009306/0.00909, allocations: 139.2 kB / 351.8 MB, free: 6.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006553/0.009746, allocations: 171.7 kB / 352 MB, free: 5.852 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000908/0.01065, allocations: 462.6 kB / 352.5 MB, free: 5.398 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002902/0.01094, allocations: 44.86 kB / 352.5 MB, free: 5.359 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004279/0.01137, allocations: 191.5 kB / 352.7 MB, free: 5.172 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004368/0.01181, allocations: 199.3 kB / 352.9 MB, free: 4.977 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.01192, allocations: 35.94 kB / 352.9 MB, free: 4.941 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002995/0.01222, allocations: 111.9 kB / 353 MB, free: 4.832 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0007449/0.01296, allocations: 0.6274 MB / 353.7 MB, free: 4.199 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003648/0.01333, allocations: 339.5 kB / 354 MB, free: 3.863 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.01346, allocations: 24 kB / 354 MB, free: 3.84 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.938e-05/0.01353, allocations: 15.94 kB / 354 MB, free: 3.824 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: 67 (64) * Number of variables: 67 (64) Notification: Performance of [SIM] Bindings: time 0.002241/0.01577, allocations: 1.456 MB / 355.5 MB, free: 2.238 MB / 286.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004137/0.01618, allocations: 207.7 kB / 355.7 MB, free: 2.023 MB / 286.1 MB Notification: Performance of [SIM] Early Inline: time 0.001861/0.01804, allocations: 1.09 MB / 356.8 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004573/0.0185, allocations: 237.6 kB / 357 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of [SIM] Alias: time 0.002074/0.02058, allocations: 1.251 MB / 358.3 MB, free: 15.24 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003068/0.02088, allocations: 210.9 kB / 358.5 MB, free: 14.99 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001646/0.02105, allocations: 120.3 kB / 358.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.000655/0.0217, allocations: 321.6 kB / 358.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002651/0.02197, allocations: 127.7 kB / 359 MB, free: 14.35 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005866/0.02255, allocations: 449.5 kB / 359.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.003928/0.02648, allocations: 2.655 MB / 362.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0009377/0.02742, allocations: 0.8859 MB / 363 MB, free: 10.25 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001264/0.02868, allocations: 0.632 MB / 363.6 MB, free: 9.551 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001733/0.03042, allocations: 1.491 MB / 365.1 MB, free: 8.055 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 5.442e-05/0.03047, allocations: 32 kB / 365.2 MB, free: 8.016 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.000237/0.03071, allocations: 219.8 kB / 365.4 MB, free: 7.801 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001898/0.03261, allocations: 1.373 MB / 366.7 MB, free: 6.418 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0005875/0.03319, allocations: 373.6 kB / 367.1 MB, free: 6.055 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 6.51e-07/0.03319, allocations: 0 / 367.1 MB, free: 6.055 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.0006717/0.03387, allocations: 399.2 kB / 367.5 MB, free: 5.656 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.688e-06/0.03388, allocations: 8 kB / 367.5 MB, free: 5.648 MB / 302.1 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.6478527240105905] Failed to read output from testmodel.py, exit status != 0: ['time', 'Inertia2.phi', 'Inertia2.w', 'gear.mode'] 0.043080803006887436 0.058121031000000004 0.041503719 Calling exit ...