Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.CutForceAndTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001295/0.001295, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001312/0.001312, allocations: 192.9 kB / 16.14 MB, free: 6.703 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.818/1.818, allocations: 205.1 MB / 222 MB, free: 4.965 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.4264/0.4264, allocations: 37.98 MB / 307.3 MB, free: 9.844 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.001493/0.001493, allocations: 66.41 kB / 374.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1383, allocations: 56.46 MB / 431 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.4032/0.5416, allocations: 133.2 MB / 0.5509 GB, free: 14.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.08363/0.6253, allocations: 24.67 MB / 0.575 GB, free: 9.492 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.04019/0.6655, allocations: 0.5651 MB / 0.5756 GB, free: 8.926 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01525/0.6809, allocations: 7.675 MB / 0.5831 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01199/0.6929, allocations: 3.471 MB / 0.5865 GB, free: 13.76 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004877/0.6978, allocations: 1.619 MB / 0.5881 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01877/0.7166, allocations: 14.2 MB / 0.6019 GB, free: 13.91 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01378/0.7304, allocations: 9.414 MB / 0.6111 GB, free: 4.457 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007446/0.7379, allocations: 3.527 MB / 0.6146 GB, free: 0.918 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008733/0.7467, allocations: 5.616 MB / 0.62 GB, free: 11.29 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003013/0.7497, allocations: 0.6328 MB / 0.6207 GB, free: 10.65 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005416/0.7551, allocations: 1.51 MB / 0.6221 GB, free: 9.141 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007539/0.7627, allocations: 4.695 MB / 0.6267 GB, free: 4.434 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.37/1.133, allocations: 5.286 MB / 0.6319 GB, free: 25.49 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0269/1.16, allocations: 16.18 MB / 0.6477 GB, free: 24.69 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/1.16, allocations: 2.25 kB / 0.6477 GB, free: 24.69 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.234e-06/1.16, allocations: 0 / 0.6477 GB, free: 24.69 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0009701/1.161, allocations: 2.219 kB / 0.6477 GB, free: 24.69 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.04711/1.208, allocations: 11.37 MB / 0.6588 GB, free: 20.6 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/1.208, allocations: 9.625 kB / 0.6588 GB, free: 20.6 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01699/1.225, allocations: 3.018 MB / 0.6617 GB, free: 19.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0159/1.241, allocations: 5.7 MB / 0.6673 GB, free: 18.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001091/1.242, allocations: 0.5941 MB / 0.6679 GB, free: 18.8 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005722/1.248, allocations: 0.7714 MB / 0.6686 GB, free: 18.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06292/1.311, allocations: 24.47 MB / 0.6925 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004317/1.311, allocations: 78.67 kB / 0.6926 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003744/1.315, allocations: 366.9 kB / 0.693 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006412/1.321, allocations: 4.547 MB / 0.6974 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04296/1.364, allocations: 19.21 MB / 0.7162 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1462/1.511, allocations: 85.85 MB / 0.8 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02275/1.534, allocations: 7.804 MB / 0.8076 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005769/1.539, allocations: 3.12 MB / 0.8107 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02757/1.567, allocations: 13.11 MB / 0.8235 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.717e-05/1.567, allocations: 64.78 kB / 0.8235 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=336): time 6.282e-06/1.567, allocations: 0 / 0.8235 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of matching and sorting (n=360): time 0.05709/1.624, allocations: 20.51 MB / 0.8436 GB, free: 8.102 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/1.624, allocations: 174.9 kB / 0.8437 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0128/1.637, allocations: 7.411 MB / 0.851 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.001183/1.638, allocations: 77.7 kB / 0.851 GB, free: 456 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.2576/1.896, allocations: 6.766 MB / 0.8576 GB, free: 279 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001725/1.898, allocations: 1.359 MB / 0.859 GB, free: 278.3 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003788/1.902, allocations: 2.192 MB / 0.8611 GB, free: 278.1 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 4.994e-05/1.902, allocations: 308.1 kB / 0.8614 GB, free: 277.8 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007552/1.909, allocations: 3.311 MB / 0.8646 GB, free: 276.7 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0124/1.922, allocations: 9.929 MB / 0.8743 GB, free: 266.9 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02115/1.943, allocations: 14.4 MB / 0.8884 GB, free: 254.5 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003974/1.943, allocations: 66.5 kB / 0.8885 GB, free: 254.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.03143/1.975, allocations: 12.94 MB / 0.9011 GB, free: 249.5 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003562/1.975, allocations: 104.7 kB / 0.9012 GB, free: 249.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007091/1.976, allocations: 236.5 kB / 0.9014 GB, free: 249.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006063/1.976, allocations: 310.1 kB / 0.9017 GB, free: 249.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01065/1.987, allocations: 2.583 MB / 0.9042 GB, free: 249.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005402/1.988, allocations: 456.3 kB / 0.9047 GB, free: 249.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01028/1.998, allocations: 0.5177 MB / 0.9052 GB, free: 248.9 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003652/2.002, allocations: 0.6677 MB / 0.9058 GB, free: 248.8 MB / 0.6231 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 (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.01444/2.016, allocations: 4.527 MB / 0.9102 GB, free: 246.8 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001607/2.018, allocations: 0.6561 MB / 0.9109 GB, free: 246.4 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007947/2.026, allocations: 4.096 MB / 0.9149 GB, free: 244.8 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-05/2.026, allocations: 40.61 kB / 0.9149 GB, free: 244.8 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/2.026, allocations: 7.938 kB / 0.9149 GB, free: 244.8 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.278e-05/2.026, allocations: 14.58 kB / 0.9149 GB, free: 244.8 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05432/2.08, allocations: 42.07 MB / 0.956 GB, free: 209.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.253e-05/2.08, allocations: 88 kB / 0.9561 GB, free: 209.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002415/2.083, allocations: 0.8616 MB / 0.957 GB, free: 209 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.749e-05/2.083, allocations: 123.9 kB / 0.9571 GB, free: 208.9 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002548/2.083, allocations: 196.6 kB / 0.9573 GB, free: 208.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.844e-05/2.083, allocations: 179.3 kB / 0.9574 GB, free: 208.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.254e-05/2.083, allocations: 143.4 kB / 0.9576 GB, free: 208.4 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00719/2.09, allocations: 8.038 MB / 0.9654 GB, free: 198.8 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001943/2.092, allocations: 0.8395 MB / 0.9662 GB, free: 198 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001067/2.093, allocations: 205.7 kB / 0.9664 GB, free: 197.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00371/2.097, allocations: 204.1 kB / 0.9666 GB, free: 197.6 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006028/2.098, allocations: 0.5909 MB / 0.9672 GB, free: 197 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003327/2.098, allocations: 258 kB / 0.9675 GB, free: 196.7 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.008628/2.107, allocations: 4.611 MB / 0.972 GB, free: 192.2 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.21e-07/2.107, allocations: 0 / 0.972 GB, free: 192.2 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.01393/2.121, allocations: 1.89 MB / 0.9738 GB, free: 190.3 MB / 0.6231 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.001369/2.122, allocations: 421.5 kB / 0.9742 GB, free: 189.8 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01312/2.135, allocations: 7.763 MB / 0.9818 GB, free: 182.1 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.066e-05/2.135, allocations: 12 kB / 0.9818 GB, free: 182.1 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003402/2.139, allocations: 2.223 MB / 0.984 GB, free: 179.9 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00961/2.148, allocations: 1.13 MB / 0.9851 GB, free: 178.8 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04044/2.189, allocations: 27.65 MB / 1.012 GB, free: 149.9 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01092/2.2, allocations: 6.967 MB / 1.019 GB, free: 142.9 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.008757/2.209, allocations: 3.31 MB / 1.022 GB, free: 139.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001253/2.21, allocations: 0.5033 MB / 1.023 GB, free: 139 MB / 0.6231 GB Notification: Performance of SimCode: time 8.82e-07/2.21, allocations: 0 / 1.023 GB, free: 139 MB / 0.6231 GB Notification: Performance of Templates: time 0.1113/2.321, allocations: 59.49 MB / 1.081 GB, free: 79.68 MB / 0.6231 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1)