Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008867/0.0008867, allocations: 180.1 kB / 16.13 MB, free: 5.262 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.172/1.172, allocations: 225.7 MB / 242.6 MB, free: 8.445 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007492/0.0007492, allocations: 93.83 kB / 293.8 MB, free: 9.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0-master/package.mo): time 0.05186/0.05186, allocations: 12.24 MB / 357.1 MB, free: 10.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002846/0.0002847, allocations: 8 kB / 421.2 MB, free: 52.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06988/0.07017, allocations: 53.35 MB / 474.5 MB, free: 15.06 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick): time 0.002519/0.07272, allocations: 2.034 MB / 476.6 MB, free: 12.99 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002758/0.07301, allocations: 269.8 kB / 476.8 MB, free: 12.69 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.132e-05/0.07308, allocations: 4 kB / 476.9 MB, free: 12.69 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.07322, allocations: 27.84 kB / 476.9 MB, free: 12.66 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.713e-05/0.0733, allocations: 8 kB / 476.9 MB, free: 12.65 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.07349, allocations: 55.83 kB / 476.9 MB, free: 12.6 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.0736, allocations: 71.77 kB / 477 MB, free: 12.53 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.931e-05/0.0737, allocations: 32.12 kB / 477 MB, free: 12.49 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.753e-05/0.07374, allocations: 23.86 kB / 477.1 MB, free: 12.47 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.106e-05/0.07383, allocations: 35.84 kB / 477.1 MB, free: 12.43 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.07385, allocations: 4 kB / 477.1 MB, free: 12.43 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.109e-05/0.07392, allocations: 27.98 kB / 477.1 MB, free: 12.4 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.785e-05/0.07399, allocations: 43.84 kB / 477.2 MB, free: 12.36 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.884e-05/0.07408, allocations: 89.06 kB / 477.3 MB, free: 12.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.07429, allocations: 163.4 kB / 477.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.0743, allocations: 0 / 477.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.07431, allocations: 0 / 477.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.07431, allocations: 0 / 477.4 MB, free: 12.11 MB / 314.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.0005518/0.07487, allocations: 0.4909 MB / 477.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.07491, allocations: 8.031 kB / 477.9 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.07496, allocations: 24.66 kB / 477.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.07516, allocations: 212 kB / 478.1 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.07518, allocations: 4.375 kB / 478.2 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.07521, allocations: 8.375 kB / 478.2 MB, free: 11.26 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006229/0.07584, allocations: 0.5616 MB / 478.7 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.07585, allocations: 192 / 478.7 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.07588, allocations: 15.92 kB / 478.7 MB, free: 10.67 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.07589, allocations: 4 kB / 478.7 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.07605, allocations: 140.3 kB / 478.9 MB, free: 10.53 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.07641, allocations: 329.8 kB / 479.2 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/0.07678, allocations: 338.9 kB / 479.5 MB, free: 9.781 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.07694, allocations: 170.6 kB / 479.7 MB, free: 9.609 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.07698, allocations: 7.984 kB / 479.7 MB, free: 9.602 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.07701, allocations: 30.56 kB / 479.7 MB, free: 9.562 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 1.203e-06/0.07702, allocations: 0 / 479.7 MB, free: 9.562 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.0006313/0.07765, allocations: 0.5548 MB / 480.3 MB, free: 8.992 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.306e-05/0.07774, allocations: 141.4 kB / 480.4 MB, free: 8.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.07786, allocations: 157.7 kB / 480.6 MB, free: 8.656 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.07789, allocations: 25.7 kB / 480.6 MB, free: 8.625 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.009e-05/0.07794, allocations: 101 kB / 480.7 MB, free: 8.523 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.07798, allocations: 35.88 kB / 480.7 MB, free: 8.488 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.096e-05/0.078, allocations: 7.938 kB / 480.8 MB, free: 8.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.07811, allocations: 342.8 kB / 481.1 MB, free: 8.137 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.07822, allocations: 72.86 kB / 481.2 MB, free: 8.066 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.07849, allocations: 372.1 kB / 481.5 MB, free: 7.555 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004384/0.07893, allocations: 0.5744 MB / 482.1 MB, free: 6.805 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/0.07895, allocations: 4.094 kB / 482.1 MB, free: 6.801 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005564/0.07952, allocations: 496.2 kB / 482.6 MB, free: 6.297 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.106e-05/0.07957, allocations: 67.3 kB / 482.6 MB, free: 6.219 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.07958, allocations: 12.88 kB / 482.7 MB, free: 6.207 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.07961, allocations: 16 kB / 482.7 MB, free: 6.191 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.07983, allocations: 91.84 kB / 482.8 MB, free: 6.102 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.735e-05/0.07985, allocations: 19.92 kB / 482.8 MB, free: 6.082 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.08, allocations: 35.69 kB / 482.8 MB, free: 6.047 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.08003, allocations: 28 kB / 482.8 MB, free: 6.02 MB / 314.7 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.0002205/0.08026, allocations: 273 kB / 483.1 MB, free: 5.734 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000304/0.08057, allocations: 303.2 kB / 483.4 MB, free: 5.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.198e-05/0.08062, allocations: 18.62 kB / 483.4 MB, free: 5.418 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.08064, allocations: 4 kB / 483.4 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.08065, allocations: 0 / 483.4 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.08065, allocations: 7.922 kB / 483.4 MB, free: 5.406 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.08084, allocations: 225.2 kB / 483.7 MB, free: 5.137 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.08085, allocations: 4 kB / 483.7 MB, free: 5.133 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.409e-05/0.08092, allocations: 19.92 kB / 483.7 MB, free: 5.113 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.08093, allocations: 8 kB / 483.7 MB, free: 5.105 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.08095, allocations: 0 / 483.7 MB, free: 5.105 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.08095, allocations: 4 kB / 483.7 MB, free: 5.102 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.08096, allocations: 0 / 483.7 MB, free: 5.102 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004463/0.08141, allocations: 0.5021 MB / 484.2 MB, free: 4.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.303e-05/0.08147, allocations: 104.7 kB / 484.3 MB, free: 4.449 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.0815, allocations: 4 kB / 484.3 MB, free: 4.445 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.398e-05/0.08157, allocations: 4 kB / 484.3 MB, free: 4.441 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.08161, allocations: 15.92 kB / 484.3 MB, free: 4.426 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.08162, allocations: 4 kB / 484.3 MB, free: 4.422 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.403e-05/0.08169, allocations: 107.2 kB / 484.4 MB, free: 4.316 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.0817, allocations: 0 / 484.4 MB, free: 4.316 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003319/0.08203, allocations: 40 kB / 484.5 MB, free: 4.277 MB / 314.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.0005411/0.08258, allocations: 354.4 kB / 484.8 MB, free: 4.012 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004188/0.08301, allocations: 416.2 kB / 485.2 MB, free: 3.578 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.08302, allocations: 4.125 kB / 485.2 MB, free: 3.574 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.038e-05/0.08311, allocations: 130.7 kB / 485.4 MB, free: 3.422 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004917/0.08361, allocations: 290.4 kB / 485.6 MB, free: 3.133 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006684/0.08428, allocations: 0.5364 MB / 486.2 MB, free: 2.566 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.08458, allocations: 0.7759 MB / 487 MB, free: 1.766 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.372e-05/0.08466, allocations: 29.53 kB / 487 MB, free: 1.738 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/0.08469, allocations: 15.44 kB / 487 MB, free: 1.723 MB / 314.7 MB Notification: Performance of SimCode: time 2.2e-07/0.0847, allocations: 0 / 487 MB, free: 1.723 MB / 314.7 MB Notification: Performance of Templates: time 0.1434/0.2281, allocations: 2.281 MB / 489.3 MB, free: 21.95 MB / 314.7 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)