Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 102.4 kB / 18.95 MB, free: 3.523 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 193.9 kB / 22.1 MB, free: 384 kB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 225.6 MB / 250.7 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.0601/0.0601, allocations: 12.18 MB / 318 MB, free: 13.33 MB / 254.1 MB [Timeout remaining time 90] Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) 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_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 64.14 kB / 443.3 MB, free: 5.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1041, allocations: 55.17 MB / 498.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick): time 0.004057/0.1082, allocations: 2.342 MB / 0.4891 GB, free: 11.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002861/0.1085, allocations: 135.5 kB / 0.4892 GB, free: 11.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.251e-05/0.1086, allocations: 7.938 kB / 0.4892 GB, free: 11.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001848/0.1088, allocations: 23.84 kB / 0.4892 GB, free: 11.65 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.1089, allocations: 11.88 kB / 0.4892 GB, free: 11.64 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.1091, allocations: 42.39 kB / 0.4893 GB, free: 11.6 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.1093, allocations: 83.77 kB / 0.4893 GB, free: 11.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.1094, allocations: 20.2 kB / 0.4894 GB, free: 11.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.745e-05/0.1095, allocations: 27.86 kB / 0.4894 GB, free: 11.47 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.1096, allocations: 43.83 kB / 0.4894 GB, free: 11.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.1096, allocations: 4 kB / 0.4894 GB, free: 11.42 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.683e-05/0.1097, allocations: 35.98 kB / 0.4895 GB, free: 11.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.532e-05/0.1098, allocations: 43.84 kB / 0.4895 GB, free: 11.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.968e-05/0.1099, allocations: 67.42 kB / 0.4896 GB, free: 11.28 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.1102, allocations: 190.9 kB / 0.4898 GB, free: 11.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1102, allocations: 0 / 0.4898 GB, free: 11.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1102, allocations: 0 / 0.4898 GB, free: 11.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1102, allocations: 4 kB / 0.4898 GB, free: 11.09 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0008079/0.111, allocations: 0.5213 MB / 0.4903 GB, free: 10.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.111, allocations: 8.031 kB / 0.4903 GB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.35e-05/0.1111, allocations: 28.69 kB / 0.4903 GB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.1114, allocations: 208.1 kB / 0.4905 GB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.1114, allocations: 12.38 kB / 0.4905 GB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.1114, allocations: 20.3 kB / 0.4905 GB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007623/0.1122, allocations: 0.546 MB / 0.4911 GB, free: 9.617 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.1122, allocations: 192 / 0.4911 GB, free: 9.617 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.1122, allocations: 7.938 kB / 0.4911 GB, free: 9.609 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1122, allocations: 0 / 0.4911 GB, free: 9.609 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.1124, allocations: 144.3 kB / 0.4912 GB, free: 9.469 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.1129, allocations: 341.9 kB / 0.4915 GB, free: 9.082 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004011/0.1133, allocations: 298.9 kB / 0.4918 GB, free: 8.754 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.1135, allocations: 126.6 kB / 0.4919 GB, free: 8.625 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.1135, allocations: 4 kB / 0.4919 GB, free: 8.621 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.1136, allocations: 34.56 kB / 0.492 GB, free: 8.578 MB / 366.1 MB Notification: Performance of pre-optimization done (n=50): time 1.372e-06/0.1136, allocations: 0 / 0.492 GB, free: 8.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.0007854/0.1144, allocations: 0.5627 MB / 0.4925 GB, free: 8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.573e-05/0.1145, allocations: 137.4 kB / 0.4927 GB, free: 7.832 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.1146, allocations: 168.8 kB / 0.4928 GB, free: 7.656 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.1146, allocations: 29.7 kB / 0.4929 GB, free: 7.621 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.176e-05/0.1147, allocations: 101.1 kB / 0.4929 GB, free: 7.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.1148, allocations: 35.86 kB / 0.493 GB, free: 7.484 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.86e-05/0.1149, allocations: 82.12 kB / 0.4931 GB, free: 7.398 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.115, allocations: 338.8 kB / 0.4934 GB, free: 7.059 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.1151, allocations: 72.83 kB / 0.4935 GB, free: 6.988 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/0.1155, allocations: 376.1 kB / 0.4938 GB, free: 6.473 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005864/0.1161, allocations: 0.5783 MB / 0.4944 GB, free: 5.719 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.1161, allocations: 7.938 kB / 0.4944 GB, free: 5.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007113/0.1168, allocations: 492.7 kB / 0.4949 GB, free: 5.211 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.627e-05/0.1169, allocations: 63.39 kB / 0.4949 GB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.1169, allocations: 12 kB / 0.4949 GB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/0.1169, allocations: 16 kB / 0.4949 GB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.1171, allocations: 84.5 kB / 0.495 GB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.501e-05/0.1172, allocations: 23.92 kB / 0.495 GB, free: 5.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.1173, allocations: 43.88 kB / 0.4951 GB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.1173, allocations: 39.81 kB / 0.4951 GB, free: 4.922 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 33 (synchronizeRealtime.initialized,joystickInput.buttons[32],joystickInput.buttons[31],joystickInput.buttons[30],joystickInput.buttons[29],joystickInput.buttons[28],joystickInput.buttons[27],joystickInput.buttons[26],joystickInput.buttons[25],joystickInput.buttons[24],joystickInput.buttons[23],joystickInput.buttons[22],joystickInput.buttons[21],joystickInput.buttons[20],joystickInput.buttons[19],joystickInput.buttons[18],joystickInput.buttons[17],joystickInput.buttons[16],joystickInput.buttons[15],joystickInput.buttons[14],joystickInput.buttons[13],joystickInput.buttons[12],joystickInput.buttons[11],joystickInput.buttons[10],joystickInput.buttons[9],joystickInput.buttons[8],joystickInput.buttons[7],joystickInput.buttons[6],joystickInput.buttons[5],joystickInput.buttons[4],joystickInput.buttons[3],joystickInput.buttons[2],joystickInput.buttons[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002781/0.1176, allocations: 253 kB / 0.4954 GB, free: 4.656 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004133/0.118, allocations: 311.3 kB / 0.4957 GB, free: 4.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.945e-05/0.1181, allocations: 18.62 kB / 0.4957 GB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1181, allocations: 0 / 0.4957 GB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.1181, allocations: 4 kB / 0.4957 GB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1181, allocations: 0 / 0.4957 GB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.1183, allocations: 237.2 kB / 0.4959 GB, free: 4.039 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/0.1183, allocations: 7.938 kB / 0.4959 GB, free: 4.031 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.273e-05/0.1184, allocations: 8 kB / 0.4959 GB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.1184, allocations: 4 kB / 0.4959 GB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.1184, allocations: 7.984 kB / 0.4959 GB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1184, allocations: 4 kB / 0.4959 GB, free: 4.008 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1184, allocations: 4 kB / 0.4959 GB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005626/0.119, allocations: 0.5023 MB / 0.4964 GB, free: 3.473 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.832e-05/0.1191, allocations: 112.8 kB / 0.4965 GB, free: 3.344 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.1191, allocations: 8 kB / 0.4966 GB, free: 3.336 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.988e-05/0.1192, allocations: 0 / 0.4966 GB, free: 3.336 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.1192, allocations: 4 kB / 0.4966 GB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.1192, allocations: 15.98 kB / 0.4966 GB, free: 3.316 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.97e-05/0.1193, allocations: 105.8 kB / 0.4967 GB, free: 3.215 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1193, allocations: 0 / 0.4967 GB, free: 3.215 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004041/0.1197, allocations: 39.94 kB / 0.4967 GB, free: 3.176 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 33 (synchronizeRealtime.initialized,joystickInput.buttons[1],joystickInput.buttons[2],joystickInput.buttons[3],joystickInput.buttons[4],joystickInput.buttons[5],joystickInput.buttons[6],joystickInput.buttons[7],joystickInput.buttons[8],joystickInput.buttons[9],joystickInput.buttons[10],joystickInput.buttons[11],joystickInput.buttons[12],joystickInput.buttons[13],joystickInput.buttons[14],joystickInput.buttons[15],joystickInput.buttons[16],joystickInput.buttons[17],joystickInput.buttons[18],joystickInput.buttons[19],joystickInput.buttons[20],joystickInput.buttons[21],joystickInput.buttons[22],joystickInput.buttons[23],joystickInput.buttons[24],joystickInput.buttons[25],joystickInput.buttons[26],joystickInput.buttons[27],joystickInput.buttons[28],joystickInput.buttons[29],joystickInput.buttons[30],joystickInput.buttons[31],joystickInput.buttons[32]) * Number of discrete states: 1 (synchronizeRealtime.initialized) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007963/0.1205, allocations: 320.2 kB / 0.497 GB, free: 2.938 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005339/0.121, allocations: 416.3 kB / 0.4974 GB, free: 2.504 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.121, allocations: 0 / 0.4974 GB, free: 2.504 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.667e-05/0.1211, allocations: 122.8 kB / 0.4975 GB, free: 2.359 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005405/0.1217, allocations: 253.3 kB / 0.4978 GB, free: 2.109 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007398/0.1224, allocations: 0.4955 MB / 0.4983 GB, free: 1.582 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004453/0.1228, allocations: 0.7831 MB / 0.499 GB, free: 0.7734 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.1229, allocations: 15.44 kB / 0.499 GB, free: 0.7578 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1229, allocations: 0 / 0.499 GB, free: 0.7578 MB / 366.1 MB Notification: Performance of Templates: time 0.005147/0.128, allocations: 2.775 MB / 0.5017 GB, free: 13.98 MB / 382.1 MB [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick.makefile [Timeout 660] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick.pipe 2>&1) [Timeout 480]