Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01059/0.0106, allocations: 156 kB / 15.12 MB, free: 6.035 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.867/1.867, allocations: 170.8 MB / 186.6 MB, free: 1.113 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001782/0.001782, allocations: 94.84 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4544/0.4544, allocations: 38.06 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004769/0.0004772, allocations: 8 kB / 363 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1122, allocations: 48.71 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.4087/0.5209, allocations: 88.62 MB / 0.4886 GB, free: 10.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.05429/0.5752, allocations: 17.69 MB / 0.5059 GB, free: 14.21 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02047/0.5957, allocations: 425.9 kB / 0.5063 GB, free: 14.15 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01683/0.6126, allocations: 4.374 MB / 0.5105 GB, free: 12.22 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05329/0.666, allocations: 14.94 MB / 0.5251 GB, free: 14.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008653/0.6747, allocations: 1.275 MB / 0.5264 GB, free: 13.04 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01888/0.6936, allocations: 9.716 MB / 0.5359 GB, free: 3.316 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02144/0.7151, allocations: 9.281 MB / 0.5449 GB, free: 9.973 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006759/0.7219, allocations: 2.592 MB / 0.5475 GB, free: 7.371 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009353/0.7313, allocations: 3.976 MB / 0.5514 GB, free: 3.383 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002431/0.7338, allocations: 300 kB / 0.5516 GB, free: 3.09 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004839/0.7387, allocations: 0.9792 MB / 0.5526 GB, free: 2.109 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006552/0.7453, allocations: 3.483 MB / 0.556 GB, free: 14.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003566/0.7489, allocations: 1.606 MB / 0.5576 GB, free: 13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01776/0.7667, allocations: 10.47 MB / 0.5678 GB, free: 2.504 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.884e-06/0.7668, allocations: 0 / 0.5678 GB, free: 2.504 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.766e-06/0.7668, allocations: 0 / 0.5678 GB, free: 2.504 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004905/0.7673, allocations: 0 / 0.5678 GB, free: 2.504 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2932 * Number of variables: 2932 Notification: Performance of Generate backend data structure: time 0.0263/0.7936, allocations: 7.957 MB / 0.5756 GB, free: 10.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.7937, allocations: 8.031 kB / 0.5756 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004584/0.7983, allocations: 1.376 MB / 0.5769 GB, free: 9.059 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0207/0.819, allocations: 2.812 MB / 0.5797 GB, free: 6.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5508/1.37, allocations: 6.527 MB / 0.586 GB, free: 125.3 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007807/1.371, allocations: 482.2 kB / 0.5865 GB, free: 125.3 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003197/1.374, allocations: 0.6106 MB / 0.5871 GB, free: 125.3 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05546/1.429, allocations: 19.48 MB / 0.6061 GB, free: 118.5 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003897/1.43, allocations: 76.44 kB / 0.6062 GB, free: 118.5 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00263/1.433, allocations: 298.5 kB / 0.6065 GB, free: 118.3 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009175/1.442, allocations: 3.631 MB / 0.61 GB, free: 117.7 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05268/1.494, allocations: 15.12 MB / 0.6248 GB, free: 113 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.168/1.662, allocations: 72.9 MB / 0.696 GB, free: 43.4 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03212/1.695, allocations: 6.102 MB / 0.7019 GB, free: 37.15 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005949/1.701, allocations: 2.541 MB / 0.7044 GB, free: 34.61 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03157/1.732, allocations: 11.17 MB / 0.7153 GB, free: 23.06 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.309e-05/1.732, allocations: 60.5 kB / 0.7154 GB, free: 22.99 MB / 426.8 MB Notification: Performance of pre-optimization done (n=250): time 7.223e-06/1.732, allocations: 0 / 0.7154 GB, free: 22.99 MB / 426.8 MB Notification: Performance of matching and sorting (n=274): time 0.06775/1.8, allocations: 16.51 MB / 0.7315 GB, free: 6.504 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/1.8, allocations: 158.5 kB / 0.7317 GB, free: 6.32 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01537/1.816, allocations: 6.754 MB / 0.7383 GB, free: 15.58 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006248/1.816, allocations: 66.31 kB / 0.7383 GB, free: 15.51 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006873/1.823, allocations: 5.734 MB / 0.7439 GB, free: 9.773 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001805/1.825, allocations: 1.055 MB / 0.7449 GB, free: 8.727 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009366/1.826, allocations: 197.9 kB / 0.7451 GB, free: 8.535 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0008051/1.827, allocations: 0.707 MB / 0.7458 GB, free: 7.82 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008567/1.836, allocations: 2.692 MB / 0.7485 GB, free: 5.121 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3069/2.142, allocations: 8.563 MB / 0.7568 GB, free: 117.6 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01275/2.155, allocations: 4.63 MB / 0.7613 GB, free: 117.3 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003113/2.156, allocations: 59.41 kB / 0.7614 GB, free: 117.3 MB / 442.8 MB Notification: Performance of matching and sorting (n=1240) (initialization): time 0.0308/2.186, allocations: 10.93 MB / 0.7721 GB, free: 114.1 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002015/2.187, allocations: 96.14 kB / 0.7722 GB, free: 114.1 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003546/2.187, allocations: 207.8 kB / 0.7724 GB, free: 114.1 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003524/2.187, allocations: 305.1 kB / 0.7727 GB, free: 114.1 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01322/2.201, allocations: 2.186 MB / 0.7748 GB, free: 113.8 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000507/2.201, allocations: 407.8 kB / 0.7752 GB, free: 113.7 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009983/2.211, allocations: 450.6 kB / 0.7756 GB, free: 113.5 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001942/2.213, allocations: 0.5757 MB / 0.7762 GB, free: 113.5 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 948 * Number of states: 0 () * Number of discrete variables: 57 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1176): * Single equations (assignments): 1165 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * 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.01011/2.223, allocations: 3.754 MB / 0.7798 GB, free: 111.9 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001286/2.225, allocations: 0.5899 MB / 0.7804 GB, free: 111.9 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008306/2.233, allocations: 2.973 MB / 0.7833 GB, free: 110.7 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-05/2.233, allocations: 30.05 kB / 0.7833 GB, free: 110.7 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/2.233, allocations: 5.406 kB / 0.7833 GB, free: 110.7 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.822e-05/2.233, allocations: 11.89 kB / 0.7834 GB, free: 110.7 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05834/2.292, allocations: 25.12 MB / 0.8079 GB, free: 101.1 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002306/2.292, allocations: 67.88 kB / 0.808 GB, free: 101.1 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003999/2.296, allocations: 0.6102 MB / 0.8085 GB, free: 101.1 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001108/2.296, allocations: 89.84 kB / 0.8086 GB, free: 101.1 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005593/2.297, allocations: 140.8 kB / 0.8088 GB, free: 101 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001188/2.297, allocations: 126 kB / 0.8089 GB, free: 101 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.405e-05/2.297, allocations: 100.4 kB / 0.809 GB, free: 101 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/2.307, allocations: 5.875 MB / 0.8147 GB, free: 96.36 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002347/2.309, allocations: 0.7107 MB / 0.8154 GB, free: 95.89 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001843/2.311, allocations: 148.8 kB / 0.8156 GB, free: 95.84 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005064/2.316, allocations: 156.2 kB / 0.8157 GB, free: 95.8 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009685/2.317, allocations: 413.7 kB / 0.8161 GB, free: 95.62 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000406/2.318, allocations: 185.7 kB / 0.8163 GB, free: 95.59 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.01179/2.33, allocations: 4.202 MB / 0.8204 GB, free: 92.55 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.934e-06/2.33, allocations: 0 / 0.8204 GB, free: 92.55 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01205/2.342, allocations: 1.55 MB / 0.8219 GB, free: 91.01 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 288 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (326): * Single equations (assignments): 323 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.01129/2.353, allocations: 6.636 MB / 0.8284 GB, free: 83.68 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01517/2.368, allocations: 6.325 MB / 0.8346 GB, free: 78.12 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 5.557e-05/2.368, allocations: 12 kB / 0.8346 GB, free: 78.11 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003963/2.372, allocations: 1.635 MB / 0.8362 GB, free: 76.68 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01087/2.383, allocations: 0.9606 MB / 0.8371 GB, free: 75.86 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.133/2.516, allocations: 63.9 MB / 0.8995 GB, free: 6.23 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01262/2.529, allocations: 5.959 MB / 0.9053 GB, free: 240 kB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.01498/2.544, allocations: 2.886 MB / 0.9081 GB, free: 13.34 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009028/2.553, allocations: 3.803 MB / 0.9119 GB, free: 9.539 MB / 458.8 MB Notification: Performance of SimCode: time 1.262e-06/2.553, allocations: 0 / 0.9119 GB, free: 9.539 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6856/3.239, allocations: 121.7 MB / 1.031 GB, free: 47.02 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/3.239, allocations: 176.2 kB / 1.031 GB, free: 46.78 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.873/11.11, allocations: 3.938 kB / 1.031 GB, free: 46.77 MB / 458.8 MB