Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001059/0.001059, allocations: 100.9 kB / 15.05 MB, free: 1.105 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.0009928/0.0009929, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4011/0.4011, allocations: 38.02 MB / 308.4 MB, free: 10.46 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.1. 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.0006406/0.0006406, allocations: 12 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1566, allocations: 57.53 MB / 433.9 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.3751/0.5318, allocations: 114.2 MB / 0.5353 GB, free: 12.03 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.07518/0.607, allocations: 24.85 MB / 0.5596 GB, free: 9.203 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03606/0.6431, allocations: 0.5573 MB / 0.5601 GB, free: 8.645 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02732/0.6705, allocations: 5.81 MB / 0.5658 GB, free: 4.902 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.06572/0.7363, allocations: 16.19 MB / 0.5816 GB, free: 4.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01168/0.748, allocations: 1.381 MB / 0.5829 GB, free: 3.301 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01404/0.7621, allocations: 5.337 MB / 0.5881 GB, free: 13.97 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02237/0.7845, allocations: 11.37 MB / 0.5992 GB, free: 2.539 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006471/0.791, allocations: 2.48 MB / 0.6017 GB, free: 52 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006372/0.7974, allocations: 3.302 MB / 0.6049 GB, free: 12.74 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002764/0.8002, allocations: 376 kB / 0.6052 GB, free: 12.37 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004808/0.8051, allocations: 1.014 MB / 0.6062 GB, free: 11.36 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008125/0.8132, allocations: 3.924 MB / 0.6101 GB, free: 7.422 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00561/0.8189, allocations: 1.964 MB / 0.612 GB, free: 5.445 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01855/0.8375, allocations: 13.12 MB / 0.6248 GB, free: 8.293 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.8375, allocations: 0 / 0.6248 GB, free: 8.293 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.8375, allocations: 3.938 kB / 0.6248 GB, free: 8.289 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0007656/0.8383, allocations: 0 / 0.6248 GB, free: 8.289 MB / 494.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.4992/1.337, allocations: 9.622 MB / 0.6342 GB, free: 143.6 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/1.338, allocations: 9.688 kB / 0.6342 GB, free: 143.6 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01543/1.353, allocations: 3.479 MB / 0.6376 GB, free: 142.9 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01649/1.37, allocations: 6.402 MB / 0.6439 GB, free: 141.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001/1.371, allocations: 0.5931 MB / 0.6444 GB, free: 141.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004328/1.375, allocations: 0.7716 MB / 0.6452 GB, free: 141.3 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05072/1.426, allocations: 24.64 MB / 0.6693 GB, free: 131 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006744/1.426, allocations: 78.67 kB / 0.6693 GB, free: 131 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003341/1.43, allocations: 365.5 kB / 0.6697 GB, free: 130.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009015/1.439, allocations: 4.54 MB / 0.6741 GB, free: 129.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05047/1.489, allocations: 19.39 MB / 0.6931 GB, free: 118.1 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1272/1.617, allocations: 86.03 MB / 0.7771 GB, free: 30.61 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02088/1.638, allocations: 7.786 MB / 0.7847 GB, free: 22.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02542/1.663, allocations: 13.28 MB / 0.7976 GB, free: 9.047 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/1.663, allocations: 64.78 kB / 0.7977 GB, free: 8.973 MB / 494.1 MB Notification: Performance of pre-optimization done (n=336): time 5.31e-06/1.663, allocations: 4 kB / 0.7977 GB, free: 8.969 MB / 494.1 MB Notification: Performance of matching and sorting (n=360): time 0.06122/1.724, allocations: 21.1 MB / 0.8183 GB, free: 3.754 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/1.725, allocations: 170.9 kB / 0.8185 GB, free: 3.555 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3775/2.102, allocations: 7.849 MB / 0.8261 GB, free: 141.6 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0007532/2.103, allocations: 82.25 kB / 0.8262 GB, free: 141.6 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.004892/2.108, allocations: 6.78 MB / 0.8328 GB, free: 138.5 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.00175/2.11, allocations: 1.367 MB / 0.8342 GB, free: 137.5 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008453/2.11, allocations: 217.8 kB / 0.8344 GB, free: 137.3 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0005984/2.111, allocations: 0.7689 MB / 0.8351 GB, free: 136.8 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005327/2.116, allocations: 3.239 MB / 0.8383 GB, free: 135.8 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009877/2.126, allocations: 9.799 MB / 0.8479 GB, free: 125.9 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009994/2.136, allocations: 5.436 MB / 0.8532 GB, free: 123.9 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002094/2.137, allocations: 65.91 kB / 0.8532 GB, free: 123.9 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.03012/2.167, allocations: 12.77 MB / 0.8657 GB, free: 118.9 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001965/2.167, allocations: 104.8 kB / 0.8658 GB, free: 118.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003589/2.167, allocations: 231.5 kB / 0.866 GB, free: 118.9 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004418/2.168, allocations: 344.3 kB / 0.8664 GB, free: 118.9 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009776/2.177, allocations: 2.56 MB / 0.8689 GB, free: 118.6 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008549/2.178, allocations: 458.9 kB / 0.8693 GB, free: 118.5 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0105/2.189, allocations: 0.5112 MB / 0.8698 GB, free: 118.4 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002526/2.191, allocations: 0.6584 MB / 0.8704 GB, free: 118.3 MB / 0.4982 GB 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 (1377): * Single equations (assignments): 1366 * 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.01399/2.205, allocations: 4.524 MB / 0.8749 GB, free: 116.2 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002306/2.208, allocations: 0.6645 MB / 0.8755 GB, free: 115.9 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/2.219, allocations: 4.094 MB / 0.8795 GB, free: 114.2 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.279e-05/2.219, allocations: 40.56 kB / 0.8795 GB, free: 114.2 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.969e-05/2.219, allocations: 1.312 kB / 0.8795 GB, free: 114.2 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.891e-05/2.219, allocations: 19.52 kB / 0.8796 GB, free: 114.2 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07532/2.294, allocations: 49.28 MB / 0.9277 GB, free: 80.43 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003667/2.295, allocations: 72 kB / 0.9278 GB, free: 80.36 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003389/2.298, allocations: 0.7586 MB / 0.9285 GB, free: 79.61 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001159/2.298, allocations: 108 kB / 0.9286 GB, free: 79.5 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000818/2.299, allocations: 168 kB / 0.9288 GB, free: 79.34 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.757e-05/2.299, allocations: 139.4 kB / 0.9289 GB, free: 79.2 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.928e-05/2.299, allocations: 115.7 kB / 0.929 GB, free: 79.09 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01332/2.313, allocations: 21.78 MB / 0.9503 GB, free: 54.21 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003047/2.316, allocations: 0.82 MB / 0.9511 GB, free: 53.37 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002295/2.318, allocations: 167.9 kB / 0.9512 GB, free: 53.2 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005303/2.323, allocations: 219.9 kB / 0.9515 GB, free: 52.99 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008167/2.324, allocations: 490 kB / 0.9519 GB, free: 52.51 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005627/2.325, allocations: 208 kB / 0.9521 GB, free: 52.3 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.01038/2.335, allocations: 4.944 MB / 0.9569 GB, free: 47.4 MB / 0.4982 GB Notification: Performance of sort global known variables: time 4.2e-07/2.335, allocations: 0 / 0.9569 GB, free: 47.4 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01502/2.35, allocations: 1.91 MB / 0.9588 GB, free: 45.5 MB / 0.4982 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 (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.001596/2.352, allocations: 385.2 kB / 0.9592 GB, free: 45.11 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01231/2.364, allocations: 7.661 MB / 0.9667 GB, free: 37.49 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 7.192e-05/2.364, allocations: 8 kB / 0.9667 GB, free: 37.48 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.00316/2.367, allocations: 2.136 MB / 0.9688 GB, free: 35.36 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005887/2.373, allocations: 1.027 MB / 0.9698 GB, free: 34.36 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03977/2.413, allocations: 25.93 MB / 0.9951 GB, free: 7.367 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01026/2.423, allocations: 7.141 MB / 1.002 GB, free: 184 kB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.01035/2.434, allocations: 3.312 MB / 1.005 GB, free: 12.86 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00179/2.436, allocations: 0.4954 MB / 1.006 GB, free: 12.37 MB / 0.5138 GB Notification: Performance of SimCode: time 1.011e-06/2.436, allocations: 0 / 1.006 GB, free: 12.37 MB / 0.5138 GB Notification: Performance of Templates: time 0.3733/2.809, allocations: 57.09 MB / 1.062 GB, free: 126.8 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1) Environment - environmentSimulation: