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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 109.6 kB / 18.37 MB, free: 3.926 MB / 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.001307/0.001307, allocations: 192.4 kB / 21.55 MB, free: 0.7539 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.334/1.334, allocations: 225.6 MB / 250.2 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.0548/0.0548, allocations: 12.17 MB / 317.4 MB, free: 15.86 MB / 254.1 MB " [Timeout remaining time 180] 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=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 71.88 kB / 442.9 MB, free: 4.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2651, allocations: 55.17 MB / 498 MB, free: 24.11 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick): time 0.003487/0.2686, allocations: 2.362 MB / 0.4887 GB, free: 22.28 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002551/0.2689, allocations: 141.5 kB / 0.4888 GB, free: 22.17 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.187e-05/0.269, allocations: 5.344 kB / 0.4888 GB, free: 22.17 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.2691, allocations: 31.34 kB / 0.4889 GB, free: 22.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.2692, allocations: 14.41 kB / 0.4889 GB, free: 22.13 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.2694, allocations: 51.05 kB / 0.4889 GB, free: 22.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.2696, allocations: 71.81 kB / 0.489 GB, free: 22.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.2697, allocations: 13.84 kB / 0.489 GB, free: 22.04 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.862e-05/0.2697, allocations: 26.2 kB / 0.489 GB, free: 22.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.2698, allocations: 50.62 kB / 0.4891 GB, free: 21.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.2699, allocations: 5.875 kB / 0.4891 GB, free: 21.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.157e-05/0.2699, allocations: 32.59 kB / 0.4891 GB, free: 21.97 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.725e-05/0.27, allocations: 45.38 kB / 0.4891 GB, free: 21.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.578e-05/0.2701, allocations: 68.31 kB / 0.4892 GB, free: 21.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.2703, allocations: 193.8 kB / 0.4894 GB, free: 21.76 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2703, allocations: 0 / 0.4894 GB, free: 21.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2703, allocations: 0 / 0.4894 GB, free: 21.76 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.2703, allocations: 1.031 kB / 0.4894 GB, free: 21.76 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.0006097/0.2709, allocations: 0.5115 MB / 0.4899 GB, free: 21.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.271, allocations: 10.06 kB / 0.4899 GB, free: 21.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.555e-05/0.271, allocations: 31.23 kB / 0.4899 GB, free: 21.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.2713, allocations: 209.7 kB / 0.4901 GB, free: 20.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.2713, allocations: 3.75 kB / 0.4901 GB, free: 20.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.2713, allocations: 9.812 kB / 0.4902 GB, free: 20.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006474/0.272, allocations: 0.5613 MB / 0.4907 GB, free: 20.67 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.272, allocations: 1.344 kB / 0.4907 GB, free: 20.67 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.272, allocations: 9.094 kB / 0.4907 GB, free: 20.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.272, allocations: 2.375 kB / 0.4907 GB, free: 20.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.2722, allocations: 145.1 kB / 0.4909 GB, free: 20.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003556/0.2725, allocations: 336.5 kB / 0.4912 GB, free: 20.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.2728, allocations: 294.7 kB / 0.4915 GB, free: 20.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.273, allocations: 135 kB / 0.4916 GB, free: 19.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.273, allocations: 5.406 kB / 0.4916 GB, free: 19.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.273, allocations: 36.05 kB / 0.4916 GB, free: 19.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=50): time 1.413e-06/0.273, allocations: 0 / 0.4916 GB, free: 19.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.0006647/0.2737, allocations: 0.5665 MB / 0.4922 GB, free: 19.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.2737, allocations: 136.5 kB / 0.4923 GB, free: 19.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.2739, allocations: 169.9 kB / 0.4925 GB, free: 19.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.2739, allocations: 26.73 kB / 0.4925 GB, free: 19.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.2739, allocations: 96.94 kB / 0.4926 GB, free: 19.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.2739, allocations: 33.67 kB / 0.4926 GB, free: 19.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.212e-05/0.274, allocations: 82.84 kB / 0.4927 GB, free: 19.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.49e-05/0.2741, allocations: 345 kB / 0.493 GB, free: 18.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.2742, allocations: 74.52 kB / 0.4931 GB, free: 18.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.2744, allocations: 376.4 kB / 0.4935 GB, free: 18.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/0.2747, allocations: 0.5753 MB / 0.494 GB, free: 17.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.2747, allocations: 2.625 kB / 0.494 GB, free: 17.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005483/0.2752, allocations: 495.6 kB / 0.4945 GB, free: 17.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.789e-05/0.2753, allocations: 66.73 kB / 0.4946 GB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.2753, allocations: 11.03 kB / 0.4946 GB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/0.2753, allocations: 18.03 kB / 0.4946 GB, free: 17.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.2755, allocations: 89.47 kB / 0.4947 GB, free: 17.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.795e-05/0.2756, allocations: 21.23 kB / 0.4947 GB, free: 17.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.2758, allocations: 35.72 kB / 0.4947 GB, free: 17.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.2759, allocations: 28.88 kB / 0.4947 GB, free: 17.21 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.0001679/0.276, allocations: 267.5 kB / 0.495 GB, free: 16.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003031/0.2763, allocations: 306.7 kB / 0.4953 GB, free: 16.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.723e-05/0.2764, allocations: 17.88 kB / 0.4953 GB, free: 16.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.2764, allocations: 2.25 kB / 0.4953 GB, free: 16.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2764, allocations: 0 / 0.4953 GB, free: 16.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.2764, allocations: 5.109 kB / 0.4953 GB, free: 16.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.2766, allocations: 228.1 kB / 0.4955 GB, free: 16.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.2766, allocations: 4 kB / 0.4955 GB, free: 16.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.522e-05/0.2767, allocations: 26.52 kB / 0.4956 GB, free: 16.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2767, allocations: 1.219 kB / 0.4956 GB, free: 16.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.2767, allocations: 3.281 kB / 0.4956 GB, free: 16.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2767, allocations: 1 kB / 0.4956 GB, free: 16.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2767, allocations: 0 / 0.4956 GB, free: 16.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004302/0.2771, allocations: 0.5091 MB / 0.4961 GB, free: 16.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.382e-05/0.2772, allocations: 103.5 kB / 0.4962 GB, free: 16.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.2772, allocations: 10.62 kB / 0.4962 GB, free: 16.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.003e-05/0.2773, allocations: 2.625 kB / 0.4962 GB, free: 16.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.2773, allocations: 10.3 kB / 0.4962 GB, free: 16.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.2773, allocations: 3.781 kB / 0.4962 GB, free: 16.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.552e-05/0.2774, allocations: 109.9 kB / 0.4963 GB, free: 15.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2774, allocations: 192 / 0.4963 GB, free: 15.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003919/0.2778, allocations: 44.45 kB / 0.4963 GB, free: 15.94 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.0007555/0.2785, allocations: 318.1 kB / 0.4966 GB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004613/0.279, allocations: 416.8 kB / 0.497 GB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.279, allocations: 3.938 kB / 0.497 GB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.369e-05/0.279, allocations: 120.9 kB / 0.4972 GB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005139/0.2796, allocations: 253.3 kB / 0.4974 GB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005855/0.2801, allocations: 467.1 kB / 0.4978 GB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001885/0.2803, allocations: 0.7805 MB / 0.4986 GB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.659e-05/0.2804, allocations: 29.84 kB / 0.4986 GB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.2804, allocations: 20.59 kB / 0.4987 GB, free: 14.17 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2804, allocations: 0 / 0.4987 GB, free: 14.17 MB / 366.1 MB Notification: Performance of Templates: time 0.005664/0.2861, allocations: 2.499 MB / 0.5011 GB, free: 12.89 MB / 366.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] [Calling os._exit(0), Time elapsed: 4.262695438228548]