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.001422/0.001422, allocations: 182.3 kB / 13.23 MB, free: 2.086 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.254/1.254, allocations: 221.4 MB / 235.1 MB, free: 14.43 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.0008623/0.0008622, allocations: 96.09 kB / 286.1 MB, free: 12.98 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.05301/0.05301, allocations: 11.91 MB / 348.9 MB, free: 14.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.211e-05/3.249e-05, allocations: 4 kB / 410.1 MB, free: 58.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08553/0.08559, allocations: 53.36 MB / 463.5 MB, free: 4.898 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3217/0.4073, allocations: 82.36 MB / 0.533 GB, free: 0.8867 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001552/0.4075, allocations: 72.09 kB / 0.5331 GB, free: 0.8516 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01136/0.4189, allocations: 4.482 MB / 0.5375 GB, free: 13.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.4189, allocations: 0 / 0.5375 GB, free: 13.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.378e-05/0.4189, allocations: 15.94 kB / 0.5375 GB, free: 13 MB / 362.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.0006066/0.4196, allocations: 0.551 MB / 0.538 GB, free: 12.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.4196, allocations: 8.031 kB / 0.538 GB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.441e-05/0.4197, allocations: 31.62 kB / 0.5381 GB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.42, allocations: 308.9 kB / 0.5384 GB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.4201, allocations: 15.44 kB / 0.5384 GB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.697e-05/0.4201, allocations: 18.81 kB / 0.5384 GB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003997/0.4205, allocations: 309.8 kB / 0.5387 GB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.4205, allocations: 0 / 0.5387 GB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.4205, allocations: 3.188 kB / 0.5387 GB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.4206, allocations: 4 kB / 0.5387 GB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/0.4208, allocations: 215.1 kB / 0.5389 GB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008734/0.4217, allocations: 0.7411 MB / 0.5396 GB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.4231, allocations: 0.5465 MB / 0.5402 GB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.4233, allocations: 167 kB / 0.5403 GB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.4233, allocations: 8 kB / 0.5403 GB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002701/0.4236, allocations: 244.8 kB / 0.5406 GB, free: 10.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 1.272e-06/0.4236, allocations: 0 / 0.5406 GB, free: 10.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=41): time 0.0005413/0.4242, allocations: 438.5 kB / 0.541 GB, free: 9.855 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.4242, allocations: 108.6 kB / 0.5411 GB, free: 9.734 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.4244, allocations: 215.5 kB / 0.5413 GB, free: 9.551 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.4245, allocations: 45.12 kB / 0.5413 GB, free: 9.508 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.375e-05/0.4246, allocations: 163.6 kB / 0.5415 GB, free: 9.371 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.62e-05/0.4246, allocations: 129.4 kB / 0.5416 GB, free: 9.266 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-05/0.4247, allocations: 7.438 kB / 0.5416 GB, free: 9.266 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.4248, allocations: 350.2 kB / 0.5419 GB, free: 8.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.425, allocations: 198.8 kB / 0.5421 GB, free: 8.801 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003437/0.4254, allocations: 380.5 kB / 0.5425 GB, free: 8.426 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/0.4257, allocations: 272.1 kB / 0.5428 GB, free: 8.242 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.4257, allocations: 4 kB / 0.5428 GB, free: 8.238 MB / 362.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007847/0.4265, allocations: 0.6335 MB / 0.5434 GB, free: 7.754 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.4266, allocations: 11.89 kB / 0.5434 GB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/0.4266, allocations: 8.562 kB / 0.5434 GB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.4266, allocations: 12 kB / 0.5434 GB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.4269, allocations: 95.02 kB / 0.5435 GB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.4269, allocations: 8 kB / 0.5435 GB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.4271, allocations: 45.14 kB / 0.5436 GB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.449e-05/0.4271, allocations: 23.56 kB / 0.5436 GB, free: 7.57 MB / 362.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 ($PRE.spaceMouseInput.buttons[16],spaceMouseInput.buttons[16],$PRE.spaceMouseInput.buttons[15],spaceMouseInput.buttons[15],$PRE.spaceMouseInput.buttons[14],spaceMouseInput.buttons[14],$PRE.spaceMouseInput.buttons[13],spaceMouseInput.buttons[13],$PRE.spaceMouseInput.buttons[12],spaceMouseInput.buttons[12],$PRE.spaceMouseInput.buttons[11],spaceMouseInput.buttons[11],$PRE.spaceMouseInput.buttons[10],spaceMouseInput.buttons[10],$PRE.spaceMouseInput.buttons[9],spaceMouseInput.buttons[9],$PRE.spaceMouseInput.buttons[8],spaceMouseInput.buttons[8],$PRE.spaceMouseInput.buttons[7],spaceMouseInput.buttons[7],$PRE.spaceMouseInput.buttons[6],spaceMouseInput.buttons[6],$PRE.spaceMouseInput.buttons[5],spaceMouseInput.buttons[5],$PRE.spaceMouseInput.buttons[4],spaceMouseInput.buttons[4],$PRE.spaceMouseInput.buttons[3],spaceMouseInput.buttons[3],$PRE.spaceMouseInput.buttons[2],spaceMouseInput.buttons[2],$PRE.spaceMouseInput.buttons[1],spaceMouseInput.buttons[1],$whenCondition1,$PRE.spaceMouseInput.AxesRaw[6],spaceMouseInput.AxesRaw[6],$PRE.spaceMouseInput.AxesRaw[5],spaceMouseInput.AxesRaw[5],$PRE.spaceMouseInput.AxesRaw[4],spaceMouseInput.AxesRaw[4],$PRE.spaceMouseInput.AxesRaw[3],spaceMouseInput.AxesRaw[3],$PRE.spaceMouseInput.AxesRaw[2],spaceMouseInput.AxesRaw[2],$PRE.spaceMouseInput.AxesRaw[1],spaceMouseInput.AxesRaw[1]) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.4273, allocations: 171.7 kB / 0.5437 GB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.4273, allocations: 27.72 kB / 0.5438 GB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.09e-05/0.4274, allocations: 45.94 kB / 0.5438 GB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4274, allocations: 4 kB / 0.5438 GB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4274, allocations: 0 / 0.5438 GB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.4274, allocations: 0 / 0.5438 GB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003297/0.4278, allocations: 356.2 kB / 0.5442 GB, free: 7.016 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.4278, allocations: 0 / 0.5442 GB, free: 7.016 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.428, allocations: 27.98 kB / 0.5442 GB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.428, allocations: 8 kB / 0.5442 GB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.428, allocations: 13.73 kB / 0.5442 GB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.428, allocations: 3.953 kB / 0.5442 GB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.428, allocations: 0 / 0.5442 GB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007402/0.4288, allocations: 0.6732 MB / 0.5449 GB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.307e-05/0.4288, allocations: 104.7 kB / 0.545 GB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/0.4289, allocations: 19.5 kB / 0.545 GB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.179e-05/0.429, allocations: 4 kB / 0.545 GB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.429, allocations: 10.8 kB / 0.545 GB, free: 6.297 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.429, allocations: 4 kB / 0.545 GB, free: 6.293 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001335/0.4292, allocations: 175.6 kB / 0.5452 GB, free: 6.148 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4292, allocations: 3.938 kB / 0.5452 GB, free: 6.145 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003201/0.4295, allocations: 93.09 kB / 0.5453 GB, free: 6.066 MB / 362.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004759/0.43, allocations: 226.5 kB / 0.5455 GB, free: 5.875 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006264/0.4306, allocations: 466.5 kB / 0.5459 GB, free: 5.527 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4306, allocations: 4 kB / 0.5459 GB, free: 5.523 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.4309, allocations: 197.4 kB / 0.5461 GB, free: 5.383 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.4311, allocations: 39.72 kB / 0.5462 GB, free: 5.355 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009421/0.4321, allocations: 0.5984 MB / 0.5467 GB, free: 4.805 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.4325, allocations: 0.822 MB / 0.5475 GB, free: 3.973 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001728/0.4326, allocations: 78.91 kB / 0.5476 GB, free: 3.895 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.444e-05/0.4327, allocations: 19.44 kB / 0.5476 GB, free: 3.875 MB / 362.7 MB Notification: Performance of SimCode: time 3.8e-07/0.4327, allocations: 0 / 0.5476 GB, free: 3.875 MB / 362.7 MB Notification: Performance of Templates: time 0.005519/0.4382, allocations: 2.798 MB / 0.5504 GB, free: 1.105 MB / 362.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)