Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 186.9 kB / 16.68 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 98.53 kB / 290.6 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05452/0.05452, allocations: 12.02 MB / 352.7 MB, free: 13.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009392/0.0009392, allocations: 47.27 kB / 415.8 MB, free: 53.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08071/0.08166, allocations: 52.33 MB / 468.2 MB, free: 1.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse): time 0.00354/0.08524, allocations: 2.753 MB / 470.9 MB, free: 14.8 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004772/0.08575, allocations: 342.8 kB / 471.3 MB, free: 14.46 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.874e-05/0.08585, allocations: 3.938 kB / 471.3 MB, free: 14.46 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.08606, allocations: 35.78 kB / 471.3 MB, free: 14.42 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.246e-05/0.08617, allocations: 23.84 kB / 471.3 MB, free: 14.4 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002021/0.08638, allocations: 87.78 kB / 471.4 MB, free: 14.31 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002364/0.08663, allocations: 239.6 kB / 471.6 MB, free: 14.08 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.08684, allocations: 142.4 kB / 471.8 MB, free: 13.94 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.66e-05/0.08691, allocations: 75.64 kB / 471.8 MB, free: 13.86 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.08705, allocations: 99.48 kB / 471.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.075e-05/0.08709, allocations: 12 kB / 472 MB, free: 13.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.102e-05/0.08717, allocations: 27.98 kB / 472 MB, free: 13.73 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.18e-05/0.08726, allocations: 83.67 kB / 472.1 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.08738, allocations: 123.2 kB / 472.2 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.08767, allocations: 339 kB / 472.5 MB, free: 13.19 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.08769, allocations: 0 / 472.5 MB, free: 13.19 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.08769, allocations: 0 / 472.5 MB, free: 13.19 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.0877, allocations: 0 / 472.5 MB, free: 13.19 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008446/0.08855, allocations: 0.6356 MB / 473.2 MB, free: 12.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.08859, allocations: 11.97 kB / 473.2 MB, free: 12.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.482e-05/0.08866, allocations: 36.47 kB / 473.2 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.089, allocations: 298.7 kB / 473.5 MB, free: 12.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.08903, allocations: 16.31 kB / 473.5 MB, free: 12.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.433e-05/0.08908, allocations: 20.38 kB / 473.5 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004151/0.0895, allocations: 311.7 kB / 473.8 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.08952, allocations: 4.188 kB / 473.8 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.08954, allocations: 11.94 kB / 473.8 MB, free: 11.76 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.08956, allocations: 4 kB / 473.9 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.08984, allocations: 212.4 kB / 474.1 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008814/0.09073, allocations: 0.7391 MB / 474.8 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.09211, allocations: 0.5405 MB / 475.3 MB, free: 10.19 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.0923, allocations: 166 kB / 475.5 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.09234, allocations: 3.938 kB / 475.5 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00026/0.09261, allocations: 248.5 kB / 475.7 MB, free: 9.754 MB / 314.7 MB Notification: Performance of pre-optimization done (n=41): time 1.273e-06/0.09262, allocations: 0 / 475.7 MB, free: 9.754 MB / 314.7 MB Notification: Performance of matching and sorting (n=41): time 0.0006931/0.09332, allocations: 0.5822 MB / 476.3 MB, free: 9.168 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.155e-05/0.0934, allocations: 105.1 kB / 476.4 MB, free: 9.047 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.09361, allocations: 244.9 kB / 476.7 MB, free: 8.793 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.09365, allocations: 45.7 kB / 476.7 MB, free: 8.742 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.206e-05/0.09375, allocations: 160.6 kB / 476.9 MB, free: 8.578 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.39e-05/0.09385, allocations: 138.4 kB / 477 MB, free: 8.441 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.09397, allocations: 90.25 kB / 477.1 MB, free: 8.348 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.09409, allocations: 354.8 kB / 477.4 MB, free: 7.992 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.09435, allocations: 205 kB / 477.6 MB, free: 7.793 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/0.09471, allocations: 387.4 kB / 478 MB, free: 7.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006282/0.09534, allocations: 0.6144 MB / 478.6 MB, free: 6.648 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.09535, allocations: 0 / 478.6 MB, free: 6.648 MB / 314.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007746/0.09613, allocations: 0.6453 MB / 479.3 MB, free: 5.996 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.09616, allocations: 8 kB / 479.3 MB, free: 5.988 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.09618, allocations: 11.98 kB / 479.3 MB, free: 5.977 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.0962, allocations: 8 kB / 479.3 MB, free: 5.969 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.09648, allocations: 91.78 kB / 479.4 MB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.0965, allocations: 11.98 kB / 479.4 MB, free: 5.867 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.09666, allocations: 47.53 kB / 479.5 MB, free: 5.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.0967, allocations: 20.38 kB / 479.5 MB, free: 5.801 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 45 (spaceMouseInput.buttons[16],$PRE.spaceMouseInput.buttons[16],spaceMouseInput.buttons[15],$PRE.spaceMouseInput.buttons[15],spaceMouseInput.buttons[14],$PRE.spaceMouseInput.buttons[14],spaceMouseInput.buttons[13],$PRE.spaceMouseInput.buttons[13],spaceMouseInput.buttons[12],$PRE.spaceMouseInput.buttons[12],spaceMouseInput.buttons[11],$PRE.spaceMouseInput.buttons[11],spaceMouseInput.buttons[10],$PRE.spaceMouseInput.buttons[10],spaceMouseInput.buttons[9],$PRE.spaceMouseInput.buttons[9],spaceMouseInput.buttons[8],$PRE.spaceMouseInput.buttons[8],spaceMouseInput.buttons[7],$PRE.spaceMouseInput.buttons[7],spaceMouseInput.buttons[6],$PRE.spaceMouseInput.buttons[6],spaceMouseInput.buttons[5],$PRE.spaceMouseInput.buttons[5],spaceMouseInput.buttons[4],$PRE.spaceMouseInput.buttons[4],spaceMouseInput.buttons[3],$PRE.spaceMouseInput.buttons[3],spaceMouseInput.buttons[2],$PRE.spaceMouseInput.buttons[2],spaceMouseInput.buttons[1],$PRE.spaceMouseInput.buttons[1],$whenCondition1,spaceMouseInput.AxesRaw[6],$PRE.spaceMouseInput.AxesRaw[6],spaceMouseInput.AxesRaw[5],$PRE.spaceMouseInput.AxesRaw[5],spaceMouseInput.AxesRaw[4],$PRE.spaceMouseInput.AxesRaw[4],spaceMouseInput.AxesRaw[3],$PRE.spaceMouseInput.AxesRaw[3],spaceMouseInput.AxesRaw[2],$PRE.spaceMouseInput.AxesRaw[2],spaceMouseInput.AxesRaw[1],$PRE.spaceMouseInput.AxesRaw[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * 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 prepare postOptimizeDAE: time 0.0002078/0.09692, allocations: 248.8 kB / 479.7 MB, free: 5.547 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.09696, allocations: 27.62 kB / 479.7 MB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.906e-05/0.09704, allocations: 34.95 kB / 479.8 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.09706, allocations: 4 kB / 479.8 MB, free: 5.484 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.09707, allocations: 4 kB / 479.8 MB, free: 5.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.09708, allocations: 3.984 kB / 479.8 MB, free: 5.477 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.09739, allocations: 357.2 kB / 480.1 MB, free: 5.078 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.09741, allocations: 0 / 480.1 MB, free: 5.078 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.09758, allocations: 31.97 kB / 480.2 MB, free: 5.047 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.09759, allocations: 0 / 480.2 MB, free: 5.047 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.09762, allocations: 8 kB / 480.2 MB, free: 5.039 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.09763, allocations: 0 / 480.2 MB, free: 5.039 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.09763, allocations: 0 / 480.2 MB, free: 5.039 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003543/0.1012, allocations: 3.438 MB / 483.6 MB, free: 1.441 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.834e-05/0.1012, allocations: 104.7 kB / 483.7 MB, free: 1.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.1013, allocations: 12 kB / 483.7 MB, free: 1.309 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.885e-05/0.1014, allocations: 15.92 kB / 483.7 MB, free: 1.293 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.1014, allocations: 7.984 kB / 483.8 MB, free: 1.285 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.1014, allocations: 4 kB / 483.8 MB, free: 1.281 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001334/0.1016, allocations: 180.5 kB / 483.9 MB, free: 1.105 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1016, allocations: 0 / 483.9 MB, free: 1.105 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004345/0.102, allocations: 103.8 kB / 484 MB, free: 1.004 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (spaceMouseInput.firstOrder[1].y,spaceMouseInput.firstOrder[2].y,spaceMouseInput.firstOrder[3].y,spaceMouseInput.firstOrder[4].y,spaceMouseInput.firstOrder[5].y,spaceMouseInput.firstOrder[6].y) * Number of discrete variables: 23 ($whenCondition1,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],spaceMouseInput.AxesRaw[1],spaceMouseInput.AxesRaw[2],spaceMouseInput.AxesRaw[3],spaceMouseInput.AxesRaw[4],spaceMouseInput.AxesRaw[5],spaceMouseInput.AxesRaw[6]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 1 * 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.000498/0.1025, allocations: 239.6 kB / 484.3 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005587/0.1031, allocations: 473.4 kB / 484.7 MB, free: 344 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1031, allocations: 0 / 484.7 MB, free: 344 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.1033, allocations: 201.5 kB / 484.9 MB, free: 136 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.1036, allocations: 51.89 kB / 485 MB, free: 88 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1708/0.2744, allocations: 1.11 MB / 486.1 MB, free: 24.35 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.2748, allocations: 0.8348 MB / 486.9 MB, free: 23.66 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003081/0.2752, allocations: 80.41 kB / 487 MB, free: 23.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.471e-05/0.2752, allocations: 26.27 kB / 487 MB, free: 23.65 MB / 314.7 MB Notification: Performance of SimCode: time 1.032e-06/0.2753, allocations: 1.156 kB / 487 MB, free: 23.65 MB / 314.7 MB Notification: Performance of Templates: time 0.009177/0.2844, allocations: 3.539 MB / 490.6 MB, free: 23.5 MB / 314.7 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse.makefile (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse.pipe 2>&1)