Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.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.001688/0.001688, 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.001611/0.001611, 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.66/1.66, 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.LossyGearDemo1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|Inertia2.phi|Inertia2.w|gear.mode",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1") translateModel(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|Inertia2.phi|Inertia2.w|gear.mode",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.725e-05/3.725e-05, allocations: 2.281 kB / 379 MB, free: 2.559 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1): time 0.005774/0.005811, allocations: 2.406 MB / 381.4 MB, free: 144 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2839/0.2897, allocations: 1.085 MB / 382.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002597/0.29, allocations: 8 kB / 382.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004369/0.2904, allocations: 68.81 kB / 382.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008049/0.2912, allocations: 175 kB / 382.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00059/0.2918, allocations: 183.6 kB / 382.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008438/0.2927, allocations: 0.5239 MB / 383.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002655/0.2929, allocations: 70.02 kB / 383.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005426/0.2935, allocations: 228.9 kB / 383.8 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004626/0.2939, allocations: 224.8 kB / 384 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.294, allocations: 39.41 kB / 384 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003905/0.2944, allocations: 136.9 kB / 384.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0009438/0.2954, allocations: 0.7792 MB / 384.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003307/0.2957, allocations: 403.9 kB / 385.3 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.527e-05/0.2958, allocations: 27.06 kB / 385.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.086e-05/0.2959, allocations: 10.31 kB / 385.4 MB, free: 12.17 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: 76 (73) * Number of variables: 76 (73) Notification: Performance of [SIM] Bindings: time 0.002096/0.298, allocations: 1.737 MB / 387.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003323/0.2983, allocations: 239.2 kB / 387.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001368/0.2997, allocations: 1.231 MB / 388.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004016/0.3001, allocations: 258.3 kB / 388.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.00227/0.3023, allocations: 1.414 MB / 390.2 MB, free: 9.379 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003319/0.3027, allocations: 236.5 kB / 390.5 MB, free: 9.25 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001385/0.3028, allocations: 127 kB / 390.6 MB, free: 9.148 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0005189/0.3033, allocations: 317.7 kB / 390.9 MB, free: 8.91 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0003565/0.3037, allocations: 187 kB / 391.1 MB, free: 8.805 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0007772/0.3044, allocations: 0.4972 MB / 391.6 MB, free: 8.59 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_54) [----] if gear.ideal then [----] [ARRY] (4) gear.interpolation_result = {{1.0, 1.0, 0.0, 0.0}} ($RES_SIM_55) [----] else [----] [FOR-] (4) ($RES_SIM_56) [----] [----] 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_57) [----] [----] end for; [----] end if; " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.864090721006505] Failed to read output from testmodel.py, exit status != 0: ['time', 'Inertia2.phi', 'Inertia2.w', 'gear.mode'] 0.32011346000945196 0.33270248700000005 0.034175768 Calling exit ...