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.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.0006583/0.0006583, allocations: 85.06 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008851/0.001543, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0007087/0.0007087, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009263/0.001635, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9053/0.9053, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07985/0.9851, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo): time 0.03503/0.03503, allocations: 9.163 MB / 253.3 MB, free: 6.008 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.005434/0.04047, allocations: 3.447 MB / 256.8 MB, free: 2.562 MB / 250.7 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_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 1.664e-06/1.664e-06, allocations: 0 / 258 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.154e-05/1.321e-05, allocations: 6.312 kB / 258.1 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick): time 0.002472/0.002486, allocations: 2.566 MB / 260.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002147/0.0027, allocations: 139.4 kB / 260.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.462e-05/0.002755, allocations: 3.938 kB / 260.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.517e-05/0.00284, allocations: 31.67 kB / 260.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.033e-05/0.002891, allocations: 11.92 kB / 260.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001368/0.003027, allocations: 47.77 kB / 260.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.003146, allocations: 79.77 kB / 260.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.233e-05/0.003219, allocations: 16.22 kB / 260.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.049e-05/0.003299, allocations: 47.83 kB / 261 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.932e-05/0.003399, allocations: 31.91 kB / 261 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.003422, allocations: 8 kB / 261 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.554e-05/0.003488, allocations: 35.86 kB / 261.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.763e-05/0.003535, allocations: 39.86 kB / 261.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.24e-05/0.003568, allocations: 23.88 kB / 261.1 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.003732, allocations: 139.4 kB / 261.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.00374, allocations: 0 / 261.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.003741, allocations: 3.984 kB / 261.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.003748, allocations: 4 kB / 261.3 MB, free: 14.02 MB / 266.7 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.000492/0.00424, allocations: 443 kB / 261.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.557e-05/0.004266, allocations: 8.625 kB / 261.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.004303, allocations: 16.92 kB / 261.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.004448, allocations: 157.4 kB / 261.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.004456, allocations: 8.375 kB / 261.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.00447, allocations: 16.38 kB / 261.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004075/0.004878, allocations: 404.1 kB / 262.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.004886, allocations: 192 / 262.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.004898, allocations: 384 / 262.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.004907, allocations: 4.375 kB / 262.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.129e-05/0.004988, allocations: 111.6 kB / 262.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002037/0.005192, allocations: 200.2 kB / 262.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.005354, allocations: 157.6 kB / 262.8 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.554e-05/0.005409, allocations: 106.2 kB / 262.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.005431, allocations: 0 / 262.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.005453, allocations: 42.53 kB / 262.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 1.633e-06/0.005454, allocations: 3.984 kB / 262.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=50): time 0.000406/0.00586, allocations: 458.8 kB / 263.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.005896, allocations: 86.11 kB / 263.4 MB, free: 11.6 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.659e-05/0.005972, allocations: 158.5 kB / 263.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.005983, allocations: 25.7 kB / 263.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.456e-05/0.006018, allocations: 97.06 kB / 263.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.006032, allocations: 15.94 kB / 263.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.006063, allocations: 29.69 kB / 263.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.086e-05/0.006124, allocations: 322.8 kB / 264.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.446e-05/0.006148, allocations: 59.41 kB / 264.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.262e-05/0.006181, allocations: 69.11 kB / 264.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.759e-05/0.006239, allocations: 140.4 kB / 264.3 MB, free: 10.6 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.00624, allocations: 4 kB / 264.3 MB, free: 10.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.96e-05/0.00632, allocations: 160.4 kB / 264.5 MB, free: 10.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/0.006354, allocations: 63.16 kB / 264.6 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.006358, allocations: 3.938 kB / 264.6 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.006367, allocations: 0 / 264.6 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.923e-05/0.006386, allocations: 8.062 kB / 264.6 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.006388, allocations: 0 / 264.6 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.04e-05/0.006409, allocations: 11.89 kB / 264.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.006416, allocations: 3.984 kB / 264.6 MB, free: 10.31 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (synchronizeRealtime.initialized) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * 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 7.325e-05/0.006489, allocations: 168.1 kB / 264.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.006614, allocations: 186.6 kB / 264.9 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.019e-05/0.006644, allocations: 22.56 kB / 265 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.006647, allocations: 3.984 kB / 265 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.006648, allocations: 0 / 265 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.006651, allocations: 0 / 265 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.881e-05/0.00674, allocations: 101.7 kB / 265.1 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.006746, allocations: 4 kB / 265.1 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.229e-05/0.006788, allocations: 19.98 kB / 265.1 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.524e-05/0.006803, allocations: 31.67 kB / 265.1 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.006806, allocations: 4 kB / 265.1 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.006813, allocations: 0 / 265.1 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.006815, allocations: 3.938 kB / 265.1 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.006816, allocations: 4 kB / 265.1 MB, free: 9.727 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.006922, allocations: 267 kB / 265.4 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.006937, allocations: 7.984 kB / 265.4 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.684e-05/0.006974, allocations: 4 kB / 265.4 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.698e-05/0.006991, allocations: 11.97 kB / 265.4 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.006999, allocations: 8 kB / 265.4 MB, free: 9.391 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.138e-05/0.00702, allocations: 27.75 kB / 265.4 MB, free: 9.363 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00702, allocations: 0 / 265.4 MB, free: 9.363 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001532/0.007174, allocations: 27.94 kB / 265.5 MB, free: 9.336 MB / 266.7 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.0006994/0.007873, allocations: 434 kB / 265.9 MB, free: 9.047 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.008033, allocations: 281.9 kB / 266.2 MB, free: 8.719 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.008039, allocations: 4 kB / 266.2 MB, free: 8.715 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.754e-05/0.008106, allocations: 187 kB / 266.4 MB, free: 8.492 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.008354, allocations: 153.5 kB / 266.5 MB, free: 8.336 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007019/0.009056, allocations: 414 kB / 266.9 MB, free: 7.891 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.742e-05/0.009123, allocations: 119.2 kB / 267 MB, free: 7.758 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.972e-05/0.009153, allocations: 7.984 kB / 267 MB, free: 7.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.772e-05/0.009221, allocations: 67.36 kB / 267.1 MB, free: 7.684 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.009221, allocations: 0 / 267.1 MB, free: 7.684 MB / 266.7 MB Notification: Performance of Templates: time 0.003418/0.01264, allocations: 2.079 MB / 269.2 MB, free: 5.605 MB / 266.7 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=240 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.250926351174712]