Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001942/0.001942, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.0027/0.0027, allocations: 211.2 kB / 24.55 MB, free: 3.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.868/1.868, allocations: 230.6 MB / 258.3 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.HeatLosses") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.461e-05, allocations: 2.281 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.HeatLosses): time 0.2402/0.2403, allocations: 4.658 MB / 383.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004061/0.2443, allocations: 1.981 MB / 385.7 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004661/0.2448, allocations: 27.25 kB / 385.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00058/0.2454, allocations: 192.1 kB / 385.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001205/0.2466, allocations: 483.6 kB / 386.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.2479, allocations: 0.5414 MB / 386.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002148/0.2501, allocations: 1.853 MB / 388.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004501/0.2505, allocations: 202 kB / 389 MB, free: 10 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.2517, allocations: 0.7574 MB / 389.7 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000994/0.2527, allocations: 0.7409 MB / 390.5 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002494/0.253, allocations: 133.6 kB / 390.6 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005542/0.2535, allocations: 237.5 kB / 390.8 MB, free: 9.355 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001969/0.2555, allocations: 2.548 MB / 393.4 MB, free: 7.715 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007674/0.2563, allocations: 1.351 MB / 394.7 MB, free: 6.785 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002494/0.2565, allocations: 99.72 kB / 394.8 MB, free: 6.785 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001779/0.2567, allocations: 53.06 kB / 394.9 MB, free: 6.77 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.005091/0.2618, allocations: 5.376 MB / 400.3 MB, free: 3.301 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.00135/0.2631, allocations: 1.004 MB / 401.3 MB, free: 2.691 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.003862/0.267, allocations: 4.196 MB / 405.5 MB, free: 15.84 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001306/0.2683, allocations: 0.6441 MB / 406.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.009119/0.2774, allocations: 4.808 MB / 410.9 MB, free: 11.81 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001023/0.2785, allocations: 0.514 MB / 411.4 MB, free: 11.46 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0005018/0.279, allocations: 340.6 kB / 411.7 MB, free: 11.16 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.001607/0.2806, allocations: 1.011 MB / 412.8 MB, free: 10.28 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.001331/0.2819, allocations: 0.6817 MB / 413.4 MB, free: 9.809 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.002268/0.2842, allocations: 1.607 MB / 415 MB, free: 8.324 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: 3.155073708971031] 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.30735207203542814 0.321894449 0.062065718000000006 Calling exit ...