Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.HeatLosses.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.002014/0.002014, 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.002199/0.002199, 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.551/1.551, allocations: 225.7 MB / 253.4 MB, free: 12.78 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.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_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.HeatLosses") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.621e-05, allocations: 10.16 kB / 371.7 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.HeatLosses): time 0.007348/0.007374, allocations: 4.468 MB / 376.2 MB, free: 4.652 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004314/0.01169, allocations: 1.766 MB / 378 MB, free: 2.883 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003502/0.01204, allocations: 19.88 kB / 378 MB, free: 2.863 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004693/0.01251, allocations: 166.4 kB / 378.1 MB, free: 2.699 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.01353, allocations: 409.1 kB / 378.5 MB, free: 2.297 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.01466, allocations: 0.5304 MB / 379.1 MB, free: 1.766 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2401/0.2547, allocations: 1.763 MB / 380.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008513/0.2556, allocations: 187.8 kB / 381 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001566/0.2571, allocations: 0.7078 MB / 381.7 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.2582, allocations: 0.7102 MB / 382.4 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002785/0.2585, allocations: 126.3 kB / 382.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006146/0.2591, allocations: 218.2 kB / 382.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002407/0.2615, allocations: 2.365 MB / 385.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009325/0.2624, allocations: 1.276 MB / 386.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002931/0.2627, allocations: 101.4 kB / 386.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002112/0.2629, allocations: 45.89 kB / 386.6 MB, free: 11.54 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.005073/0.268, allocations: 5.117 MB / 391.7 MB, free: 9.422 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001221/0.2692, allocations: 0.9556 MB / 392.6 MB, free: 8.941 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.004513/0.2737, allocations: 4.059 MB / 396.7 MB, free: 6.82 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001188/0.2749, allocations: 0.6257 MB / 397.3 MB, free: 6.566 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.006583/0.2815, allocations: 4.853 MB / 402.2 MB, free: 3.922 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0006719/0.2822, allocations: 0.4959 MB / 402.7 MB, free: 3.598 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003311/0.2825, allocations: 317.1 kB / 403 MB, free: 3.34 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.001116/0.2836, allocations: 1.007 MB / 404 MB, free: 2.52 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0009109/0.2845, allocations: 0.5836 MB / 404.6 MB, free: 2.148 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.001778/0.2863, allocations: 1.497 MB / 406.1 MB, free: 1.273 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0123/0.2986, allocations: 8.081 MB / 414.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.00365/0.3023, allocations: 3.225 MB / 417.4 MB, free: 8.09 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.003011/0.3053, allocations: 1.479 MB / 418.8 MB, free: 6.555 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.005544/0.3108, allocations: 5.22 MB / 424.1 MB, free: 1.398 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.000197/0.311, allocations: 76.05 kB / 424.1 MB, free: 1.309 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0009517/0.312, allocations: 0.7745 MB / 424.9 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.006789/0.3188, allocations: 4.54 MB / 429.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of [INI] Tearing: time 0.001877/0.3206, allocations: 1.32 MB / 430.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of [SIM] Initialization: time 1.332e-06/0.3206, allocations: 0 / 430.8 MB, free: 10.62 MB / 334.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.001553/0.3222, allocations: 0.9831 MB / 431.8 MB, free: 9.676 MB / 334.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.758e-06/0.3222, allocations: 1.312 kB / 431.8 MB, free: 9.676 MB / 334.1 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.8569650379940867] 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.33071335701970384 0.34468126899999996 0.07867914200000001 Calling exit ...