Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.CutForceAndTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.006274/0.006274, allocations: 101.8 kB / 15.73 MB, free: 5.992 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.001353/0.001353, allocations: 195.9 kB / 16.67 MB, free: 5.922 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.618/1.618, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2256/0.2256, allocations: 39.97 MB / 309.9 MB, free: 4.02 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.001867/0.001867, allocations: 68.12 kB / 435.8 MB, free: 11.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1455, allocations: 56.88 MB / 492.6 MB, free: 2.766 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.02081/0.1664, allocations: 21.24 MB / 0.5018 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01629/0.1827, allocations: 6.071 MB / 0.5078 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005513/0.1882, allocations: 151.6 kB / 0.5079 GB, free: 7.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3652/0.5535, allocations: 7.65 MB / 0.5154 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01569/0.5693, allocations: 3.658 MB / 0.519 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005607/0.5749, allocations: 1.713 MB / 0.5206 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02117/0.5961, allocations: 9.6 MB / 0.53 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02012/0.6163, allocations: 9.502 MB / 0.5393 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01027/0.6266, allocations: 3.923 MB / 0.5431 GB, free: 0 / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01031/0.637, allocations: 5.304 MB / 0.5483 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003858/0.6409, allocations: 0.87 MB / 0.5491 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006476/0.6474, allocations: 1.668 MB / 0.5508 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009653/0.6571, allocations: 4.944 MB / 0.5556 GB, free: 7.391 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01362/0.6707, allocations: 5.506 MB / 0.561 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02912/0.6999, allocations: 17.01 MB / 0.5776 GB, free: 1.219 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.6999, allocations: 4 kB / 0.5776 GB, free: 1.215 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.7, allocations: 0 / 0.5776 GB, free: 1.215 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007835/0.7007, allocations: 0 / 0.5776 GB, free: 1.215 MB / 430.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.03694/0.7377, allocations: 11.38 MB / 0.5887 GB, free: 5.977 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/0.7378, allocations: 11.89 kB / 0.5887 GB, free: 5.965 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01564/0.7534, allocations: 3.021 MB / 0.5917 GB, free: 2.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01423/0.7677, allocations: 5.813 MB / 0.5973 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008612/0.7686, allocations: 0.5936 MB / 0.5979 GB, free: 12.6 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003839/0.7725, allocations: 0.7654 MB / 0.5987 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05178/0.8243, allocations: 24.46 MB / 0.6226 GB, free: 2.449 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002568/0.8246, allocations: 83.19 kB / 0.6226 GB, free: 2.367 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001046/0.8256, allocations: 372.1 kB / 0.623 GB, free: 2.094 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006543/0.8322, allocations: 4.543 MB / 0.6274 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04843/0.8806, allocations: 19.2 MB / 0.6462 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1418/1.023, allocations: 85.3 MB / 0.7295 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6462/1.669, allocations: 7.746 MB / 0.737 GB, free: 186.9 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006224/1.675, allocations: 3.123 MB / 0.7401 GB, free: 186.3 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02815/1.703, allocations: 13.1 MB / 0.7529 GB, free: 180.4 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.444e-05/1.703, allocations: 71.31 kB / 0.753 GB, free: 180.3 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=336): time 5.18e-06/1.703, allocations: 0 / 0.753 GB, free: 180.3 MB / 0.5763 GB Notification: Performance of matching and sorting (n=360): time 0.05105/1.754, allocations: 20.52 MB / 0.773 GB, free: 172 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/1.755, allocations: 164.5 kB / 0.7732 GB, free: 171.8 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01016/1.765, allocations: 7.415 MB / 0.7804 GB, free: 169.3 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0007791/1.766, allocations: 86.05 kB / 0.7805 GB, free: 169.2 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003839/1.769, allocations: 6.755 MB / 0.7871 GB, free: 164.1 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001455/1.771, allocations: 1.366 MB / 0.7884 GB, free: 163.1 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002618/1.773, allocations: 2.189 MB / 0.7906 GB, free: 162 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.403e-05/1.774, allocations: 301.1 kB / 0.7908 GB, free: 161.7 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004522/1.778, allocations: 3.313 MB / 0.7941 GB, free: 159.2 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00713/1.785, allocations: 9.927 MB / 0.8038 GB, free: 146.1 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01495/1.8, allocations: 14.41 MB / 0.8178 GB, free: 128.4 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001797/1.8, allocations: 64 kB / 0.8179 GB, free: 128.3 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.02541/1.826, allocations: 12.94 MB / 0.8305 GB, free: 115.3 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001218/1.826, allocations: 112.2 kB / 0.8306 GB, free: 115.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002331/1.826, allocations: 232 kB / 0.8309 GB, free: 115 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002116/1.826, allocations: 312 kB / 0.8312 GB, free: 114.7 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008098/1.835, allocations: 2.577 MB / 0.8337 GB, free: 112.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002307/1.835, allocations: 458.2 kB / 0.8341 GB, free: 111.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007989/1.843, allocations: 0.5226 MB / 0.8346 GB, free: 111.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001552/1.844, allocations: 0.6562 MB / 0.8353 GB, free: 110.5 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.0069/1.851, allocations: 4.536 MB / 0.8397 GB, free: 105.9 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001238/1.853, allocations: 0.6594 MB / 0.8403 GB, free: 105.3 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005987/1.859, allocations: 4.1 MB / 0.8443 GB, free: 101.1 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.95e-05/1.859, allocations: 36 kB / 0.8444 GB, free: 101.1 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/1.859, allocations: 0 / 0.8444 GB, free: 101.1 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.469e-05/1.859, allocations: 23.92 kB / 0.8444 GB, free: 101.1 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05652/1.915, allocations: 49.27 MB / 0.8925 GB, free: 50.79 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.622e-05/1.915, allocations: 76.88 kB / 0.8926 GB, free: 50.71 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002515/1.918, allocations: 0.7454 MB / 0.8933 GB, free: 49.96 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.726e-05/1.918, allocations: 100 kB / 0.8934 GB, free: 49.87 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002345/1.918, allocations: 168 kB / 0.8936 GB, free: 49.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-05/1.918, allocations: 143.4 kB / 0.8937 GB, free: 49.56 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.697e-05/1.918, allocations: 115.5 kB / 0.8938 GB, free: 49.45 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007381/1.926, allocations: 7.339 MB / 0.901 GB, free: 40.88 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002425/1.928, allocations: 0.7864 MB / 0.9017 GB, free: 40.06 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009171/1.929, allocations: 163.9 kB / 0.9019 GB, free: 39.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002992/1.932, allocations: 207.9 kB / 0.9021 GB, free: 39.7 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000488/1.933, allocations: 0.4937 MB / 0.9026 GB, free: 39.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000265/1.933, allocations: 208 kB / 0.9028 GB, free: 39 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006791/1.94, allocations: 4.611 MB / 0.9073 GB, free: 34.43 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7.61e-07/1.94, allocations: 0 / 0.9073 GB, free: 34.43 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01107/1.951, allocations: 1.894 MB / 0.9091 GB, free: 32.54 MB / 0.5763 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.000998/1.952, allocations: 372 kB / 0.9095 GB, free: 32.17 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01128/1.963, allocations: 7.952 MB / 0.9173 GB, free: 24.3 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 6.193e-05/1.963, allocations: 12 kB / 0.9173 GB, free: 24.29 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.002984/1.966, allocations: 2.143 MB / 0.9194 GB, free: 22.16 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007553/1.974, allocations: 1.13 MB / 0.9205 GB, free: 21.05 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0316/2.005, allocations: 21.78 MB / 0.9417 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01192/2.017, allocations: 6.933 MB / 0.9485 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.2979/2.315, allocations: 3.297 MB / 0.9517 GB, free: 173.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002541/2.318, allocations: 493.1 kB / 0.9522 GB, free: 173.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.373e-06/2.318, allocations: 2 kB / 0.9522 GB, free: 173.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.1153/2.433, allocations: 53.71 MB / 1.005 GB, free: 157.4 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1)