Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.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.001944/0.001944, allocations: 103.6 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.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.002171/0.002171, allocations: 211 kB / 24.55 MB, free: 3.824 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.725/1.725, allocations: 230.7 MB / 258.3 MB, free: 7.777 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.LossyGearDemo2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|Inertia2.phi|Inertia2.w|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|gear.mode",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.528e-05, allocations: 2.281 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2): time 0.2805/0.2805, allocations: 2.678 MB / 381.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003004/0.2835, allocations: 1.232 MB / 382.9 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000218/0.2837, allocations: 8.75 kB / 383 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003932/0.2841, allocations: 91.28 kB / 383 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007425/0.2848, allocations: 218.9 kB / 383.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007122/0.2856, allocations: 261 kB / 383.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009615/0.2865, allocations: 0.739 MB / 384.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002632/0.2868, allocations: 79.94 kB / 384.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005935/0.2874, allocations: 328.2 kB / 384.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005842/0.288, allocations: 324.4 kB / 385 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.2881, allocations: 55.78 kB / 385 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004283/0.2885, allocations: 145.1 kB / 385.2 MB, free: 12.57 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001082/0.2896, allocations: 1.039 MB / 386.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003756/0.29, allocations: 0.5296 MB / 386.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.275e-05/0.2901, allocations: 35.12 kB / 386.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.396e-05/0.2902, allocations: 22.31 kB / 386.8 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: 100 (96) * Number of variables: 100 (96) Notification: Performance of [SIM] Bindings: time 0.002655/0.2928, allocations: 2.27 MB / 389.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0005311/0.2933, allocations: 385.8 kB / 389.4 MB, free: 9.809 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001995/0.2953, allocations: 1.785 MB / 391.2 MB, free: 8.82 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005452/0.2959, allocations: 309.5 kB / 391.5 MB, free: 8.652 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.003185/0.2991, allocations: 1.892 MB / 393.4 MB, free: 7.582 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0004544/0.2995, allocations: 291.3 kB / 393.7 MB, free: 7.426 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002016/0.2997, allocations: 167.5 kB / 393.9 MB, free: 7.297 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0006601/0.3004, allocations: 468.7 kB / 394.3 MB, free: 6.961 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0005485/0.3009, allocations: 327.5 kB / 394.6 MB, free: 6.766 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.001042/0.302, allocations: 0.7396 MB / 395.4 MB, free: 6.445 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.9361606599995866] Failed to read output from testmodel.py, exit status != 0: ['time', 'Inertia2.phi', 'Inertia2.w', 'bearingFriction.mode', 'bearingFriction.startBackward', 'bearingFriction.startForward', 'gear.mode'] 0.31805140199139714 0.334182131 0.040787507 Calling exit ...