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.006307/0.006307, allocations: 99.38 kB / 15.73 MB, free: 6.008 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.001392/0.001392, allocations: 196.1 kB / 16.68 MB, free: 5.93 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.665/1.665, allocations: 205.1 MB / 222.6 MB, free: 4.473 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.3552/0.3552, allocations: 37.99 MB / 307.9 MB, free: 10.1 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.001906/0.001906, allocations: 71.84 kB / 433 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4249, allocations: 56.46 MB / 489.5 MB, free: 20.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.02382/0.4488, allocations: 21.24 MB / 0.4987 GB, free: 5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02026/0.4692, allocations: 6.068 MB / 0.5047 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007673/0.4769, allocations: 145.2 kB / 0.5048 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0173/0.4943, allocations: 7.669 MB / 0.5123 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01604/0.5103, allocations: 3.647 MB / 0.5158 GB, free: 9.422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006873/0.5173, allocations: 1.714 MB / 0.5175 GB, free: 8.277 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02233/0.5397, allocations: 9.608 MB / 0.5269 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02045/0.5602, allocations: 9.506 MB / 0.5362 GB, free: 7.895 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01051/0.5707, allocations: 3.945 MB / 0.54 GB, free: 3.938 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0112/0.582, allocations: 5.285 MB / 0.5452 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004824/0.5869, allocations: 0.8711 MB / 0.546 GB, free: 13.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007323/0.5942, allocations: 1.658 MB / 0.5477 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009094/0.6034, allocations: 4.875 MB / 0.5524 GB, free: 7.219 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0145/0.6179, allocations: 5.508 MB / 0.5578 GB, free: 1.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02788/0.6458, allocations: 17.01 MB / 0.5744 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.6459, allocations: 0 / 0.5744 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.6459, allocations: 0 / 0.5744 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008709/0.6468, allocations: 0 / 0.5744 GB, free: 0.6133 MB / 446.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.04041/0.6872, allocations: 11.37 MB / 0.5855 GB, free: 5.145 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.96e-05/0.6873, allocations: 15.89 kB / 0.5855 GB, free: 5.129 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01614/0.7034, allocations: 3.021 MB / 0.5885 GB, free: 2.09 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0175/0.721, allocations: 5.819 MB / 0.5942 GB, free: 12.19 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008314/0.7219, allocations: 0.6006 MB / 0.5948 GB, free: 11.59 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003587/0.7255, allocations: 0.7652 MB / 0.5955 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0637/0.7892, allocations: 24.46 MB / 0.6194 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004014/0.7896, allocations: 83.33 kB / 0.6195 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003127/0.7928, allocations: 363.7 kB / 0.6198 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008743/0.8015, allocations: 4.539 MB / 0.6242 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5788/1.38, allocations: 19.2 MB / 0.643 GB, free: 110.5 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1371/1.518, allocations: 85.3 MB / 0.7263 GB, free: 48.57 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02086/1.538, allocations: 7.801 MB / 0.7339 GB, free: 41.75 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005155/1.544, allocations: 3.13 MB / 0.737 GB, free: 38.6 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02783/1.572, allocations: 13.1 MB / 0.7498 GB, free: 25.09 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.542e-05/1.572, allocations: 72.78 kB / 0.7498 GB, free: 25.01 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=336): time 9.849e-06/1.572, allocations: 0 / 0.7498 GB, free: 25.01 MB / 0.4982 GB Notification: Performance of matching and sorting (n=360): time 0.05534/1.627, allocations: 20.51 MB / 0.7699 GB, free: 4.438 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/1.627, allocations: 171 kB / 0.77 GB, free: 4.238 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01213/1.639, allocations: 7.419 MB / 0.7773 GB, free: 12.85 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0009173/1.64, allocations: 81.7 kB / 0.7773 GB, free: 12.77 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.007623/1.648, allocations: 6.764 MB / 0.784 GB, free: 5.914 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002753/1.651, allocations: 1.365 MB / 0.7853 GB, free: 4.531 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004393/1.655, allocations: 2.186 MB / 0.7874 GB, free: 2.336 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001049/1.655, allocations: 305.1 kB / 0.7877 GB, free: 2.035 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005816/1.661, allocations: 3.313 MB / 0.7909 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01335/1.674, allocations: 9.927 MB / 0.8006 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02026/1.695, allocations: 14.4 MB / 0.8147 GB, free: 15.82 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000284/1.695, allocations: 68 kB / 0.8148 GB, free: 15.75 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.03423/1.729, allocations: 12.93 MB / 0.8274 GB, free: 2.766 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001669/1.729, allocations: 104 kB / 0.8275 GB, free: 2.664 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003417/1.73, allocations: 232 kB / 0.8277 GB, free: 2.438 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003011/1.73, allocations: 312.8 kB / 0.828 GB, free: 2.133 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009813/1.74, allocations: 2.581 MB / 0.8305 GB, free: 15.55 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004959/1.74, allocations: 454.2 kB / 0.831 GB, free: 15.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009294/1.75, allocations: 0.5268 MB / 0.8315 GB, free: 14.57 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002361/1.752, allocations: 0.6562 MB / 0.8321 GB, free: 13.92 MB / 0.5763 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.01102/1.763, allocations: 4.536 MB / 0.8366 GB, free: 9.363 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001795/1.765, allocations: 0.6555 MB / 0.8372 GB, free: 8.699 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008454/1.774, allocations: 4.093 MB / 0.8412 GB, free: 4.559 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.063e-05/1.774, allocations: 36 kB / 0.8412 GB, free: 4.523 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-05/1.774, allocations: 192 / 0.8412 GB, free: 4.523 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.003e-05/1.774, allocations: 19.94 kB / 0.8412 GB, free: 4.504 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.443/2.217, allocations: 42.06 MB / 0.8823 GB, free: 181.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001869/2.217, allocations: 90.34 kB / 0.8824 GB, free: 181.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003356/2.22, allocations: 0.8631 MB / 0.8832 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001714/2.22, allocations: 121.9 kB / 0.8834 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004456/2.221, allocations: 200.8 kB / 0.8836 GB, free: 181 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001731/2.221, allocations: 179.7 kB / 0.8837 GB, free: 181 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001227/2.221, allocations: 146.7 kB / 0.8839 GB, free: 181 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009611/2.231, allocations: 8.034 MB / 0.8917 GB, free: 174.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002498/2.233, allocations: 0.8322 MB / 0.8925 GB, free: 174.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001131/2.235, allocations: 212 kB / 0.8927 GB, free: 174.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003274/2.238, allocations: 206.5 kB / 0.8929 GB, free: 174.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007768/2.239, allocations: 0.5912 MB / 0.8935 GB, free: 174.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003405/2.239, allocations: 249.9 kB / 0.8937 GB, free: 174.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007975/2.247, allocations: 4.611 MB / 0.8982 GB, free: 172.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.91e-07/2.247, allocations: 3.812 kB / 0.8982 GB, free: 172.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01581/2.263, allocations: 1.884 MB / 0.9001 GB, free: 172.5 MB / 0.5919 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.002248/2.265, allocations: 428.3 kB / 0.9005 GB, free: 172.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01455/2.28, allocations: 7.987 MB / 0.9083 GB, free: 169.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 0.0001274/2.28, allocations: 15.72 kB / 0.9083 GB, free: 169.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004163/2.284, allocations: 2.219 MB / 0.9105 GB, free: 168.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01252/2.297, allocations: 1.182 MB / 0.9116 GB, free: 168.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04301/2.34, allocations: 22.34 MB / 0.9334 GB, free: 147.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0127/2.352, allocations: 6.966 MB / 0.9402 GB, free: 142.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00854/2.361, allocations: 3.317 MB / 0.9435 GB, free: 140 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001646/2.363, allocations: 0.5033 MB / 0.944 GB, free: 139.5 MB / 0.5919 GB Notification: Performance of SimCode: time 1.082e-06/2.363, allocations: 0 / 0.944 GB, free: 139.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.1018/2.464, allocations: 55.77 MB / 0.9984 GB, free: 83.99 MB / 0.5919 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)