Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.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.TestInputSpaceMouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 169.6 kB / 16.12 MB, free: 5.691 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.219/1.219, allocations: 225.7 MB / 242.6 MB, free: 10.23 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.0007582/0.0007583, allocations: 92.56 kB / 293.8 MB, free: 9.727 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.05195/0.05195, allocations: 12.24 MB / 357.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002767/0.0002768, allocations: 8 kB / 421.2 MB, free: 52.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07213/0.07242, allocations: 53.35 MB / 474.6 MB, free: 15.07 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse): time 0.002339/0.0748, allocations: 1.995 MB / 476.5 MB, free: 13.05 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002825/0.0751, allocations: 281.9 kB / 476.8 MB, free: 12.74 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.335e-05/0.07516, allocations: 0 / 476.8 MB, free: 12.74 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.07532, allocations: 23.86 kB / 476.8 MB, free: 12.71 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.834e-05/0.07541, allocations: 7.984 kB / 476.9 MB, free: 12.71 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.0756, allocations: 43.84 kB / 476.9 MB, free: 12.66 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.951e-05/0.07571, allocations: 59.78 kB / 477 MB, free: 12.61 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.07582, allocations: 31.94 kB / 477 MB, free: 12.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.639e-05/0.07586, allocations: 23.86 kB / 477 MB, free: 12.55 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.419e-05/0.07591, allocations: 23.86 kB / 477 MB, free: 12.53 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.07594, allocations: 4 kB / 477 MB, free: 12.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.477e-05/0.076, allocations: 20 kB / 477.1 MB, free: 12.5 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.606e-05/0.07607, allocations: 31.91 kB / 477.1 MB, free: 12.47 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.019e-05/0.07615, allocations: 73.31 kB / 477.2 MB, free: 12.39 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.07631, allocations: 123.5 kB / 477.3 MB, free: 12.27 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.07632, allocations: 0 / 477.3 MB, free: 12.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.07633, allocations: 3.938 kB / 477.3 MB, free: 12.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.07634, allocations: 0 / 477.3 MB, free: 12.27 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0003772/0.07672, allocations: 462.8 kB / 477.7 MB, free: 11.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.07676, allocations: 11.97 kB / 477.7 MB, free: 11.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.0768, allocations: 16.75 kB / 477.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.077, allocations: 208 kB / 478 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.07702, allocations: 384 / 478 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.07705, allocations: 20.31 kB / 478 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004657/0.07752, allocations: 381.1 kB / 478.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.07754, allocations: 192 / 478.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.07755, allocations: 7.938 kB / 478.4 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.07756, allocations: 4 kB / 478.4 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.963e-05/0.07767, allocations: 79.97 kB / 478.4 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.07806, allocations: 321.4 kB / 478.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.07831, allocations: 189.4 kB / 478.9 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.07846, allocations: 129.8 kB / 479.1 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.07849, allocations: 0 / 479.1 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.07853, allocations: 38.56 kB / 479.1 MB, free: 10.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 2.114e-06/0.07853, allocations: 3.984 kB / 479.1 MB, free: 10.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.000482/0.07902, allocations: 379.2 kB / 479.5 MB, free: 9.836 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.582e-05/0.0791, allocations: 141.5 kB / 479.6 MB, free: 9.668 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.07921, allocations: 149.6 kB / 479.8 MB, free: 9.512 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.07923, allocations: 25.7 kB / 479.8 MB, free: 9.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.07929, allocations: 100.7 kB / 479.9 MB, free: 9.379 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.07931, allocations: 23.8 kB / 479.9 MB, free: 9.355 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.384e-05/0.07933, allocations: 8 kB / 479.9 MB, free: 9.348 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.25e-05/0.07943, allocations: 334.8 kB / 480.3 MB, free: 9.012 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.555e-05/0.07951, allocations: 48.53 kB / 480.3 MB, free: 8.965 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.0797, allocations: 244.5 kB / 480.5 MB, free: 8.629 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.08001, allocations: 433.8 kB / 481 MB, free: 8.082 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.08002, allocations: 0 / 481 MB, free: 8.082 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004/0.08042, allocations: 357 kB / 481.3 MB, free: 7.715 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.776e-05/0.08047, allocations: 63.59 kB / 481.4 MB, free: 7.641 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.08049, allocations: 8 kB / 481.4 MB, free: 7.633 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.08051, allocations: 8 kB / 481.4 MB, free: 7.625 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.08066, allocations: 59.84 kB / 481.4 MB, free: 7.566 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/0.08068, allocations: 15.94 kB / 481.5 MB, free: 7.551 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.08079, allocations: 23.78 kB / 481.5 MB, free: 7.527 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.08082, allocations: 20 kB / 481.5 MB, free: 7.508 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 17 (synchronizeRealtime.initialized,spaceMouseInput.buttons[16],spaceMouseInput.buttons[15],spaceMouseInput.buttons[14],spaceMouseInput.buttons[13],spaceMouseInput.buttons[12],spaceMouseInput.buttons[11],spaceMouseInput.buttons[10],spaceMouseInput.buttons[9],spaceMouseInput.buttons[8],spaceMouseInput.buttons[7],spaceMouseInput.buttons[6],spaceMouseInput.buttons[5],spaceMouseInput.buttons[4],spaceMouseInput.buttons[3],spaceMouseInput.buttons[2],spaceMouseInput.buttons[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * 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.0001571/0.08098, allocations: 227.3 kB / 481.7 MB, free: 7.266 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002099/0.0812, allocations: 205.9 kB / 481.9 MB, free: 7.059 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.757e-05/0.08125, allocations: 22.09 kB / 481.9 MB, free: 7.039 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.08126, allocations: 7.984 kB / 482 MB, free: 7.031 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.08127, allocations: 3.938 kB / 482 MB, free: 7.027 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.08128, allocations: 0 / 482 MB, free: 7.027 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.08145, allocations: 201.4 kB / 482.2 MB, free: 6.781 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.08147, allocations: 0 / 482.2 MB, free: 6.781 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.781e-05/0.08152, allocations: 19.98 kB / 482.2 MB, free: 6.762 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.08153, allocations: 0 / 482.2 MB, free: 6.762 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.08154, allocations: 8 kB / 482.2 MB, free: 6.754 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.08155, allocations: 0 / 482.2 MB, free: 6.754 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.08155, allocations: 0 / 482.2 MB, free: 6.754 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003381/0.0819, allocations: 411.5 kB / 482.6 MB, free: 6.324 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.08195, allocations: 96.86 kB / 482.7 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.08197, allocations: 0 / 482.7 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.783e-05/0.08203, allocations: 8 kB / 482.7 MB, free: 6.203 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/0.08207, allocations: 4 kB / 482.7 MB, free: 6.199 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.08208, allocations: 11.98 kB / 482.7 MB, free: 6.188 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.89e-05/0.08215, allocations: 107.2 kB / 482.8 MB, free: 6.082 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08215, allocations: 0 / 482.8 MB, free: 6.082 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002869/0.08245, allocations: 32 kB / 482.8 MB, free: 6.051 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: 17 (synchronizeRealtime.initialized,spaceMouseInput.buttons[1],spaceMouseInput.buttons[2],spaceMouseInput.buttons[3],spaceMouseInput.buttons[4],spaceMouseInput.buttons[5],spaceMouseInput.buttons[6],spaceMouseInput.buttons[7],spaceMouseInput.buttons[8],spaceMouseInput.buttons[9],spaceMouseInput.buttons[10],spaceMouseInput.buttons[11],spaceMouseInput.buttons[12],spaceMouseInput.buttons[13],spaceMouseInput.buttons[14],spaceMouseInput.buttons[15],spaceMouseInput.buttons[16]) * 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.0004738/0.08293, allocations: 313.1 kB / 483.1 MB, free: 5.812 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003226/0.08326, allocations: 311.9 kB / 483.4 MB, free: 5.484 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.08327, allocations: 4 kB / 483.5 MB, free: 5.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.602e-05/0.08335, allocations: 123.2 kB / 483.6 MB, free: 5.336 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.08374, allocations: 189.7 kB / 483.8 MB, free: 5.145 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005352/0.08429, allocations: 424.3 kB / 484.2 MB, free: 4.699 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.08455, allocations: 0.7442 MB / 484.9 MB, free: 3.926 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.465e-05/0.08461, allocations: 29.53 kB / 484.9 MB, free: 3.898 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.651e-05/0.08463, allocations: 11.44 kB / 485 MB, free: 3.887 MB / 314.7 MB Notification: Performance of SimCode: time 2e-07/0.08464, allocations: 0 / 485 MB, free: 3.887 MB / 314.7 MB Notification: Performance of Templates: time 0.003888/0.08853, allocations: 1.761 MB / 486.7 MB, free: 2.133 MB / 314.7 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.makefile (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.pipe 2>&1)