Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001238, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001867/0.001866, allocations: 192.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3834/0.3834, allocations: 39.94 MB / 309.7 MB, free: 9.297 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 74.39 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1613, allocations: 56.87 MB / 434.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.3157/0.477, allocations: 21.23 MB / 455.7 MB, free: 36.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01448/0.4916, allocations: 6.067 MB / 461.8 MB, free: 36.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005067/0.4967, allocations: 151.8 kB / 461.9 MB, free: 36.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01254/0.5093, allocations: 7.655 MB / 469.6 MB, free: 34.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0118/0.5211, allocations: 3.66 MB / 473.2 MB, free: 32.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004859/0.526, allocations: 1.721 MB / 475 MB, free: 32.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01667/0.5427, allocations: 9.589 MB / 484.6 MB, free: 29.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01866/0.5614, allocations: 9.52 MB / 494.1 MB, free: 25.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01095/0.5724, allocations: 3.929 MB / 498 MB, free: 24.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01181/0.5842, allocations: 5.296 MB / 0.4915 GB, free: 22.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005705/0.59, allocations: 0.869 MB / 0.4924 GB, free: 22.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008841/0.5989, allocations: 1.657 MB / 0.494 GB, free: 22.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01107/0.61, allocations: 4.875 MB / 0.4987 GB, free: 19.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0145/0.6245, allocations: 5.503 MB / 0.5041 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02309/0.6476, allocations: 16.45 MB / 0.5202 GB, free: 324 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.077e-05/0.6477, allocations: 4 kB / 0.5202 GB, free: 320 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.6477, allocations: 0 / 0.5202 GB, free: 320 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008065/0.6485, allocations: 0 / 0.5202 GB, free: 320 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3665 * Number of variables: 3665 Notification: Performance of Generate backend data structure: time 0.03432/0.6829, allocations: 11.37 MB / 0.5313 GB, free: 5.074 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.646e-05/0.683, allocations: 19.88 kB / 0.5313 GB, free: 5.055 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01643/0.6994, allocations: 3.01 MB / 0.5342 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01556/0.715, allocations: 5.695 MB / 0.5398 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00107/0.7162, allocations: 0.6053 MB / 0.5404 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004597/0.7208, allocations: 0.7677 MB / 0.5411 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06244/0.7833, allocations: 24.46 MB / 0.565 GB, free: 1.453 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004555/0.7838, allocations: 79.25 kB / 0.5651 GB, free: 1.375 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003717/0.7875, allocations: 371.6 kB / 0.5655 GB, free: 1.012 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01086/0.7984, allocations: 4.547 MB / 0.5699 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05834/0.8568, allocations: 19.2 MB / 0.5886 GB, free: 9.23 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6546/1.511, allocations: 85.85 MB / 0.6725 GB, free: 73.85 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02165/1.533, allocations: 7.753 MB / 0.68 GB, free: 72.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007439/1.541, allocations: 3.112 MB / 0.6831 GB, free: 71.14 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03292/1.574, allocations: 13.1 MB / 0.6959 GB, free: 64.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.284e-05/1.574, allocations: 69.58 kB / 0.696 GB, free: 64.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=336): time 7.485e-06/1.574, allocations: 0 / 0.696 GB, free: 64.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=360): time 0.06025/1.634, allocations: 20.52 MB / 0.716 GB, free: 55.92 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.17e-05/1.634, allocations: 163 kB / 0.7162 GB, free: 55.76 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01195/1.646, allocations: 7.41 MB / 0.7234 GB, free: 53.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000887/1.647, allocations: 81.64 kB / 0.7235 GB, free: 53.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005183/1.652, allocations: 6.762 MB / 0.7301 GB, free: 47.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00223/1.654, allocations: 1.359 MB / 0.7314 GB, free: 46.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003162/1.658, allocations: 2.196 MB / 0.7335 GB, free: 45.93 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.793e-05/1.658, allocations: 308.7 kB / 0.7338 GB, free: 45.63 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005248/1.663, allocations: 3.312 MB / 0.7371 GB, free: 44.61 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009292/1.672, allocations: 9.921 MB / 0.7468 GB, free: 34.04 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01639/1.689, allocations: 14.41 MB / 0.7608 GB, free: 20.65 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002563/1.689, allocations: 66.69 kB / 0.7609 GB, free: 20.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.02695/1.716, allocations: 12.93 MB / 0.7735 GB, free: 9.109 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001756/1.716, allocations: 104 kB / 0.7736 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004605/1.717, allocations: 236.2 kB / 0.7738 GB, free: 8.777 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003322/1.717, allocations: 308 kB / 0.7741 GB, free: 8.477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009253/1.726, allocations: 2.585 MB / 0.7767 GB, free: 5.887 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003681/1.727, allocations: 466.2 kB / 0.7771 GB, free: 5.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01023/1.737, allocations: 0.5112 MB / 0.7776 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002393/1.739, allocations: 0.6635 MB / 0.7783 GB, free: 4.258 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1063 * Number of states: 0 () * Number of discrete variables: 72 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (1393): * Single equations (assignments): 1382 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * 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.01124/1.751, allocations: 4.533 MB / 0.7827 GB, free: 15.7 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002741/1.753, allocations: 0.6594 MB / 0.7833 GB, free: 15.04 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00952/1.763, allocations: 4.093 MB / 0.7873 GB, free: 10.89 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-05/1.763, allocations: 43.67 kB / 0.7874 GB, free: 10.86 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.847e-05/1.763, allocations: 0 / 0.7874 GB, free: 10.86 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.799e-05/1.763, allocations: 15.94 kB / 0.7874 GB, free: 10.84 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3459/2.109, allocations: 49.28 MB / 0.8355 GB, free: 156.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001624/2.109, allocations: 74.44 kB / 0.8356 GB, free: 156.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003341/2.113, allocations: 0.749 MB / 0.8363 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001357/2.113, allocations: 96.28 kB / 0.8364 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004829/2.113, allocations: 163.6 kB / 0.8366 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001438/2.113, allocations: 140.7 kB / 0.8367 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001061/2.113, allocations: 117.2 kB / 0.8368 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01143/2.125, allocations: 7.344 MB / 0.844 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003385/2.128, allocations: 0.7761 MB / 0.8447 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002004/2.13, allocations: 173.6 kB / 0.8449 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004602/2.135, allocations: 203.3 kB / 0.8451 GB, free: 151.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006299/2.136, allocations: 498.4 kB / 0.8456 GB, free: 151.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003164/2.136, allocations: 209.5 kB / 0.8458 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.008177/2.144, allocations: 4.614 MB / 0.8503 GB, free: 150 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.51e-07/2.144, allocations: 0 / 0.8503 GB, free: 150 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01237/2.157, allocations: 1.895 MB / 0.8521 GB, free: 149.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 334 * 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 (380): * Single equations (assignments): 377 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.001277/2.158, allocations: 367.6 kB / 0.8525 GB, free: 149.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01547/2.173, allocations: 8.054 MB / 0.8603 GB, free: 146.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 0.0001175/2.173, allocations: 11 kB / 0.8603 GB, free: 146.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004825/2.178, allocations: 2.148 MB / 0.8624 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01077/2.189, allocations: 1.118 MB / 0.8635 GB, free: 145.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04764/2.237, allocations: 22.04 MB / 0.8851 GB, free: 134.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01439/2.251, allocations: 6.929 MB / 0.8918 GB, free: 132.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00929/2.261, allocations: 3.306 MB / 0.8951 GB, free: 131.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001413/2.262, allocations: 492.6 kB / 0.8955 GB, free: 131.7 MB / 0.5294 GB Notification: Performance of SimCode: time 7.91e-07/2.262, allocations: 0 / 0.8955 GB, free: 131.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.106/2.368, allocations: 60.24 MB / 0.9544 GB, free: 78.83 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1)