Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.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.001936/0.001936, 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.001944/0.001944, 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.682/1.682, allocations: 230.5 MB / 258.2 MB, free: 7.723 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.LossyGearDemo1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|Inertia2.phi|Inertia2.w|gear.mode",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.873e-05/2.873e-05, allocations: 4.109 kB / 379 MB, free: 2.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1): time 0.2842/0.2842, allocations: 2.4 MB / 381.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002609/0.2868, allocations: 1.096 MB / 382.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000193/0.287, allocations: 3.812 kB / 382.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003385/0.2873, allocations: 66.36 kB / 382.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000709/0.288, allocations: 176.6 kB / 382.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006264/0.2887, allocations: 183.1 kB / 382.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008726/0.2895, allocations: 0.5273 MB / 383.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002274/0.2898, allocations: 70.91 kB / 383.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000465/0.2902, allocations: 235.8 kB / 383.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004236/0.2907, allocations: 226 kB / 384 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.727e-05/0.2908, allocations: 38.94 kB / 384 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003619/0.2911, allocations: 126.7 kB / 384.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0007549/0.2919, allocations: 0.7798 MB / 384.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000289/0.2922, allocations: 405.7 kB / 385.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.81e-05/0.2922, allocations: 26.5 kB / 385.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.515e-05/0.2923, allocations: 14.06 kB / 385.4 MB, free: 12.15 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.002161/0.2945, allocations: 1.733 MB / 387.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003281/0.2948, allocations: 241.8 kB / 387.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001419/0.2962, allocations: 1.233 MB / 388.6 MB, free: 10.13 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004154/0.2966, allocations: 251.7 kB / 388.8 MB, free: 9.98 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002275/0.2989, allocations: 1.411 MB / 390.2 MB, free: 9.203 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003327/0.2992, allocations: 233.2 kB / 390.4 MB, free: 9.062 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001461/0.2994, allocations: 127.5 kB / 390.6 MB, free: 8.957 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0004777/0.2999, allocations: 329.9 kB / 390.9 MB, free: 8.707 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.000331/0.3002, allocations: 170.7 kB / 391.1 MB, free: 8.613 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0007439/0.3009, allocations: 0.5013 MB / 391.6 MB, free: 8.398 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.893777012010105] Failed to read output from testmodel.py, exit status != 0: ['time', 'Inertia2.phi', 'Inertia2.w', 'gear.mode'] 0.31422817701241 0.32805124499999994 0.03283955199999994 Calling exit ...