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.001223/0.001223, allocations: 108 kB / 15.61 MB, free: 152 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.001506/0.001507, allocations: 192.1 kB / 16.53 MB, free: 6.664 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.726/1.726, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.4027/0.4027, allocations: 37.98 MB / 307.7 MB, free: 9.992 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.001784/0.001785, allocations: 78.5 kB / 375.2 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.157, allocations: 56.46 MB / 431.7 MB, free: 6.629 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.02409/0.1812, allocations: 21.23 MB / 452.9 MB, free: 1.301 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3321/0.5134, allocations: 6.066 MB / 459 MB, free: 35.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00545/0.5189, allocations: 148.7 kB / 459.1 MB, free: 35.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01389/0.5329, allocations: 7.655 MB / 466.8 MB, free: 34.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01304/0.5459, allocations: 3.659 MB / 470.5 MB, free: 32.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005716/0.5517, allocations: 1.717 MB / 472.2 MB, free: 32.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01692/0.5687, allocations: 9.606 MB / 481.8 MB, free: 29.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01635/0.5851, allocations: 9.504 MB / 491.3 MB, free: 25.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.011/0.5961, allocations: 3.946 MB / 495.2 MB, free: 24.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01221/0.6083, allocations: 5.283 MB / 0.4888 GB, free: 22.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005986/0.6144, allocations: 0.8688 MB / 0.4896 GB, free: 22.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009062/0.6235, allocations: 1.663 MB / 0.4913 GB, free: 22.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009942/0.6334, allocations: 4.871 MB / 0.496 GB, free: 20.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0152/0.6487, allocations: 5.513 MB / 0.5014 GB, free: 16.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02713/0.6759, allocations: 16.44 MB / 0.5174 GB, free: 2.426 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.442e-05/0.676, allocations: 0 / 0.5174 GB, free: 2.426 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.398e-06/0.676, allocations: 4 kB / 0.5175 GB, free: 2.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001042/0.6771, allocations: 0 / 0.5175 GB, free: 2.422 MB / 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.03889/0.716, allocations: 11.37 MB / 0.5286 GB, free: 7.188 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.183e-05/0.7161, allocations: 11.89 kB / 0.5286 GB, free: 7.176 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01488/0.7309, allocations: 3.023 MB / 0.5315 GB, free: 4.137 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01354/0.7445, allocations: 5.703 MB / 0.5371 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000755/0.7453, allocations: 0.5928 MB / 0.5377 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003911/0.7492, allocations: 0.7717 MB / 0.5384 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06141/0.8107, allocations: 24.47 MB / 0.5623 GB, free: 3.754 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007641/0.8115, allocations: 79.28 kB / 0.5624 GB, free: 3.676 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005038/0.8166, allocations: 369.8 kB / 0.5627 GB, free: 3.402 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008967/0.8256, allocations: 4.534 MB / 0.5672 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05071/0.8764, allocations: 19.2 MB / 0.5859 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6499/1.526, allocations: 85.86 MB / 0.6698 GB, free: 79.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02141/1.548, allocations: 7.742 MB / 0.6773 GB, free: 77.87 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006398/1.554, allocations: 3.116 MB / 0.6804 GB, free: 76.72 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03188/1.586, allocations: 13.11 MB / 0.6932 GB, free: 70.35 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.638e-05/1.586, allocations: 70.02 kB / 0.6932 GB, free: 70.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=336): time 8.436e-06/1.586, allocations: 0 / 0.6932 GB, free: 70.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=360): time 0.05907/1.645, allocations: 20.51 MB / 0.7133 GB, free: 61.51 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.232e-05/1.645, allocations: 172.2 kB / 0.7134 GB, free: 61.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01162/1.657, allocations: 7.41 MB / 0.7207 GB, free: 58.78 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008588/1.658, allocations: 84.02 kB / 0.7208 GB, free: 58.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004265/1.662, allocations: 6.755 MB / 0.7273 GB, free: 53.56 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001734/1.664, allocations: 1.367 MB / 0.7287 GB, free: 52.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002919/1.667, allocations: 2.188 MB / 0.7308 GB, free: 51.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.404e-05/1.667, allocations: 309.1 kB / 0.7311 GB, free: 51.21 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004764/1.672, allocations: 3.31 MB / 0.7343 GB, free: 50.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009297/1.681, allocations: 9.922 MB / 0.744 GB, free: 39.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01741/1.699, allocations: 14.41 MB / 0.7581 GB, free: 26.47 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004114/1.699, allocations: 71.94 kB / 0.7582 GB, free: 26.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.02915/1.728, allocations: 12.94 MB / 0.7708 GB, free: 13.42 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000317/1.728, allocations: 104 kB / 0.7709 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003654/1.729, allocations: 240.2 kB / 0.7711 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002449/1.729, allocations: 308 kB / 0.7714 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008967/1.738, allocations: 2.577 MB / 0.774 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002982/1.738, allocations: 458.2 kB / 0.7744 GB, free: 9.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01049/1.749, allocations: 0.5152 MB / 0.7749 GB, free: 9.234 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002544/1.752, allocations: 0.6677 MB / 0.7755 GB, free: 8.57 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.0117/1.763, allocations: 4.529 MB / 0.78 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00201/1.765, allocations: 0.6633 MB / 0.7806 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009454/1.775, allocations: 4.089 MB / 0.7846 GB, free: 15.21 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.758e-05/1.775, allocations: 47.77 kB / 0.7847 GB, free: 15.17 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.211e-05/1.775, allocations: 0 / 0.7847 GB, free: 15.17 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-05/1.775, allocations: 19.92 kB / 0.7847 GB, free: 15.15 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3585/2.133, allocations: 49.27 MB / 0.8328 GB, free: 159.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002949/2.134, allocations: 73.56 kB / 0.8329 GB, free: 159.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003231/2.137, allocations: 0.7434 MB / 0.8336 GB, free: 159.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001193/2.137, allocations: 97.66 kB / 0.8337 GB, free: 159.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007021/2.138, allocations: 169.7 kB / 0.8338 GB, free: 159.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001/2.138, allocations: 141.4 kB / 0.834 GB, free: 159.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-05/2.138, allocations: 118.2 kB / 0.8341 GB, free: 159.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007997/2.146, allocations: 7.342 MB / 0.8413 GB, free: 155.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001817/2.148, allocations: 0.7817 MB / 0.842 GB, free: 155.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00102/2.149, allocations: 170.4 kB / 0.8422 GB, free: 155.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003194/2.152, allocations: 208.3 kB / 0.8424 GB, free: 155.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005537/2.153, allocations: 0.4895 MB / 0.8429 GB, free: 155.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002899/2.153, allocations: 215.3 kB / 0.8431 GB, free: 155.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007989/2.161, allocations: 4.611 MB / 0.8476 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.11e-07/2.161, allocations: 0 / 0.8476 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01124/2.172, allocations: 1.888 MB / 0.8494 GB, free: 153.6 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.001049/2.173, allocations: 367.7 kB / 0.8498 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01308/2.186, allocations: 8.05 MB / 0.8576 GB, free: 150.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 0.0001034/2.187, allocations: 11 kB / 0.8576 GB, free: 150.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004127/2.191, allocations: 2.14 MB / 0.8597 GB, free: 150 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008451/2.199, allocations: 1.122 MB / 0.8608 GB, free: 149.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04458/2.244, allocations: 22.04 MB / 0.8823 GB, free: 138.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01558/2.259, allocations: 6.928 MB / 0.8891 GB, free: 135.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.01378/2.273, allocations: 3.31 MB / 0.8923 GB, free: 135.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002292/2.276, allocations: 498.1 kB / 0.8928 GB, free: 135.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.052e-06/2.276, allocations: 0 / 0.8928 GB, free: 135.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.1112/2.387, allocations: 60.24 MB / 0.9516 GB, free: 85.74 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile (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)