Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 104 kB / 21.25 MB, free: 416 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 187.5 kB / 24.53 MB, free: 3.742 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 225.7 MB / 253.4 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|Inertia2.phi|Inertia2.w|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|gear.mode",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2") translateModel(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|Inertia2.phi|Inertia2.w|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|gear.mode",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/2.84e-05, allocations: 9.031 kB / 371.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2): time 0.004442/0.00447, allocations: 2.549 MB / 374.3 MB, free: 6.613 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.006731, allocations: 1.053 MB / 375.3 MB, free: 5.555 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001597/0.006891, allocations: 15.88 kB / 375.3 MB, free: 5.539 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002896/0.007181, allocations: 67.42 kB / 375.4 MB, free: 5.473 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006298/0.007811, allocations: 194.3 kB / 375.6 MB, free: 5.285 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005697/0.00838, allocations: 259.5 kB / 375.8 MB, free: 5.031 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007704/0.009151, allocations: 0.6977 MB / 376.5 MB, free: 4.332 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.009371, allocations: 79.97 kB / 376.6 MB, free: 4.246 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004164/0.009788, allocations: 311.1 kB / 376.9 MB, free: 3.941 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000404/0.01019, allocations: 303 kB / 377.2 MB, free: 3.645 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.717e-05/0.01029, allocations: 52 kB / 377.3 MB, free: 3.594 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002833/0.01057, allocations: 139.8 kB / 377.4 MB, free: 3.457 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0009324/0.0115, allocations: 0.9644 MB / 378.4 MB, free: 2.484 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003774/0.01188, allocations: 0.4973 MB / 378.9 MB, free: 1.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.88e-05/0.01195, allocations: 36 kB / 378.9 MB, free: 1.945 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.384e-05/0.012, allocations: 12 kB / 378.9 MB, free: 1.934 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: 98 (95) * Number of variables: 98 (95) Notification: Performance of [SIM] Bindings: time 0.2044/0.2164, allocations: 2.157 MB / 381.1 MB, free: 15.56 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0005858/0.2169, allocations: 376.5 kB / 381.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001875/0.2188, allocations: 1.732 MB / 383.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005557/0.2194, allocations: 319.5 kB / 383.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002946/0.2223, allocations: 1.864 MB / 385.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000374/0.2227, allocations: 285.9 kB / 385.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001676/0.2229, allocations: 163.5 kB / 385.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0005556/0.2234, allocations: 450.6 kB / 386.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0003996/0.2238, allocations: 285.5 kB / 386.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0007931/0.2246, allocations: 0.6886 MB / 387.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.005446/0.2301, allocations: 3.834 MB / 391 MB, free: 12.56 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001504/0.2316, allocations: 1.433 MB / 392.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001499/0.2331, allocations: 0.8458 MB / 393.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001897/0.235, allocations: 2.359 MB / 395.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 7.64e-05/0.235, allocations: 44.88 kB / 395.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0002905/0.2353, allocations: 345.5 kB / 396 MB, free: 10.08 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.002911/0.2382, allocations: 2.111 MB / 398.2 MB, free: 9.414 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0006563/0.2389, allocations: 0.5401 MB / 398.7 MB, free: 9.191 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.593e-06/0.2389, allocations: 0 / 398.7 MB, free: 9.191 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_71 ### Equation: [ARRY] (4) $RES_SIM_71 = (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_71) Error: Internal error NBDAEMode.main failed. Notification: Performance of [SIM] DAE-Mode: time 0.0007599/0.2397, allocations: 0.4918 MB / 399.2 MB, free: 8.938 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.168e-06/0.2397, allocations: 1.562 kB / 399.2 MB, free: 8.938 MB / 302.1 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.6747662220150232] Failed to read output from testmodel.py, exit status != 0: ['time', 'Inertia2.phi', 'Inertia2.w', 'bearingFriction.mode', 'bearingFriction.startBackward', 'bearingFriction.startForward', 'gear.mode'] 0.2479857729631476 0.25833795600000004 0.24333172600000003 Calling exit ...