Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.CutForceAndTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, 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.001256/0.001256, allocations: 194.6 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.649/1.649, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.415/0.415, allocations: 39.93 MB / 309.7 MB, free: 9.23 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.001519/0.001519, allocations: 67.89 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1485, allocations: 56.89 MB / 434.5 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.2992/0.4478, allocations: 21.22 MB / 455.7 MB, free: 36.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01371/0.4615, allocations: 6.068 MB / 461.8 MB, free: 35.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005156/0.4668, allocations: 146.7 kB / 461.9 MB, free: 35.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01293/0.4797, allocations: 7.665 MB / 469.6 MB, free: 34.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01091/0.4907, allocations: 3.658 MB / 473.3 MB, free: 32.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004554/0.4953, allocations: 1.719 MB / 475 MB, free: 32.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01396/0.5093, allocations: 9.59 MB / 484.6 MB, free: 29.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01626/0.5256, allocations: 9.523 MB / 494.1 MB, free: 25.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01093/0.5366, allocations: 3.935 MB / 498 MB, free: 24.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01179/0.5484, allocations: 5.289 MB / 0.4915 GB, free: 22.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005526/0.554, allocations: 0.8684 MB / 0.4924 GB, free: 22.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008551/0.5626, allocations: 1.658 MB / 0.494 GB, free: 22.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01187/0.5745, allocations: 4.875 MB / 0.4987 GB, free: 19.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01542/0.5899, allocations: 5.498 MB / 0.5041 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02443/0.6144, allocations: 16.45 MB / 0.5202 GB, free: 312 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.6145, allocations: 4 kB / 0.5202 GB, free: 308 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.6145, allocations: 0 / 0.5202 GB, free: 308 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007172/0.6152, allocations: 0 / 0.5202 GB, free: 308 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.03995/0.6552, allocations: 11.37 MB / 0.5313 GB, free: 5.066 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.448e-05/0.6553, allocations: 15.89 kB / 0.5313 GB, free: 5.051 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01583/0.6711, allocations: 3.014 MB / 0.5342 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01602/0.6872, allocations: 5.708 MB / 0.5398 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006945/0.6879, allocations: 0.5934 MB / 0.5404 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003411/0.6914, allocations: 0.7701 MB / 0.5411 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05365/0.745, allocations: 24.46 MB / 0.565 GB, free: 1.469 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003656/0.7454, allocations: 87.25 kB / 0.5651 GB, free: 1.383 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002857/0.7483, allocations: 363.7 kB / 0.5655 GB, free: 1.027 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008235/0.7566, allocations: 4.543 MB / 0.5699 GB, free: 12.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0488/0.8054, allocations: 19.2 MB / 0.5886 GB, free: 9.25 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6689/1.474, allocations: 85.85 MB / 0.6725 GB, free: 77.29 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0218/1.496, allocations: 7.807 MB / 0.6801 GB, free: 75.53 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005563/1.502, allocations: 3.113 MB / 0.6831 GB, free: 74.38 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02527/1.527, allocations: 13.12 MB / 0.696 GB, free: 68.01 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.697e-05/1.527, allocations: 71.41 kB / 0.696 GB, free: 67.94 MB / 494.1 MB Notification: Performance of pre-optimization done (n=336): time 6.573e-06/1.527, allocations: 3.562 kB / 0.696 GB, free: 67.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=360): time 0.06111/1.588, allocations: 20.51 MB / 0.7161 GB, free: 59.17 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/1.589, allocations: 161.7 kB / 0.7162 GB, free: 59.01 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009567/1.598, allocations: 7.412 MB / 0.7234 GB, free: 56.44 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006782/1.599, allocations: 80.95 kB / 0.7235 GB, free: 56.37 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00369/1.603, allocations: 6.766 MB / 0.7301 GB, free: 51.22 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001459/1.604, allocations: 1.359 MB / 0.7315 GB, free: 50.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002441/1.606, allocations: 2.192 MB / 0.7336 GB, free: 49.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.994e-05/1.606, allocations: 305.1 kB / 0.7339 GB, free: 48.88 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004399/1.611, allocations: 3.312 MB / 0.7371 GB, free: 47.85 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009142/1.62, allocations: 9.931 MB / 0.7468 GB, free: 37.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01507/1.635, allocations: 14.4 MB / 0.7609 GB, free: 23.62 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002923/1.636, allocations: 68.88 kB / 0.761 GB, free: 23.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.02203/1.658, allocations: 12.93 MB / 0.7736 GB, free: 10.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002173/1.658, allocations: 107.9 kB / 0.7737 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002998/1.658, allocations: 232 kB / 0.7739 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003091/1.658, allocations: 316.5 kB / 0.7742 GB, free: 9.934 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008103/1.667, allocations: 2.578 MB / 0.7767 GB, free: 7.352 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000396/1.667, allocations: 458.2 kB / 0.7772 GB, free: 6.902 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008197/1.675, allocations: 0.5189 MB / 0.7777 GB, free: 6.387 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001756/1.677, allocations: 0.6596 MB / 0.7783 GB, free: 5.73 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 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[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.008333/1.685, allocations: 4.54 MB / 0.7827 GB, free: 1.176 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001458/1.687, allocations: 0.6516 MB / 0.7834 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009483/1.696, allocations: 4.099 MB / 0.7874 GB, free: 12.37 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.106e-05/1.696, allocations: 36 kB / 0.7874 GB, free: 12.34 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.828e-05/1.696, allocations: 0 / 0.7874 GB, free: 12.34 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.395e-05/1.696, allocations: 19.94 kB / 0.7874 GB, free: 12.32 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08923/1.786, allocations: 42.07 MB / 0.8285 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002507/1.786, allocations: 92 kB / 0.8286 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003193/1.789, allocations: 0.8655 MB / 0.8295 GB, free: 32 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.305/2.094, allocations: 116.6 kB / 0.8296 GB, free: 156.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00109/2.095, allocations: 194.3 kB / 0.8297 GB, free: 156.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000187/2.096, allocations: 180.7 kB / 0.8299 GB, free: 156.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001007/2.096, allocations: 142.3 kB / 0.8301 GB, free: 156.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01346/2.109, allocations: 8.04 MB / 0.8379 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003224/2.112, allocations: 0.8287 MB / 0.8387 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002741/2.115, allocations: 208.8 kB / 0.8389 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00745/2.123, allocations: 209.5 kB / 0.8391 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001515/2.124, allocations: 0.5863 MB / 0.8397 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007003/2.125, allocations: 250.4 kB / 0.8399 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01396/2.139, allocations: 4.611 MB / 0.8444 GB, free: 150.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.41e-07/2.139, allocations: 2 kB / 0.8444 GB, free: 150.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01852/2.158, allocations: 1.893 MB / 0.8463 GB, free: 150.1 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 413 * 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 (455): * Single equations (assignments): 452 * 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.001732/2.159, allocations: 422 kB / 0.8467 GB, free: 149.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01874/2.178, allocations: 8.073 MB / 0.8546 GB, free: 147.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.45e-05/2.178, allocations: 14.97 kB / 0.8546 GB, free: 147.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004541/2.183, allocations: 2.22 MB / 0.8568 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009947/2.193, allocations: 1.186 MB / 0.8579 GB, free: 146 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04755/2.24, allocations: 22.6 MB / 0.88 GB, free: 133.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01402/2.254, allocations: 6.966 MB / 0.8868 GB, free: 131.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.01137/2.266, allocations: 3.307 MB / 0.89 GB, free: 131.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002333/2.268, allocations: 0.503 MB / 0.8905 GB, free: 131.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.553e-06/2.268, allocations: 4 kB / 0.8905 GB, free: 131.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.1249/2.393, allocations: 61.75 MB / 0.9508 GB, free: 82.9 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1)