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.001847/0.001854, allocations: 104.1 kB / 16.98 MB, free: 6.137 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.00203/0.00203, allocations: 189.3 kB / 17.91 MB, free: 5.234 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.422/1.422, allocations: 222.9 MB / 241.6 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.06034/0.06034, allocations: 12.05 MB / 303.8 MB, free: 3.148 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 67.89 kB / 367.1 MB, free: 3.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2176, allocations: 52.31 MB / 419.5 MB, free: 21.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse): time 0.003504/0.2211, allocations: 2.727 MB / 422.2 MB, free: 18.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004339/0.2216, allocations: 346.8 kB / 422.5 MB, free: 18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.2217, allocations: 7.938 kB / 422.5 MB, free: 18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002117/0.2219, allocations: 51.64 kB / 422.6 MB, free: 17.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.222, allocations: 23.73 kB / 422.6 MB, free: 17.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.2222, allocations: 95.69 kB / 422.7 MB, free: 17.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002236/0.2225, allocations: 251.6 kB / 422.9 MB, free: 17.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.2226, allocations: 139.4 kB / 423.1 MB, free: 17.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.156e-05/0.2227, allocations: 87.66 kB / 423.2 MB, free: 17.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.2228, allocations: 115.5 kB / 423.3 MB, free: 17.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.439e-05/0.2229, allocations: 20 kB / 423.3 MB, free: 17.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.892e-05/0.223, allocations: 40 kB / 423.3 MB, free: 17.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.15e-05/0.2231, allocations: 83.75 kB / 423.4 MB, free: 17.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.133e-05/0.2232, allocations: 139.1 kB / 423.6 MB, free: 16.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.2234, allocations: 356.7 kB / 423.9 MB, free: 16.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.2234, allocations: 3.938 kB / 423.9 MB, free: 16.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2234, allocations: 4 kB / 423.9 MB, free: 16.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.2234, allocations: 0 / 423.9 MB, free: 16.62 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.0007716/0.2242, allocations: 0.6201 MB / 424.5 MB, free: 15.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.2243, allocations: 8.031 kB / 424.5 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.395e-05/0.2243, allocations: 40.47 kB / 424.6 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.2246, allocations: 294.7 kB / 424.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.2246, allocations: 20.31 kB / 424.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.001e-05/0.2247, allocations: 20.31 kB / 424.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/0.225, allocations: 323.6 kB / 425.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.225, allocations: 192 / 425.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.2251, allocations: 11.94 kB / 425.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.2251, allocations: 7.984 kB / 425.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002339/0.2253, allocations: 212.4 kB / 425.5 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007319/0.2261, allocations: 0.7274 MB / 426.2 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.2274, allocations: 0.5484 MB / 426.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.2275, allocations: 177.9 kB / 426.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.26e-05/0.2276, allocations: 0 / 426.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002255/0.2278, allocations: 238.9 kB / 427.1 MB, free: 13.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 1.293e-06/0.2278, allocations: 0 / 427.1 MB, free: 13.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=41): time 0.0006737/0.2285, allocations: 0.5849 MB / 427.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.2285, allocations: 105.1 kB / 427.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.2287, allocations: 244.9 kB / 428.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.2288, allocations: 45.69 kB / 428.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.845e-05/0.2289, allocations: 168.5 kB / 428.3 MB, free: 12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.005e-05/0.2289, allocations: 126.4 kB / 428.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.82e-05/0.229, allocations: 98.25 kB / 428.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.806e-05/0.2291, allocations: 346.8 kB / 428.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.2293, allocations: 209 kB / 429 MB, free: 11.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/0.2296, allocations: 380.3 kB / 429.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005483/0.2302, allocations: 0.618 MB / 430 MB, free: 10.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.2302, allocations: 4 kB / 430 MB, free: 10.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006774/0.2309, allocations: 0.6449 MB / 430.7 MB, free: 9.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.2309, allocations: 8 kB / 430.7 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.2309, allocations: 4.562 kB / 430.7 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.231, allocations: 16 kB / 430.7 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002603/0.2312, allocations: 87.83 kB / 430.8 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.2312, allocations: 11.94 kB / 430.8 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.2314, allocations: 51.45 kB / 430.8 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.2314, allocations: 24 kB / 430.9 MB, free: 9.23 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.0001759/0.2316, allocations: 241 kB / 431.1 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.2317, allocations: 31.62 kB / 431.1 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.9e-05/0.2317, allocations: 30.95 kB / 431.2 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.2318, allocations: 4 kB / 431.2 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.2318, allocations: 0 / 431.2 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2318, allocations: 3.938 kB / 431.2 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.232, allocations: 353.7 kB / 431.5 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.232, allocations: 4 kB / 431.5 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.2322, allocations: 35.92 kB / 431.6 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2322, allocations: 7.938 kB / 431.6 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.2323, allocations: 7.984 kB / 431.6 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2323, allocations: 4 kB / 431.6 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2323, allocations: 0 / 431.6 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006263/0.2329, allocations: 0.6732 MB / 432.3 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.2329, allocations: 100.8 kB / 432.4 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/0.233, allocations: 12.05 kB / 432.4 MB, free: 7.637 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.105e-05/0.2331, allocations: 11.94 kB / 432.4 MB, free: 7.625 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.2331, allocations: 11.92 kB / 432.4 MB, free: 7.613 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.2331, allocations: 8 kB / 432.4 MB, free: 7.605 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000103/0.2332, allocations: 176.5 kB / 432.6 MB, free: 7.438 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2333, allocations: 0 / 432.6 MB, free: 7.438 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003237/0.2336, allocations: 87.83 kB / 432.7 MB, free: 7.352 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.0005776/0.2342, allocations: 230.1 kB / 432.9 MB, free: 7.164 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005529/0.2347, allocations: 0.5134 MB / 433.4 MB, free: 6.645 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2347, allocations: 0 / 433.4 MB, free: 6.645 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.2349, allocations: 201.6 kB / 433.6 MB, free: 6.441 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.2352, allocations: 49.75 kB / 433.6 MB, free: 6.398 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009299/0.2362, allocations: 0.7661 MB / 434.4 MB, free: 5.598 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.2364, allocations: 0.819 MB / 435.2 MB, free: 4.754 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.938e-05/0.2365, allocations: 23.44 kB / 435.2 MB, free: 4.73 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2365, allocations: 0 / 435.2 MB, free: 4.73 MB / 302.1 MB Notification: Performance of Templates: time 0.005395/0.2419, allocations: 4.556 MB / 439.8 MB, free: 192 kB / 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)