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.007993/0.007993, allocations: 99.34 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.001774/0.001774, allocations: 200.3 kB / 16.68 MB, free: 5.934 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.6/1.6, allocations: 205.1 MB / 222.6 MB, free: 4.496 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.3594/0.3594, allocations: 37.99 MB / 307.9 MB, free: 10.12 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.002597/0.002597, allocations: 67.84 kB / 433 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3829, allocations: 56.47 MB / 489.5 MB, free: 19.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.02282/0.4058, allocations: 21.22 MB / 0.4987 GB, free: 4.797 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01859/0.4245, allocations: 6.067 MB / 0.5046 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007486/0.4321, allocations: 146 kB / 0.5048 GB, free: 0.707 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01613/0.4482, allocations: 7.676 MB / 0.5123 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01424/0.4625, allocations: 3.647 MB / 0.5158 GB, free: 9.191 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005823/0.4684, allocations: 1.718 MB / 0.5175 GB, free: 8.043 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02071/0.4892, allocations: 9.605 MB / 0.5269 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01756/0.5068, allocations: 9.502 MB / 0.5362 GB, free: 7.762 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01004/0.5169, allocations: 3.949 MB / 0.54 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01006/0.527, allocations: 5.281 MB / 0.5452 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004297/0.5313, allocations: 0.8672 MB / 0.546 GB, free: 13.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007066/0.5384, allocations: 1.662 MB / 0.5477 GB, free: 11.97 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007535/0.546, allocations: 4.875 MB / 0.5524 GB, free: 7.086 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01138/0.5574, allocations: 5.508 MB / 0.5578 GB, free: 1.547 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02354/0.581, allocations: 17.08 MB / 0.5745 GB, free: 412 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.5811, allocations: 0 / 0.5745 GB, free: 412 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5811, allocations: 0 / 0.5745 GB, free: 412 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006939/0.5818, allocations: 0 / 0.5745 GB, free: 412 kB / 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.03049/0.6123, allocations: 11.68 MB / 0.5859 GB, free: 4.609 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.598e-05/0.6124, allocations: 11.89 kB / 0.5859 GB, free: 4.598 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01347/0.6258, allocations: 3.083 MB / 0.5889 GB, free: 1.504 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0128/0.6387, allocations: 5.853 MB / 0.5946 GB, free: 11.57 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000559/0.6393, allocations: 0.6006 MB / 0.5952 GB, free: 10.97 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003785/0.6431, allocations: 0.7613 MB / 0.5959 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05305/0.6962, allocations: 24.46 MB / 0.6198 GB, free: 472 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004637/0.6967, allocations: 79.39 kB / 0.6199 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003277/0.7, allocations: 363.7 kB / 0.6203 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008147/0.7081, allocations: 4.547 MB / 0.6247 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5693/1.277, allocations: 19.19 MB / 0.6434 GB, free: 109.7 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1406/1.418, allocations: 85.48 MB / 0.7269 GB, free: 47.93 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02045/1.439, allocations: 7.752 MB / 0.7345 GB, free: 40.94 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004956/1.444, allocations: 3.122 MB / 0.7375 GB, free: 37.8 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02491/1.469, allocations: 13.14 MB / 0.7504 GB, free: 24.47 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.254e-05/1.469, allocations: 68.78 kB / 0.7504 GB, free: 24.39 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=336): time 8.175e-06/1.469, allocations: 3.938 kB / 0.7504 GB, free: 24.39 MB / 0.4982 GB Notification: Performance of matching and sorting (n=360): time 0.05711/1.526, allocations: 21.04 MB / 0.771 GB, free: 3.84 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/1.526, allocations: 174.9 kB / 0.7712 GB, free: 3.637 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01386/1.54, allocations: 7.43 MB / 0.7784 GB, free: 12.37 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0008131/1.541, allocations: 77.7 kB / 0.7785 GB, free: 12.29 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.006309/1.547, allocations: 7.027 MB / 0.7854 GB, free: 5.199 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.00214/1.549, allocations: 1.419 MB / 0.7867 GB, free: 3.77 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00567/1.555, allocations: 2.207 MB / 0.7889 GB, free: 1.555 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.555, allocations: 309.1 kB / 0.7892 GB, free: 1.25 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007703/1.563, allocations: 3.305 MB / 0.7924 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01359/1.576, allocations: 9.93 MB / 0.8021 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01986/1.596, allocations: 14.41 MB / 0.8162 GB, free: 15.02 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000269/1.597, allocations: 68 kB / 0.8163 GB, free: 14.96 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.04164/1.638, allocations: 12.97 MB / 0.8289 GB, free: 1.938 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.000594/1.639, allocations: 108 kB / 0.829 GB, free: 1.832 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007656/1.64, allocations: 232 kB / 0.8292 GB, free: 1.605 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008217/1.641, allocations: 312 kB / 0.8295 GB, free: 1.301 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01365/1.654, allocations: 2.573 MB / 0.8321 GB, free: 14.72 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006167/1.655, allocations: 458.2 kB / 0.8325 GB, free: 14.27 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01534/1.67, allocations: 0.523 MB / 0.833 GB, free: 13.75 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003227/1.674, allocations: 0.6562 MB / 0.8336 GB, free: 13.1 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 (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.0158/1.689, allocations: 4.541 MB / 0.8381 GB, free: 8.539 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002126/1.692, allocations: 0.6906 MB / 0.8388 GB, free: 7.844 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009165/1.701, allocations: 4.108 MB / 0.8428 GB, free: 3.688 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.669e-05/1.701, allocations: 36 kB / 0.8428 GB, free: 3.652 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.767e-05/1.701, allocations: 4 kB / 0.8428 GB, free: 3.648 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.982e-05/1.701, allocations: 15.94 kB / 0.8428 GB, free: 3.633 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4092/2.11, allocations: 49.29 MB / 0.8909 GB, free: 178.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002813/2.11, allocations: 72.03 kB / 0.891 GB, free: 178.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004577/2.115, allocations: 0.7478 MB / 0.8917 GB, free: 178.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001745/2.115, allocations: 96.41 kB / 0.8918 GB, free: 178.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007498/2.116, allocations: 169 kB / 0.892 GB, free: 178.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001729/2.116, allocations: 141.7 kB / 0.8921 GB, free: 178.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001227/2.116, allocations: 115.2 kB / 0.8922 GB, free: 178.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01272/2.129, allocations: 7.38 MB / 0.8995 GB, free: 173.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003166/2.132, allocations: 0.8163 MB / 0.9002 GB, free: 173.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001906/2.134, allocations: 168.3 kB / 0.9004 GB, free: 173 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005836/2.14, allocations: 200.7 kB / 0.9006 GB, free: 173 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001271/2.141, allocations: 0.4914 MB / 0.9011 GB, free: 172.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005272/2.142, allocations: 211.1 kB / 0.9013 GB, free: 172.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.01078/2.153, allocations: 4.614 MB / 0.9058 GB, free: 171.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.81e-07/2.153, allocations: 0 / 0.9058 GB, free: 171.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01631/2.169, allocations: 1.895 MB / 0.9076 GB, free: 171.1 MB / 0.5919 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.002134/2.171, allocations: 374.5 kB / 0.908 GB, free: 170.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01867/2.19, allocations: 7.949 MB / 0.9158 GB, free: 168.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 0.0001618/2.19, allocations: 10.88 kB / 0.9158 GB, free: 168.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004892/2.195, allocations: 2.151 MB / 0.9179 GB, free: 166.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01343/2.209, allocations: 1.116 MB / 0.919 GB, free: 165.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04536/2.254, allocations: 22.11 MB / 0.9406 GB, free: 144.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01788/2.272, allocations: 6.927 MB / 0.9473 GB, free: 138.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.009684/2.282, allocations: 3.305 MB / 0.9505 GB, free: 134.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002272/2.284, allocations: 495.3 kB / 0.951 GB, free: 134.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.483e-06/2.284, allocations: 0 / 0.951 GB, free: 134.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.1017/2.386, allocations: 54.19 MB / 1.004 GB, free: 80.32 MB / 0.5919 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)