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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 109.6 kB / 17.14 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001775/0.001776, allocations: 190.1 kB / 18.06 MB, free: 5.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 222.9 MB / 241.8 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.0561/0.0561, allocations: 12.06 MB / 304 MB, free: 3.09 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 63.91 kB / 420.7 MB, free: 17.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07249/0.07367, allocations: 52.31 MB / 473.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick): time 0.003404/0.0771, allocations: 2.286 MB / 475.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002639/0.07739, allocations: 127.5 kB / 475.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.085e-05/0.07747, allocations: 0 / 475.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001565/0.07763, allocations: 31.8 kB / 475.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.361e-05/0.07774, allocations: 11.92 kB / 475.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.07795, allocations: 51.2 kB / 475.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.07809, allocations: 71.77 kB / 475.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.742e-05/0.07819, allocations: 28.2 kB / 475.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.858e-05/0.07825, allocations: 31.84 kB / 475.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.07836, allocations: 39.84 kB / 475.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.0784, allocations: 8 kB / 475.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.754e-05/0.07848, allocations: 35.92 kB / 475.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.581e-05/0.07855, allocations: 43.84 kB / 475.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.321e-05/0.07863, allocations: 75.41 kB / 475.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.07887, allocations: 175.3 kB / 476.1 MB, free: 9.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.07888, allocations: 0 / 476.1 MB, free: 9.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.07889, allocations: 0 / 476.1 MB, free: 9.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.0789, allocations: 0 / 476.1 MB, free: 9.836 MB / 350.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.0006223/0.07953, allocations: 0.5216 MB / 476.6 MB, free: 9.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.07957, allocations: 8.031 kB / 476.6 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.22e-05/0.07963, allocations: 20.66 kB / 476.6 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.07989, allocations: 219.9 kB / 476.8 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.07992, allocations: 16.36 kB / 476.8 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.07994, allocations: 8.375 kB / 476.8 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006338/0.08058, allocations: 0.5576 MB / 477.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.0806, allocations: 192 / 477.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.08062, allocations: 7.938 kB / 477.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.08063, allocations: 4 kB / 477.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.08082, allocations: 132.4 kB / 477.5 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.08122, allocations: 349.7 kB / 477.9 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000361/0.08159, allocations: 335 kB / 478.2 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.08177, allocations: 174.6 kB / 478.4 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.08181, allocations: 4 kB / 478.4 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.08184, allocations: 30.56 kB / 478.4 MB, free: 7.246 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 1.713e-06/0.08184, allocations: 0 / 478.4 MB, free: 7.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.0006699/0.08252, allocations: 0.5588 MB / 479 MB, free: 6.672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.08258, allocations: 136.5 kB / 479.1 MB, free: 6.508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.08272, allocations: 162 kB / 479.3 MB, free: 6.336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.08275, allocations: 29.7 kB / 479.3 MB, free: 6.301 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.034e-05/0.08281, allocations: 101 kB / 479.4 MB, free: 6.199 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.08285, allocations: 27.88 kB / 479.4 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.212e-05/0.08295, allocations: 90.12 kB / 479.5 MB, free: 6.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.08307, allocations: 330.8 kB / 479.8 MB, free: 5.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.08319, allocations: 76.83 kB / 479.9 MB, free: 5.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002771/0.08348, allocations: 376.1 kB / 480.3 MB, free: 5.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004859/0.08397, allocations: 0.586 MB / 480.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.08398, allocations: 7.938 kB / 480.9 MB, free: 4.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006363/0.08463, allocations: 484.6 kB / 481.3 MB, free: 3.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.361e-05/0.08468, allocations: 67.41 kB / 481.4 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.0847, allocations: 15.98 kB / 481.4 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.08472, allocations: 12 kB / 481.4 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.08495, allocations: 91.83 kB / 481.5 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.05e-05/0.08498, allocations: 20.44 kB / 481.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.08515, allocations: 39.69 kB / 481.6 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.08519, allocations: 35.98 kB / 481.6 MB, free: 3.602 MB / 350.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 (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],synchronizeRealtime.initialized) * 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.0001988/0.08539, allocations: 256.9 kB / 481.9 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.795e-05/0.08545, allocations: 23.72 kB / 481.9 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.612e-05/0.0855, allocations: 14.72 kB / 481.9 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.08551, allocations: 3.938 kB / 481.9 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.08552, allocations: 4 kB / 481.9 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.08558, allocations: 96.8 kB / 482 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.08561, allocations: 11.98 kB / 482 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-05/0.0857, allocations: 4 kB / 482 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.08573, allocations: 7.938 kB / 482 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005554/0.08629, allocations: 0.6511 MB / 482.7 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005189/0.08682, allocations: 0.6316 MB / 483.3 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001642/0.087, allocations: 168.4 kB / 483.5 MB, free: 1.629 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.063e-05/0.08708, allocations: 110 kB / 483.6 MB, free: 1.523 MB / 350.1 MB Notification: Performance of Backend: time 4.5e-07/0.08708, allocations: 0 / 483.6 MB, free: 1.523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.08822, allocations: 0.5625 MB / 484.1 MB, free: 1.02 MB / 350.1 MB Notification: Performance of SimCode: time 0.0007215/0.08896, allocations: 0.9559 MB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of Templates: time 0.004919/0.09389, allocations: 2.091 MB / 487.2 MB, free: 13.9 MB / 366.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick.makefile (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)