Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.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: translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002565/0.00257, allocations: 350 kB / 15.94 MB, free: 6.219 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 3.743/3.743, allocations: 341.5 MB / 358.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003523/0.003523, allocations: 210.2 kB / 397.8 MB, free: 4.969 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.6389/0.6389, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005771/0.0005774, allocations: 8 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09681/0.09742, allocations: 48.7 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5049/0.6023, allocations: 89.33 MB / 0.694 GB, free: 23.39 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004075/0.6028, allocations: 79.97 kB / 0.694 GB, free: 23.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2255/0.8284, allocations: 54.58 MB / 0.7473 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.677e-06/0.8284, allocations: 0 / 0.7473 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001627/0.8286, allocations: 56 kB / 0.7474 GB, free: 0.875 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.01401/0.8426, allocations: 2.666 MB / 0.75 GB, free: 14.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.217e-05/0.8427, allocations: 8.031 kB / 0.75 GB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01842/0.8612, allocations: 1.825 MB / 0.7518 GB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006294/0.8675, allocations: 1.715 MB / 0.7535 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003372/0.8679, allocations: 217.7 kB / 0.7537 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001646/0.8696, allocations: 283.9 kB / 0.7539 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02321/0.8928, allocations: 6.605 MB / 0.7604 GB, free: 3.078 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001316/0.893, allocations: 15.81 kB / 0.7604 GB, free: 3.062 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001117/0.8941, allocations: 135.9 kB / 0.7605 GB, free: 2.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002161/0.8963, allocations: 0.6727 MB / 0.7612 GB, free: 2.254 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3191/1.215, allocations: 5.75 MB / 0.7668 GB, free: 94.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04716/1.263, allocations: 22.99 MB / 0.7893 GB, free: 83.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008156/1.271, allocations: 2.243 MB / 0.7915 GB, free: 83.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002195/1.273, allocations: 0.7771 MB / 0.7922 GB, free: 83.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01111/1.284, allocations: 3.731 MB / 0.7959 GB, free: 82.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/1.284, allocations: 37.88 kB / 0.7959 GB, free: 81.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=93): time 4.438e-06/1.284, allocations: 2.688 kB / 0.7959 GB, free: 81.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=93): time 0.0109/1.295, allocations: 2.192 MB / 0.798 GB, free: 81.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/1.295, allocations: 59.69 kB / 0.7981 GB, free: 81.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004405/1.3, allocations: 1.967 MB / 0.8 GB, free: 80.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001862/1.3, allocations: 38.27 kB / 0.8001 GB, free: 80.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00171/1.302, allocations: 1.955 MB / 0.802 GB, free: 79.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005718/1.302, allocations: 368.3 kB / 0.8023 GB, free: 79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002665/1.303, allocations: 55.28 kB / 0.8024 GB, free: 78.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000386/1.303, allocations: 0.4934 MB / 0.8028 GB, free: 78.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002243/1.305, allocations: 0.9171 MB / 0.8037 GB, free: 78.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003527/1.309, allocations: 2.84 MB / 0.8065 GB, free: 75.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003529/1.313, allocations: 1.624 MB / 0.8081 GB, free: 74.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.974e-05/1.313, allocations: 22.75 kB / 0.8081 GB, free: 74.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.009368/1.322, allocations: 3.65 MB / 0.8117 GB, free: 73.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.266e-05/1.322, allocations: 36.59 kB / 0.8117 GB, free: 73.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.803e-05/1.322, allocations: 66.22 kB / 0.8118 GB, free: 73.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001276/1.322, allocations: 101.5 kB / 0.8119 GB, free: 73.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004077/1.326, allocations: 0.704 MB / 0.8126 GB, free: 73.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001203/1.327, allocations: 131.5 kB / 0.8127 GB, free: 73.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003376/1.33, allocations: 439.3 kB / 0.8131 GB, free: 73.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005755/1.331, allocations: 193.4 kB / 0.8133 GB, free: 73.13 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 310 * Number of states: 0 () * Number of discrete variables: 21 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (385): * Single equations (assignments): 382 * 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 prepare postOptimizeDAE: time 0.003153/1.334, allocations: 1.42 MB / 0.8147 GB, free: 72.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000404/1.334, allocations: 167.3 kB / 0.8148 GB, free: 72.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002826/1.337, allocations: 1.19 MB / 0.816 GB, free: 71.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.78e-05/1.337, allocations: 9.438 kB / 0.816 GB, free: 71.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/1.337, allocations: 0 / 0.816 GB, free: 71.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/1.337, allocations: 7.375 kB / 0.816 GB, free: 71.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01269/1.35, allocations: 4.975 MB / 0.8209 GB, free: 69.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.968e-05/1.35, allocations: 11.06 kB / 0.8209 GB, free: 69.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/1.351, allocations: 140.7 kB / 0.821 GB, free: 69.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-05/1.351, allocations: 11.53 kB / 0.821 GB, free: 69.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/1.351, allocations: 26.38 kB / 0.8211 GB, free: 69.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.059e-05/1.351, allocations: 26.53 kB / 0.8211 GB, free: 69.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.245e-05/1.351, allocations: 15.19 kB / 0.8211 GB, free: 69.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002967/1.354, allocations: 1.499 MB / 0.8226 GB, free: 68.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006833/1.355, allocations: 268.8 kB / 0.8228 GB, free: 68.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000357/1.355, allocations: 23.59 kB / 0.8228 GB, free: 68.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/1.356, allocations: 37.47 kB / 0.8229 GB, free: 68.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/1.357, allocations: 77.5 kB / 0.823 GB, free: 68.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/1.357, allocations: 38.28 kB / 0.823 GB, free: 68.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002779/1.36, allocations: 1.297 MB / 0.8243 GB, free: 68.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.52e-07/1.36, allocations: 0 / 0.8243 GB, free: 68.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003911/1.364, allocations: 0.751 MB / 0.825 GB, free: 67.99 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.0004664/1.364, allocations: 152.8 kB / 0.8251 GB, free: 67.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005064/1.369, allocations: 2.154 MB / 0.8272 GB, free: 67.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.62e-05/1.369, allocations: 0.6875 kB / 0.8272 GB, free: 67.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001328/1.371, allocations: 0.5376 MB / 0.8278 GB, free: 67.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/1.373, allocations: 247.6 kB / 0.828 GB, free: 66.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01453/1.387, allocations: 6.712 MB / 0.8346 GB, free: 63.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004197/1.392, allocations: 2.452 MB / 0.837 GB, free: 62.06 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004331/1.396, allocations: 1.016 MB / 0.8379 GB, free: 61.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006674/1.397, allocations: 128 kB / 0.8381 GB, free: 61.96 MB / 410.7 MB Notification: Performance of SimCode: time 3.126e-06/1.397, allocations: 0 / 0.8381 GB, free: 61.96 MB / 410.7 MB Notification: Performance of Templates: time 0.04932/1.446, allocations: 14.73 MB / 0.8525 GB, free: 52.57 MB / 410.7 MB