Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.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.002352/0.002352, allocations: 107.6 kB / 21.26 MB, free: 0.5469 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.003333/0.003333, allocations: 210.5 kB / 24.55 MB, free: 3.832 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.688/1.688, allocations: 230.5 MB / 258.2 MB, free: 7.695 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.LossyGearDemo2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|Inertia2.phi|Inertia2.w|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|gear.mode",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2") translateModel(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|Inertia2.phi|Inertia2.w|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|gear.mode",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.53e-05, allocations: 4.391 kB / 379 MB, free: 2.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2): time 0.2571/0.2571, allocations: 2.671 MB / 381.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00286/0.26, allocations: 1.239 MB / 382.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002298/0.2602, allocations: 5.375 kB / 382.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000391/0.2606, allocations: 94.11 kB / 383 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006919/0.2613, allocations: 215.2 kB / 383.2 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007065/0.262, allocations: 264.2 kB / 383.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009401/0.2629, allocations: 0.7354 MB / 384.2 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/0.2632, allocations: 78 kB / 384.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005705/0.2638, allocations: 335.7 kB / 384.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004827/0.2642, allocations: 319.1 kB / 385 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.2644, allocations: 54.78 kB / 385 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004022/0.2648, allocations: 150.8 kB / 385.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0009126/0.2657, allocations: 1.037 MB / 386.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003179/0.266, allocations: 0.5228 MB / 386.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.559e-05/0.2661, allocations: 39.97 kB / 386.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.575e-05/0.2662, allocations: 12.77 kB / 386.8 MB, free: 11.35 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: 100 (96) * Number of variables: 100 (96) Notification: Performance of [SIM] Bindings: time 0.002397/0.2686, allocations: 2.277 MB / 389 MB, free: 9.82 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0005189/0.2691, allocations: 395.1 kB / 389.4 MB, free: 9.617 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001992/0.2711, allocations: 1.785 MB / 391.2 MB, free: 8.629 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005173/0.2716, allocations: 305.1 kB / 391.5 MB, free: 8.465 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002979/0.2746, allocations: 1.89 MB / 393.4 MB, free: 7.391 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0004214/0.275, allocations: 296.2 kB / 393.7 MB, free: 7.23 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001832/0.2752, allocations: 163.6 kB / 393.9 MB, free: 7.105 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0005918/0.2758, allocations: 467.5 kB / 394.3 MB, free: 6.77 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0004897/0.2763, allocations: 328.6 kB / 394.6 MB, free: 6.57 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0009765/0.2772, allocations: 0.732 MB / 395.4 MB, free: 6.258 MB / 302.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] gear.interpolation_result ### Equation: [-IF-] (4) ($RES_SIM_72) [----] if gear.ideal then [----] [ARRY] (4) gear.interpolation_result = {{1.0, 1.0, 0.0, 0.0}} ($RES_SIM_73) [----] else [----] [FOR-] (4) ($RES_SIM_74) [----] [----] for i in 1:4 loop [----] [----] [SCAL] (1) gear.interpolation_result[1, i] = if $SEV_0[i] then Modelica.Blocks.Tables.Internal.getTable1DValueNoDer(gear.tableID, i, noEvent(abs(gear.w_a))) else if $SEV_1[i] then Modelica.Blocks.Tables.Internal.getTable1DValueNoDer2(gear.tableID, i, noEvent(abs(gear.w_a))) else Modelica.Blocks.Tables.Internal.getTable1DValue(gear.tableID, i, noEvent(abs(gear.w_a))) ($RES_SIM_75) [----] [----] end for; [----] end if; " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.8388891119975597] Failed to read output from testmodel.py, exit status != 0: ['time', 'Inertia2.phi', 'Inertia2.w', 'bearingFriction.mode', 'bearingFriction.startBackward', 'bearingFriction.startForward', 'gear.mode'] 0.291487283015158 0.30492625900000003 0.035671192000000004 Calling exit ...