Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001986/0.001986, allocations: 111 kB / 21.99 MB, free: 4.602 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.002257/0.002257, allocations: 210 kB / 25.3 MB, free: 2.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.837/1.837, allocations: 207.7 MB / 236.2 MB, free: 9.773 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.278e-05/3.278e-05, allocations: 2.281 kB / 348.5 MB, free: 9.395 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1): time 0.004593/0.004626, allocations: 2.287 MB / 350.8 MB, free: 7.086 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.00667, allocations: 0.9724 MB / 351.8 MB, free: 6.105 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.006797, allocations: 7.938 kB / 351.8 MB, free: 6.098 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.007031, allocations: 47.52 kB / 351.8 MB, free: 6.051 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005475/0.007578, allocations: 167 kB / 352 MB, free: 5.887 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003712/0.007949, allocations: 183.6 kB / 352.2 MB, free: 5.707 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005666/0.008516, allocations: 0.5063 MB / 352.7 MB, free: 5.199 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.008724, allocations: 61.08 kB / 352.7 MB, free: 5.145 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003241/0.009048, allocations: 215.3 kB / 352.9 MB, free: 4.934 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003291/0.009377, allocations: 219.2 kB / 353.2 MB, free: 4.719 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.081e-05/0.009468, allocations: 36 kB / 353.2 MB, free: 4.684 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002625/0.00973, allocations: 135.8 kB / 353.3 MB, free: 4.551 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0007722/0.0105, allocations: 0.7126 MB / 354 MB, free: 3.832 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003262/0.01083, allocations: 386.9 kB / 354.4 MB, free: 3.449 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.078e-05/0.01089, allocations: 28 kB / 354.4 MB, free: 3.422 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.157e-05/0.01094, allocations: 11.94 kB / 354.5 MB, free: 3.41 MB / 286.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.002144/0.01309, allocations: 1.683 MB / 356.1 MB, free: 1.594 MB / 286.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003395/0.01343, allocations: 245 kB / 356.4 MB, free: 1.344 MB / 286.1 MB Notification: Performance of [SIM] Early Inline: time 0.00148/0.0149, allocations: 1.257 MB / 357.6 MB, free: 60 kB / 286.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004236/0.01533, allocations: 256.2 kB / 357.9 MB, free: 15.76 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.00234/0.01767, allocations: 1.41 MB / 359.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003328/0.018, allocations: 230.6 kB / 359.5 MB, free: 13.96 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001595/0.01816, allocations: 128.1 kB / 359.6 MB, free: 13.81 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0005033/0.01866, allocations: 343 kB / 360 MB, free: 13.42 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002827/0.01895, allocations: 158.2 kB / 360.1 MB, free: 13.26 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0006123/0.01956, allocations: 497.5 kB / 360.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.00422/0.02378, allocations: 2.887 MB / 363.5 MB, free: 9.773 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001015/0.02479, allocations: 0.9951 MB / 364.5 MB, free: 8.777 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001458/0.02625, allocations: 0.7186 MB / 365.2 MB, free: 7.992 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.002099/0.02835, allocations: 1.705 MB / 366.9 MB, free: 6.277 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 6.248e-05/0.02841, allocations: 36 kB / 367 MB, free: 6.238 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0002608/0.02868, allocations: 255.7 kB / 367.2 MB, free: 5.988 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.002402/0.03108, allocations: 1.535 MB / 368.7 MB, free: 4.438 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0006067/0.03168, allocations: 409.2 kB / 369.1 MB, free: 4.043 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 9.02e-07/0.03168, allocations: 0 / 369.1 MB, free: 4.043 MB / 302.1 MB Error: NBCausalize.checkSystemVariabilities failed. The following strong component has conflicting types: Real != Real[4] BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 4) ----------------------------------------------------------------------- ### Variable: Real $RES_SIM_54 ### Equation: [ARRY] (4) $RES_SIM_54 = (if gear.ideal then {{1.0, 1.0, 0.0, 0.0}} else {{Modelica.Math.Vectors.interpolate(gear.lossTable[:, 1], gear.lossTable[:, 2], noEvent(abs(gear.w_a)), 1)[1], Modelica.Math.Vectors.interpolate(gear.lossTable[:, 1], gear.lossTable[:, 3], noEvent(abs(gear.w_a)), 1)[1], Modelica.Math.Vectors.interpolate(gear.lossTable[:, 1], gear.lossTable[:, 4], noEvent(abs(gear.w_a)), 1)[1], Modelica.Math.Vectors.interpolate(gear.lossTable[:, 1], gear.lossTable[:, 5], noEvent(abs(gear.w_a)), 1)[1]}}) .- gear.interpolation_result ($RES_SIM_54) Error: Internal error NBDAEMode.main failed. Notification: Performance of [SIM] DAE-Mode: time 0.0008005/0.03248, allocations: 431.7 kB / 369.6 MB, free: 3.605 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.778e-06/0.03249, allocations: 8.219 kB / 369.6 MB, free: 3.598 MB / 302.1 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.7697286999900825] Failed to read output from testmodel.py, exit status != 0: ['time', 'Inertia2.phi', 'Inertia2.w', 'gear.mode'] 0.042181558965239674 0.058357655 0.044046868 Calling exit ...