Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.HeatLosses.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.00189/0.00189, allocations: 110.1 kB / 21.99 MB, free: 4.551 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.002221/0.002221, allocations: 213.5 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.687/1.687, allocations: 207.7 MB / 236.2 MB, free: 9.758 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.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|clutch.phi_rel|clutch.w_rel|damper.phi_rel|damper.w_rel|elastoBacklash.phi_rel|elastoBacklash.w_rel|inertia5.phi|inertia5.w|oneWayClutch.phi_rel|oneWayClutch.w_rel|springDamper.phi_rel|springDamper.w_rel|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward|lossyGear.mode|oneWayClutch.startForward|oneWayClutch.stuck",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.HeatLosses") translateModel(Modelica.Mechanics.Rotational.Examples.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|clutch.phi_rel|clutch.w_rel|damper.phi_rel|damper.w_rel|elastoBacklash.phi_rel|elastoBacklash.w_rel|inertia5.phi|inertia5.w|oneWayClutch.phi_rel|oneWayClutch.w_rel|springDamper.phi_rel|springDamper.w_rel|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward|lossyGear.mode|oneWayClutch.startForward|oneWayClutch.stuck",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.HeatLosses") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.448e-05, allocations: 2.281 kB / 348.5 MB, free: 9.363 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.HeatLosses): time 0.007556/0.007581, allocations: 4.506 MB / 353 MB, free: 4.824 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003854/0.01143, allocations: 1.709 MB / 354.7 MB, free: 3.109 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004269/0.01186, allocations: 19.88 kB / 354.8 MB, free: 3.09 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004727/0.01233, allocations: 190.2 kB / 354.9 MB, free: 2.902 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.0134, allocations: 401.1 kB / 355.3 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.01452, allocations: 0.5187 MB / 355.9 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00201/0.01653, allocations: 1.772 MB / 357.6 MB, free: 216 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004736/0.017, allocations: 204.3 kB / 357.8 MB, free: 16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009853/0.01799, allocations: 0.7012 MB / 358.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008911/0.01888, allocations: 0.7122 MB / 359.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002169/0.0191, allocations: 124 kB / 359.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000468/0.01957, allocations: 211.9 kB / 359.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002183/0.02175, allocations: 2.362 MB / 361.9 MB, free: 11.87 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001011/0.02276, allocations: 1.272 MB / 363.2 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.02296, allocations: 96 kB / 363.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001927/0.02315, allocations: 59.83 kB / 363.3 MB, free: 10.43 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: 243 (240) * Number of variables: 243 (240) Notification: Performance of [SIM] Bindings: time 0.005625/0.02878, allocations: 5.113 MB / 368.5 MB, free: 5.121 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.00125/0.03003, allocations: 0.9647 MB / 369.4 MB, free: 4.109 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.004498/0.03452, allocations: 4.055 MB / 373.5 MB, free: 12 kB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001243/0.03577, allocations: 0.6284 MB / 374.1 MB, free: 15.3 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.007547/0.04331, allocations: 4.844 MB / 379 MB, free: 9.988 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000845/0.04416, allocations: 498.2 kB / 379.4 MB, free: 9.434 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003909/0.04455, allocations: 324 kB / 379.8 MB, free: 9.082 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.001379/0.04593, allocations: 0.9998 MB / 380.8 MB, free: 8.012 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.001024/0.04695, allocations: 0.5755 MB / 381.3 MB, free: 7.445 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.00196/0.04891, allocations: 1.503 MB / 382.8 MB, free: 5.914 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.2471/0.296, allocations: 8.083 MB / 390.9 MB, free: 35.18 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003998/0.3, allocations: 3.23 MB / 394.1 MB, free: 35.18 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.003941/0.3039, allocations: 1.465 MB / 395.6 MB, free: 34.88 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.005773/0.3097, allocations: 5.222 MB / 400.8 MB, free: 32.59 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.0002782/0.31, allocations: 78.88 kB / 400.9 MB, free: 32.55 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0009564/0.3109, allocations: 0.7741 MB / 401.7 MB, free: 32.11 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.007317/0.3183, allocations: 4.538 MB / 406.2 MB, free: 31.23 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.001662/0.3199, allocations: 1.306 MB / 407.5 MB, free: 30.93 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 2.485e-06/0.3199, allocations: 3.938 kB / 407.5 MB, free: 30.92 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_108 ### Equation: [ARRY] (4) $RES_SIM_108 = (if lossyGear.ideal then {{1.0, 1.0, 0.0, 0.0}} else {{Modelica.Math.Vectors.interpolate(lossyGear.lossTable[:, 1], lossyGear.lossTable[:, 2], noEvent(abs(lossyGear.w_a)), 1)[1], Modelica.Math.Vectors.interpolate(lossyGear.lossTable[:, 1], lossyGear.lossTable[:, 3], noEvent(abs(lossyGear.w_a)), 1)[1], Modelica.Math.Vectors.interpolate(lossyGear.lossTable[:, 1], lossyGear.lossTable[:, 4], noEvent(abs(lossyGear.w_a)), 1)[1], Modelica.Math.Vectors.interpolate(lossyGear.lossTable[:, 1], lossyGear.lossTable[:, 5], noEvent(abs(lossyGear.w_a)), 1)[1]}}) .- lossyGear.interpolation_result ($RES_SIM_108) Error: Internal error NBDAEMode.main failed. Notification: Performance of [SIM] DAE-Mode: time 0.001702/0.3216, allocations: 1 MB / 408.5 MB, free: 30.61 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.774e-05/0.3216, allocations: 1.312 kB / 408.5 MB, free: 30.61 MB / 318.1 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.0159012069925666] Failed to read output from testmodel.py, exit status != 0: ['time', 'clutch.phi_rel', 'clutch.w_rel', 'damper.phi_rel', 'damper.w_rel', 'elastoBacklash.phi_rel', 'elastoBacklash.w_rel', 'inertia5.phi', 'inertia5.w', 'oneWayClutch.phi_rel', 'oneWayClutch.w_rel', 'springDamper.phi_rel', 'springDamper.w_rel', 'bearingFriction.mode', 'bearingFriction.startBackward', 'bearingFriction.startForward', 'brake.mode', 'brake.startBackward', 'brake.startForward', 'clutch.mode', 'clutch.startBackward', 'clutch.startForward', 'lossyGear.mode', 'oneWayClutch.startForward', 'oneWayClutch.stuck'] 0.3306044490309432 0.34052524599999995 0.31510542899999994 Calling exit ...