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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 105.8 kB / 16.31 MB, free: 5.879 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.001824/0.001824, allocations: 194.3 kB / 17.24 MB, free: 5.539 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.625/1.625, allocations: 222.9 MB / 240.9 MB, free: 15.16 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.05453/0.05453, allocations: 12.04 MB / 303.1 MB, free: 3.16 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 71.89 kB / 366.5 MB, free: 3.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3122, allocations: 52.32 MB / 418.8 MB, free: 21.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse): time 0.004042/0.3163, allocations: 2.721 MB / 421.5 MB, free: 18.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004544/0.3168, allocations: 354.8 kB / 421.9 MB, free: 18.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.3169, allocations: 5.312 kB / 421.9 MB, free: 18.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.3172, allocations: 51.64 kB / 421.9 MB, free: 17.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.3173, allocations: 23.78 kB / 421.9 MB, free: 17.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.3175, allocations: 95.7 kB / 422 MB, free: 17.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002296/0.3177, allocations: 251.7 kB / 422.3 MB, free: 17.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.3179, allocations: 134.5 kB / 422.4 MB, free: 17.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.029e-05/0.318, allocations: 87.64 kB / 422.5 MB, free: 17.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.3182, allocations: 111.5 kB / 422.6 MB, free: 17.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.3182, allocations: 23.98 kB / 422.6 MB, free: 17.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.885e-05/0.3183, allocations: 43.92 kB / 422.7 MB, free: 17.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.804e-05/0.3184, allocations: 87.75 kB / 422.8 MB, free: 17.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.107e-05/0.3185, allocations: 135.2 kB / 422.9 MB, free: 16.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.3188, allocations: 348.8 kB / 423.2 MB, free: 16.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.3188, allocations: 0 / 423.2 MB, free: 16.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3188, allocations: 4 kB / 423.2 MB, free: 16.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.3188, allocations: 0 / 423.2 MB, free: 16.64 MB / 302.1 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.0007441/0.3195, allocations: 0.6356 MB / 423.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.3196, allocations: 8.031 kB / 423.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.243e-05/0.3196, allocations: 40.47 kB / 423.9 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.3199, allocations: 294.7 kB / 424.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.3199, allocations: 16.38 kB / 424.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.92e-05/0.32, allocations: 20.31 kB / 424.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003511/0.3203, allocations: 315.7 kB / 424.5 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3203, allocations: 192 / 424.5 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.3204, allocations: 7.938 kB / 424.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.3204, allocations: 7.984 kB / 424.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002446/0.3206, allocations: 224.4 kB / 424.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006898/0.3213, allocations: 0.7352 MB / 425.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.3226, allocations: 0.5464 MB / 426.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.3227, allocations: 170 kB / 426.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.3228, allocations: 7.984 kB / 426.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/0.323, allocations: 232.5 kB / 426.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 1.253e-06/0.323, allocations: 0 / 426.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=41): time 0.0006002/0.3236, allocations: 0.5888 MB / 427.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.3237, allocations: 105 kB / 427.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.3238, allocations: 248.9 kB / 427.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.3239, allocations: 49.69 kB / 427.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.757e-05/0.3239, allocations: 160.5 kB / 427.6 MB, free: 12.01 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.6e-05/0.324, allocations: 126.4 kB / 427.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.375e-05/0.3241, allocations: 94.25 kB / 427.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.046e-05/0.3242, allocations: 350.8 kB / 428.2 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.3244, allocations: 201.1 kB / 428.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.3246, allocations: 388.1 kB / 428.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004916/0.3251, allocations: 0.6144 MB / 429.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.3252, allocations: 0 / 429.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006389/0.3258, allocations: 0.6527 MB / 430 MB, free: 9.434 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3258, allocations: 8 kB / 430 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.3258, allocations: 8.562 kB / 430 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3259, allocations: 8 kB / 430 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.3261, allocations: 91.83 kB / 430.1 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.44e-05/0.3261, allocations: 8 kB / 430.1 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.3263, allocations: 51.47 kB / 430.2 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.3263, allocations: 27.98 kB / 430.2 MB, free: 9.234 MB / 302.1 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.0001609/0.3265, allocations: 240.9 kB / 430.4 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.3265, allocations: 27.62 kB / 430.5 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.261e-05/0.3266, allocations: 38.95 kB / 430.5 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3266, allocations: 4 kB / 430.5 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3266, allocations: 0 / 430.5 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3266, allocations: 3.938 kB / 430.5 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.3268, allocations: 349.2 kB / 430.8 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.3269, allocations: 3.984 kB / 430.9 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.327, allocations: 31.98 kB / 430.9 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.327, allocations: 4 kB / 430.9 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.3271, allocations: 8 kB / 430.9 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3271, allocations: 0 / 430.9 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3271, allocations: 7.938 kB / 430.9 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005744/0.3276, allocations: 0.6667 MB / 431.6 MB, free: 7.781 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.3277, allocations: 104.8 kB / 431.7 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/0.3277, allocations: 12.19 kB / 431.7 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.712e-05/0.3278, allocations: 15.92 kB / 431.7 MB, free: 7.633 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.3278, allocations: 15.92 kB / 431.7 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.3279, allocations: 4 kB / 431.7 MB, free: 7.613 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.869e-05/0.328, allocations: 176.5 kB / 431.9 MB, free: 7.445 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.328, allocations: 0 / 431.9 MB, free: 7.445 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003097/0.3283, allocations: 83.84 kB / 432 MB, free: 7.363 MB / 302.1 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.0003987/0.3287, allocations: 224.7 kB / 432.2 MB, free: 7.176 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005052/0.3292, allocations: 0.5177 MB / 432.7 MB, free: 6.652 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3292, allocations: 0 / 432.7 MB, free: 6.652 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.3294, allocations: 200.9 kB / 432.9 MB, free: 6.453 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.3297, allocations: 54.23 kB / 433 MB, free: 6.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009149/0.3307, allocations: 0.7321 MB / 433.7 MB, free: 5.648 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/0.3309, allocations: 0.8229 MB / 434.5 MB, free: 4.801 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001374/0.331, allocations: 71.55 kB / 434.6 MB, free: 4.734 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.535e-05/0.3311, allocations: 23.44 kB / 434.6 MB, free: 4.711 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3311, allocations: 0 / 434.6 MB, free: 4.711 MB / 302.1 MB Notification: Performance of Templates: time 0.005128/0.3362, allocations: 2.984 MB / 437.6 MB, free: 1.738 MB / 302.1 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)