Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.HeatLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001444/0.001444, allocations: 107.6 kB / 21.25 MB, free: 0.5625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001495/0.001495, allocations: 219.1 kB / 24.55 MB, free: 3.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.628/1.628, allocations: 230.5 MB / 258.2 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.HeatLosses") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.449e-05, allocations: 2.281 kB / 379 MB, free: 2.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.HeatLosses): time 0.2614/0.2614, allocations: 4.659 MB / 383.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005042/0.2664, allocations: 1.995 MB / 385.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.2675, allocations: 20.25 kB / 385.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006658/0.2682, allocations: 196 kB / 385.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001639/0.2698, allocations: 478.4 kB / 386.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.2715, allocations: 0.5419 MB / 386.9 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002685/0.2742, allocations: 1.852 MB / 388.8 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005118/0.2747, allocations: 198.3 kB / 388.9 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001751/0.2764, allocations: 0.765 MB / 389.7 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/0.2777, allocations: 0.7414 MB / 390.5 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002815/0.278, allocations: 133.4 kB / 390.6 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007617/0.2788, allocations: 224.5 kB / 390.8 MB, free: 9.25 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003252/0.282, allocations: 2.557 MB / 393.4 MB, free: 7.602 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001461/0.2835, allocations: 1.35 MB / 394.7 MB, free: 6.672 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006446/0.2841, allocations: 100.4 kB / 394.8 MB, free: 6.672 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0004319/0.2846, allocations: 52.27 kB / 394.9 MB, free: 6.656 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: 248 (242) * Number of variables: 248 (242) Notification: Performance of [SIM] Bindings: time 0.008295/0.2929, allocations: 5.378 MB / 400.2 MB, free: 3.188 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001618/0.2945, allocations: 1.007 MB / 401.2 MB, free: 2.57 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.004249/0.2987, allocations: 4.194 MB / 405.4 MB, free: 15.7 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001544/0.3003, allocations: 0.6431 MB / 406.1 MB, free: 15.25 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.008239/0.3085, allocations: 4.817 MB / 410.9 MB, free: 11.66 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0009674/0.3095, allocations: 0.5139 MB / 411.4 MB, free: 11.3 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0004545/0.3099, allocations: 343.6 kB / 411.7 MB, free: 11 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.001468/0.3114, allocations: 1.011 MB / 412.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.001199/0.3126, allocations: 0.6805 MB / 413.4 MB, free: 9.656 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.002115/0.3147, allocations: 1.608 MB / 415 MB, free: 8.105 MB / 318.1 MB Error: NBCausalize.checkSystemVariabilities failed. The following strong component has conflicting types: Real[4] != Real BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 4) ----------------------------------------------------------------------- ### Variable: Real[1, 4] lossyGear.interpolation_result ### Equation: [-IF-] (4) ($RES_SIM_109) [----] if lossyGear.ideal then [----] [ARRY] (4) lossyGear.interpolation_result = {{1.0, 1.0, 0.0, 0.0}} ($RES_SIM_110) [----] else [----] [FOR-] (4) ($RES_SIM_111) [----] [----] for i in 1:4 loop [----] [----] [SCAL] (1) lossyGear.interpolation_result[1, i] = if $SEV_14[i] then Modelica.Blocks.Tables.Internal.getTable1DValueNoDer(lossyGear.tableID, i, noEvent(abs(lossyGear.w_a))) else if $SEV_15[i] then Modelica.Blocks.Tables.Internal.getTable1DValueNoDer2(lossyGear.tableID, i, noEvent(abs(lossyGear.w_a))) else Modelica.Blocks.Tables.Internal.getTable1DValue(lossyGear.tableID, i, noEvent(abs(lossyGear.w_a))) ($RES_SIM_112) [----] [----] end for; [----] end if; " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.8882587919943035] 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.3379379260004498 0.35341369599999994 0.06556773499999995 Calling exit ...