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.001255/0.001255, allocations: 117.3 kB / 17.85 MB, free: 5.074 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.001334/0.001334, allocations: 190.1 kB / 20.79 MB, free: 2.141 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.447/1.447, allocations: 225.6 MB / 249.2 MB, free: 3.621 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.05869/0.05869, allocations: 12.17 MB / 316.2 MB, free: 308 kB / 238.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.001839/0.001839, allocations: 63.89 kB / 440.7 MB, free: 6.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2669, allocations: 55.17 MB / 495.9 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick): time 0.00411/0.271, allocations: 2.298 MB / 498.2 MB, free: 14.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002847/0.2713, allocations: 131.5 kB / 498.3 MB, free: 14.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.364e-05/0.2714, allocations: 11.94 kB / 498.3 MB, free: 14.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.2716, allocations: 27.84 kB / 498.3 MB, free: 14.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.357e-05/0.2717, allocations: 11.88 kB / 498.3 MB, free: 14.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.2719, allocations: 47.88 kB / 498.4 MB, free: 14.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.272, allocations: 67.78 kB / 498.4 MB, free: 14.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.492e-05/0.2721, allocations: 20.2 kB / 498.5 MB, free: 14.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.752e-05/0.2722, allocations: 23.92 kB / 498.5 MB, free: 14.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.2723, allocations: 51.77 kB / 498.5 MB, free: 14.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.2723, allocations: 4 kB / 498.5 MB, free: 14.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.611e-05/0.2724, allocations: 31.98 kB / 498.6 MB, free: 14.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.581e-05/0.2725, allocations: 51.78 kB / 498.6 MB, free: 14.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.521e-05/0.2725, allocations: 67.48 kB / 498.7 MB, free: 14.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.2728, allocations: 181.2 kB / 498.9 MB, free: 13.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2728, allocations: 0 / 498.9 MB, free: 13.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2728, allocations: 3.938 kB / 498.9 MB, free: 13.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.2728, allocations: 0 / 498.9 MB, free: 13.96 MB / 398.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.0007521/0.2736, allocations: 0.5213 MB / 499.4 MB, free: 13.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.2736, allocations: 8.031 kB / 499.4 MB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.2737, allocations: 28.73 kB / 499.4 MB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.2739, allocations: 212.1 kB / 499.6 MB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.274, allocations: 4.375 kB / 499.6 MB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.274, allocations: 12.38 kB / 499.7 MB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007685/0.2747, allocations: 0.5568 MB / 0.4885 GB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.2748, allocations: 4.125 kB / 0.4885 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.2748, allocations: 11.94 kB / 0.4885 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.2748, allocations: 0 / 0.4885 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.275, allocations: 136.4 kB / 0.4886 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.2754, allocations: 337.9 kB / 0.489 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004073/0.2758, allocations: 302.9 kB / 0.4892 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.276, allocations: 130.6 kB / 0.4894 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.276, allocations: 3.938 kB / 0.4894 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.276, allocations: 42.55 kB / 0.4894 GB, free: 11.45 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 1.312e-06/0.276, allocations: 0 / 0.4894 GB, free: 11.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=50): time 0.0008023/0.2768, allocations: 0.5549 MB / 0.49 GB, free: 10.88 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.992e-05/0.2769, allocations: 141.3 kB / 0.4901 GB, free: 10.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.2771, allocations: 168.2 kB / 0.4902 GB, free: 10.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.2771, allocations: 25.7 kB / 0.4903 GB, free: 10.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.527e-05/0.2772, allocations: 97.09 kB / 0.4904 GB, free: 10.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.2772, allocations: 35.92 kB / 0.4904 GB, free: 10.37 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.2773, allocations: 86.16 kB / 0.4905 GB, free: 10.28 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.2775, allocations: 342.8 kB / 0.4908 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.2776, allocations: 68.83 kB / 0.4909 GB, free: 9.871 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003615/0.2779, allocations: 380.1 kB / 0.4912 GB, free: 9.348 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005614/0.2785, allocations: 0.5822 MB / 0.4918 GB, free: 8.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.2785, allocations: 4 kB / 0.4918 GB, free: 8.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000652/0.2792, allocations: 489.3 kB / 0.4923 GB, free: 8.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.283e-05/0.2792, allocations: 67.45 kB / 0.4923 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.2792, allocations: 12 kB / 0.4924 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.152e-05/0.2793, allocations: 20 kB / 0.4924 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.2795, allocations: 87.84 kB / 0.4925 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.342e-05/0.2795, allocations: 23.86 kB / 0.4925 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.2797, allocations: 35.78 kB / 0.4925 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.2797, allocations: 28 kB / 0.4925 GB, free: 7.809 MB / 398.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.0002342/0.2799, allocations: 269 kB / 0.4928 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000372/0.2803, allocations: 315.2 kB / 0.4931 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.269e-05/0.2804, allocations: 18.77 kB / 0.4931 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2804, allocations: 3.984 kB / 0.4931 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2804, allocations: 0 / 0.4931 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2804, allocations: 7.984 kB / 0.4931 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.2806, allocations: 233.3 kB / 0.4933 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.2806, allocations: 0 / 0.4933 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.623e-05/0.2807, allocations: 15.98 kB / 0.4934 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2807, allocations: 0 / 0.4934 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.2807, allocations: 4 kB / 0.4934 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2807, allocations: 0 / 0.4934 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2807, allocations: 0 / 0.4934 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005776/0.2813, allocations: 0.5216 MB / 0.4939 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.976e-05/0.2813, allocations: 100.9 kB / 0.494 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.2814, allocations: 4 kB / 0.494 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.168e-05/0.2814, allocations: 0 / 0.494 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.2815, allocations: 11.98 kB / 0.494 GB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.2815, allocations: 4 kB / 0.494 GB, free: 6.199 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.437e-05/0.2816, allocations: 105 kB / 0.4941 GB, free: 6.098 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2816, allocations: 0 / 0.4941 GB, free: 6.098 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000388/0.2819, allocations: 47.92 kB / 0.4941 GB, free: 6.051 MB / 398.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.0007633/0.2827, allocations: 323 kB / 0.4944 GB, free: 5.812 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005228/0.2832, allocations: 415.3 kB / 0.4948 GB, free: 5.387 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2832, allocations: 0 / 0.4948 GB, free: 5.387 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.7e-05/0.2833, allocations: 118.8 kB / 0.495 GB, free: 5.246 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005328/0.2839, allocations: 249.8 kB / 0.4952 GB, free: 5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006968/0.2846, allocations: 0.4936 MB / 0.4957 GB, free: 4.473 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.285, allocations: 0.7717 MB / 0.4964 GB, free: 3.676 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.285, allocations: 15.44 kB / 0.4964 GB, free: 3.66 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.285, allocations: 3.938 kB / 0.4964 GB, free: 3.656 MB / 398.1 MB Notification: Performance of Templates: time 0.004944/0.2899, allocations: 2.781 MB / 0.4992 GB, free: 0.8711 MB / 398.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: 6.985775378067046] Failed to read output from testmodel.py, exit status != 0: 0.2972284040879458 0.309693747 0.034184828 Calling exit ...