Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.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.001592/0.001592, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.002005/0.002005, allocations: 207.2 kB / 24.54 MB, free: 3.727 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.646/1.646, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.LossyGearDemo3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Inertia2.phi|Inertia2.w|gear.mode",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.324e-05/3.324e-05, allocations: 2.281 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3): time 0.004563/0.004596, allocations: 2.332 MB / 381.4 MB, free: 152 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3049/0.3095, allocations: 0.9979 MB / 382.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003083/0.3098, allocations: 5.25 kB / 382.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005471/0.3103, allocations: 63.58 kB / 382.4 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007304/0.3111, allocations: 152.5 kB / 382.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006991/0.3118, allocations: 165.6 kB / 382.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009541/0.3127, allocations: 466.7 kB / 383.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002261/0.3129, allocations: 52.17 kB / 383.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000391/0.3133, allocations: 193.8 kB / 383.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006663/0.314, allocations: 201.8 kB / 383.6 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002276/0.3142, allocations: 33.56 kB / 383.7 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000519/0.3147, allocations: 120.2 kB / 383.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001133/0.3159, allocations: 0.6797 MB / 384.5 MB, free: 12.58 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003686/0.3162, allocations: 353.7 kB / 384.8 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.378e-05/0.3163, allocations: 23.38 kB / 384.8 MB, free: 12.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.928e-05/0.3164, allocations: 13.67 kB / 384.9 MB, free: 12.37 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.00257/0.319, allocations: 1.52 MB / 386.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0005483/0.3195, allocations: 213 kB / 386.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.002131/0.3217, allocations: 1.061 MB / 387.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0006667/0.3223, allocations: 227.9 kB / 387.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.003119/0.3254, allocations: 1.253 MB / 389.1 MB, free: 9.945 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003703/0.3258, allocations: 211.9 kB / 389.3 MB, free: 9.816 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002271/0.326, allocations: 124.5 kB / 389.4 MB, free: 9.715 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0007097/0.3267, allocations: 301.2 kB / 389.7 MB, free: 9.488 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0003914/0.3271, allocations: 158.5 kB / 389.9 MB, free: 9.402 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0008219/0.328, allocations: 462.6 kB / 390.3 MB, free: 9.211 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.8682291919831187] Failed to read output from testmodel.py, exit status != 0: ['time', 'Inertia2.phi', 'Inertia2.w', 'gear.mode'] 0.3433507079607807 0.36115955099999997 0.04168113199999994 Calling exit ...