Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.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.001687/0.001687, allocations: 99.64 kB / 21.25 MB, free: 424 kB / 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.001859/0.001859, allocations: 214.5 kB / 24.55 MB, free: 3.719 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.595/1.595, allocations: 230.5 MB / 258.2 MB, free: 7.73 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.LossyGearDemo3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Inertia2.phi|Inertia2.w|gear.mode",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3") translateModel(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Inertia2.phi|Inertia2.w|gear.mode",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.426e-05, allocations: 2.281 kB / 379 MB, free: 2.355 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3): time 0.004208/0.004232, allocations: 2.338 MB / 381.4 MB, free: 4 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.256/0.2602, allocations: 1.001 MB / 382.4 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002805/0.2605, allocations: 7.812 kB / 382.4 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004817/0.261, allocations: 67.95 kB / 382.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007507/0.2618, allocations: 155.2 kB / 382.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006131/0.2624, allocations: 155.1 kB / 382.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006695/0.263, allocations: 463.9 kB / 383.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.2632, allocations: 57.73 kB / 383.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002942/0.2635, allocations: 203.2 kB / 383.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003458/0.2639, allocations: 198.8 kB / 383.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.495e-05/0.264, allocations: 33.72 kB / 383.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003306/0.2643, allocations: 120.2 kB / 383.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0006647/0.265, allocations: 0.68 MB / 384.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002404/0.2652, allocations: 353.9 kB / 384.8 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.589e-05/0.2653, allocations: 23.12 kB / 384.8 MB, free: 12.31 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.209e-05/0.2653, allocations: 13.12 kB / 384.8 MB, free: 12.3 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: 67 (64) * Number of variables: 67 (64) Notification: Performance of [SIM] Bindings: time 0.001926/0.2673, allocations: 1.514 MB / 386.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003245/0.2676, allocations: 218.4 kB / 386.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001335/0.2689, allocations: 1.062 MB / 387.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003811/0.2693, allocations: 227 kB / 387.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002245/0.2715, allocations: 1.255 MB / 389.1 MB, free: 9.82 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003208/0.2719, allocations: 208 kB / 389.3 MB, free: 9.691 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001412/0.272, allocations: 118.4 kB / 389.4 MB, free: 9.59 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0004936/0.2725, allocations: 300.1 kB / 389.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0003169/0.2728, allocations: 158.1 kB / 389.9 MB, free: 9.266 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0006978/0.2735, allocations: 459 kB / 390.3 MB, free: 9.074 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_56) [----] if gear.ideal then [----] [ARRY] (4) gear.interpolation_result = {{1.0, 1.0, 0.0, 0.0}} ($RES_SIM_57) [----] else [----] [FOR-] (4) ($RES_SIM_58) [----] [----] 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_59) [----] [----] end for; [----] end if; " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.717717047955375] Failed to read output from testmodel.py, exit status != 0: ['time', 'Inertia2.phi', 'Inertia2.w', 'gear.mode'] 0.28620641003362834 0.29993408800000004 0.032111346 Calling exit ...