Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004421/0.00442, allocations: 361.9 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.072/4.072, allocations: 388.9 MB / 405.6 MB, free: 9.645 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.0035/0.003499, allocations: 229.3 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5176/0.5176, allocations: 80.03 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004536/0.0004538, allocations: 12 kB / 0.6265 GB, free: 96.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1018, allocations: 54.87 MB / 0.6801 GB, free: 41.7 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6114/0.7133, allocations: 95.93 MB / 0.7738 GB, free: 5.574 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003451/0.7137, allocations: 80 kB / 0.7738 GB, free: 5.535 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2853/0.999, allocations: 54.58 MB / 0.8271 GB, free: 6.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.46e-06/0.9991, allocations: 0 / 0.8271 GB, free: 6.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002096/0.9993, allocations: 59.94 kB / 0.8272 GB, free: 6.172 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: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.01365/1.013, allocations: 2.661 MB / 0.8298 GB, free: 3.656 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.65e-05/1.013, allocations: 12.03 kB / 0.8298 GB, free: 3.645 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01916/1.032, allocations: 1.817 MB / 0.8316 GB, free: 1.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006149/1.038, allocations: 1.717 MB / 0.8333 GB, free: 452 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003927/1.039, allocations: 223.5 kB / 0.8335 GB, free: 248 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001884/1.041, allocations: 284 kB / 0.8337 GB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02204/1.063, allocations: 6.605 MB / 0.8402 GB, free: 8.977 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001065/1.063, allocations: 23.81 kB / 0.8402 GB, free: 8.953 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000962/1.064, allocations: 131.9 kB / 0.8403 GB, free: 8.824 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001648/1.066, allocations: 0.6765 MB / 0.841 GB, free: 8.141 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0186/1.084, allocations: 5.747 MB / 0.8466 GB, free: 2.379 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04929/1.134, allocations: 22.99 MB / 0.8691 GB, free: 10.72 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007997/1.142, allocations: 2.238 MB / 0.8713 GB, free: 8.355 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002122/1.144, allocations: 0.7776 MB / 0.872 GB, free: 7.57 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01142/1.155, allocations: 3.731 MB / 0.8757 GB, free: 3.695 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.335e-05/1.155, allocations: 43.12 kB / 0.8757 GB, free: 3.645 MB / 458.7 MB Notification: Performance of pre-optimization done (n=93): time 4.308e-06/1.155, allocations: 3.938 kB / 0.8757 GB, free: 3.641 MB / 458.7 MB Notification: Performance of matching and sorting (n=93): time 0.01068/1.166, allocations: 2.189 MB / 0.8778 GB, free: 1.445 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/1.166, allocations: 59.97 kB / 0.8779 GB, free: 1.375 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004823/1.171, allocations: 1.971 MB / 0.8798 GB, free: 15.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001985/1.171, allocations: 37.7 kB / 0.8799 GB, free: 15.36 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002171/1.174, allocations: 1.945 MB / 0.8818 GB, free: 13.38 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007504/1.174, allocations: 375.3 kB / 0.8821 GB, free: 13.01 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000343/1.175, allocations: 60 kB / 0.8822 GB, free: 12.95 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005145/1.175, allocations: 0.4897 MB / 0.8827 GB, free: 12.45 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002768/1.178, allocations: 0.9235 MB / 0.8836 GB, free: 11.53 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005051/1.183, allocations: 2.839 MB / 0.8863 GB, free: 7.73 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004256/1.187, allocations: 1.622 MB / 0.8879 GB, free: 6.117 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.795e-05/1.187, allocations: 20 kB / 0.8879 GB, free: 6.098 MB / 474.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.01089/1.198, allocations: 3.655 MB / 0.8915 GB, free: 2.438 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.129e-05/1.199, allocations: 36.25 kB / 0.8915 GB, free: 2.402 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001441/1.199, allocations: 68 kB / 0.8916 GB, free: 2.336 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001512/1.199, allocations: 104 kB / 0.8917 GB, free: 2.234 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004559/1.203, allocations: 0.7057 MB / 0.8924 GB, free: 1.527 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001781/1.204, allocations: 131.5 kB / 0.8925 GB, free: 1.398 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003425/1.207, allocations: 431.5 kB / 0.8929 GB, free: 0.9727 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007579/1.208, allocations: 192 kB / 0.8931 GB, free: 0.7852 MB / 474.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.3287/1.537, allocations: 1.411 MB / 0.8945 GB, free: 127.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003946/1.537, allocations: 167.3 kB / 0.8946 GB, free: 127.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003275/1.54, allocations: 1.185 MB / 0.8958 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.469e-05/1.54, allocations: 12.58 kB / 0.8958 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/1.54, allocations: 2.812 kB / 0.8958 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/1.54, allocations: 9.891 kB / 0.8958 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01417/1.555, allocations: 4.984 MB / 0.9007 GB, free: 126.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-05/1.555, allocations: 12.8 kB / 0.9007 GB, free: 126.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/1.556, allocations: 129.4 kB / 0.9008 GB, free: 126.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.383e-05/1.556, allocations: 14.62 kB / 0.9008 GB, free: 126.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.009e-05/1.556, allocations: 24.56 kB / 0.9009 GB, free: 126.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.362e-05/1.556, allocations: 21.55 kB / 0.9009 GB, free: 126.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.499e-05/1.556, allocations: 14.06 kB / 0.9009 GB, free: 126.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003075/1.559, allocations: 1.503 MB / 0.9024 GB, free: 126.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007377/1.56, allocations: 269.2 kB / 0.9026 GB, free: 125.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004035/1.56, allocations: 27.12 kB / 0.9027 GB, free: 125.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/1.561, allocations: 37.39 kB / 0.9027 GB, free: 125.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/1.562, allocations: 77.11 kB / 0.9028 GB, free: 125.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/1.562, allocations: 38.03 kB / 0.9028 GB, free: 125.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003392/1.565, allocations: 1.294 MB / 0.9041 GB, free: 125.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.464e-06/1.565, allocations: 1.031 kB / 0.9041 GB, free: 125.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004233/1.569, allocations: 0.7478 MB / 0.9048 GB, free: 125.6 MB / 474.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.0005276/1.57, allocations: 155.2 kB / 0.9049 GB, free: 125.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007101/1.577, allocations: 2.158 MB / 0.907 GB, free: 125.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.128e-05/1.577, allocations: 3.719 kB / 0.907 GB, free: 125.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002124/1.579, allocations: 0.5371 MB / 0.9076 GB, free: 125.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00386/1.583, allocations: 248.5 kB / 0.9078 GB, free: 125.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02398/1.607, allocations: 6.712 MB / 0.9144 GB, free: 122.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006613/1.614, allocations: 2.458 MB / 0.9168 GB, free: 121.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00646/1.621, allocations: 1.012 MB / 0.9178 GB, free: 121.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/1.622, allocations: 127.8 kB / 0.9179 GB, free: 121.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.513e-06/1.622, allocations: 0 / 0.9179 GB, free: 121.6 MB / 474.7 MB Notification: Performance of Templates: time 0.07126/1.693, allocations: 14.74 MB / 0.9323 GB, free: 120.9 MB / 474.7 MB