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.008336/0.008337, allocations: 103.4 kB / 15.74 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.00154/0.00154, allocations: 198.4 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.521/1.521, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.2029/0.2029, allocations: 39.96 MB / 309.9 MB, free: 4.012 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.001458/0.001459, allocations: 72.11 kB / 435.8 MB, free: 11.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1289, allocations: 56.88 MB / 492.7 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.02112/0.1501, allocations: 21.24 MB / 0.5018 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01552/0.1656, allocations: 6.071 MB / 0.5078 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005782/0.1715, allocations: 143.7 kB / 0.5079 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3237/0.4952, allocations: 7.652 MB / 0.5154 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.011/0.5063, allocations: 3.658 MB / 0.519 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004299/0.5106, allocations: 1.712 MB / 0.5206 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01714/0.5277, allocations: 9.594 MB / 0.53 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01393/0.5417, allocations: 9.505 MB / 0.5393 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009856/0.5516, allocations: 3.947 MB / 0.5431 GB, free: 0 / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01068/0.5624, allocations: 5.295 MB / 0.5483 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00406/0.5665, allocations: 0.8683 MB / 0.5492 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00614/0.5726, allocations: 1.662 MB / 0.5508 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007707/0.5804, allocations: 4.871 MB / 0.5555 GB, free: 7.398 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01489/0.5953, allocations: 5.511 MB / 0.5609 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02561/0.621, allocations: 17.01 MB / 0.5775 GB, free: 1.223 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.621, allocations: 0 / 0.5775 GB, free: 1.223 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.6211, allocations: 8 kB / 0.5775 GB, free: 1.215 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007466/0.6218, allocations: 0 / 0.5775 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.03124/0.6531, allocations: 11.38 MB / 0.5886 GB, free: 5.977 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.164e-05/0.6531, allocations: 15.89 kB / 0.5887 GB, free: 5.961 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01508/0.6682, allocations: 3.014 MB / 0.5916 GB, free: 2.934 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01321/0.6815, allocations: 5.812 MB / 0.5973 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006214/0.6822, allocations: 0.5955 MB / 0.5979 GB, free: 12.6 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003538/0.6857, allocations: 0.7738 MB / 0.5986 GB, free: 11.92 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06182/0.7475, allocations: 24.46 MB / 0.6225 GB, free: 2.449 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000598/0.7482, allocations: 79.23 kB / 0.6226 GB, free: 2.371 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003786/0.752, allocations: 371.5 kB / 0.6229 GB, free: 2.094 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007943/0.76, allocations: 4.544 MB / 0.6274 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05048/0.8105, allocations: 19.21 MB / 0.6461 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1573/0.9678, allocations: 85.28 MB / 0.7294 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5816/1.549, allocations: 7.752 MB / 0.737 GB, free: 187 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005865/1.555, allocations: 3.131 MB / 0.74 GB, free: 186.4 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03194/1.587, allocations: 13.11 MB / 0.7528 GB, free: 180.4 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.844e-05/1.587, allocations: 69.09 kB / 0.7529 GB, free: 180.4 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=336): time 6.853e-06/1.587, allocations: 0 / 0.7529 GB, free: 180.4 MB / 0.5763 GB Notification: Performance of matching and sorting (n=360): time 0.05859/1.646, allocations: 20.52 MB / 0.7729 GB, free: 172.1 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.859e-05/1.646, allocations: 177.1 kB / 0.7731 GB, free: 171.9 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01307/1.659, allocations: 7.412 MB / 0.7803 GB, free: 169.3 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0007258/1.66, allocations: 80.86 kB / 0.7804 GB, free: 169.3 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004224/1.664, allocations: 6.757 MB / 0.787 GB, free: 164.1 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001838/1.666, allocations: 1.36 MB / 0.7884 GB, free: 163.1 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003468/1.67, allocations: 2.194 MB / 0.7905 GB, free: 162 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 6.64e-05/1.67, allocations: 305.1 kB / 0.7908 GB, free: 161.7 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005147/1.675, allocations: 3.309 MB / 0.794 GB, free: 159.2 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007919/1.683, allocations: 9.922 MB / 0.8037 GB, free: 146.1 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01343/1.696, allocations: 14.41 MB / 0.8178 GB, free: 128.4 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001681/1.697, allocations: 68 kB / 0.8178 GB, free: 128.3 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.02384/1.72, allocations: 12.94 MB / 0.8305 GB, free: 115.3 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001441/1.721, allocations: 111.9 kB / 0.8306 GB, free: 115.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002742/1.721, allocations: 232 kB / 0.8308 GB, free: 115 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002339/1.721, allocations: 308.8 kB / 0.8311 GB, free: 114.7 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008708/1.73, allocations: 2.577 MB / 0.8336 GB, free: 112.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003474/1.73, allocations: 458.2 kB / 0.8341 GB, free: 111.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009985/1.74, allocations: 0.5191 MB / 0.8346 GB, free: 111.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002261/1.742, allocations: 0.6599 MB / 0.8352 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.01059/1.753, allocations: 4.536 MB / 0.8396 GB, free: 105.9 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002265/1.755, allocations: 0.6594 MB / 0.8403 GB, free: 105.3 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008478/1.764, allocations: 4.093 MB / 0.8443 GB, free: 101.1 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.707e-05/1.764, allocations: 36 kB / 0.8443 GB, free: 101.1 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/1.764, allocations: 0 / 0.8443 GB, free: 101.1 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-05/1.764, allocations: 15.94 kB / 0.8443 GB, free: 101.1 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05656/1.821, allocations: 49.28 MB / 0.8925 GB, free: 50.78 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.787e-05/1.821, allocations: 72.88 kB / 0.8925 GB, free: 50.71 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002586/1.823, allocations: 0.7446 MB / 0.8932 GB, free: 49.96 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.514e-05/1.823, allocations: 96 kB / 0.8933 GB, free: 49.87 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002516/1.824, allocations: 168 kB / 0.8935 GB, free: 49.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.422e-05/1.824, allocations: 143.4 kB / 0.8936 GB, free: 49.56 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.563e-05/1.824, allocations: 115.8 kB / 0.8937 GB, free: 49.45 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007792/1.832, allocations: 7.344 MB / 0.9009 GB, free: 40.87 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002165/1.834, allocations: 0.7906 MB / 0.9017 GB, free: 40.05 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009847/1.835, allocations: 171.9 kB / 0.9019 GB, free: 39.88 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003248/1.838, allocations: 207.9 kB / 0.9021 GB, free: 39.68 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004642/1.838, allocations: 497.3 kB / 0.9025 GB, free: 39.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002502/1.839, allocations: 212 kB / 0.9027 GB, free: 38.99 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006423/1.845, allocations: 4.611 MB / 0.9072 GB, free: 34.41 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.7e-07/1.845, allocations: 0 / 0.9072 GB, free: 34.41 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01018/1.855, allocations: 1.888 MB / 0.9091 GB, free: 32.53 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.0009615/1.856, allocations: 368 kB / 0.9094 GB, free: 32.16 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01217/1.869, allocations: 7.951 MB / 0.9172 GB, free: 24.29 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 6.454e-05/1.869, allocations: 12 kB / 0.9172 GB, free: 24.28 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.00398/1.873, allocations: 2.153 MB / 0.9193 GB, free: 22.15 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007578/1.88, allocations: 1.129 MB / 0.9204 GB, free: 21.04 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03805/1.918, allocations: 21.77 MB / 0.9417 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01124/1.93, allocations: 6.941 MB / 0.9484 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.3346/2.264, allocations: 3.296 MB / 0.9517 GB, free: 173.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002962/2.267, allocations: 497 kB / 0.9521 GB, free: 173.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.613e-06/2.267, allocations: 1.406 kB / 0.9521 GB, free: 173.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.1225/2.39, allocations: 54.19 MB / 1.005 GB, free: 157.5 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)