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.001221/0.001221, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001306/0.001306, allocations: 190.5 kB / 16.25 MB, free: 6.625 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.686/1.686, allocations: 205.1 MB / 222.1 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3888/0.3888, allocations: 39.93 MB / 309.4 MB, free: 9.355 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.001472/0.001472, allocations: 67.89 kB / 377.1 MB, free: 13.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1496, allocations: 56.89 MB / 434 MB, free: 4.023 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.4044/0.554, allocations: 133.1 MB / 0.5538 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.08375/0.6378, allocations: 24.56 MB / 0.5778 GB, free: 5.309 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.04571/0.6836, allocations: 0.5612 MB / 0.5784 GB, free: 4.746 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01502/0.6988, allocations: 7.395 MB / 0.5856 GB, free: 13.34 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01269/0.7115, allocations: 3.406 MB / 0.5889 GB, free: 9.922 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004994/0.7165, allocations: 1.637 MB / 0.5905 GB, free: 8.285 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01691/0.7335, allocations: 9.648 MB / 0.5999 GB, free: 14.62 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01603/0.7496, allocations: 9.986 MB / 0.6097 GB, free: 4.594 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01206/0.7617, allocations: 4.019 MB / 0.6136 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01116/0.7729, allocations: 5.823 MB / 0.6193 GB, free: 10.72 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004528/0.7775, allocations: 0.8672 MB / 0.6202 GB, free: 9.855 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00698/0.7845, allocations: 1.686 MB / 0.6218 GB, free: 8.168 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01134/0.7959, allocations: 4.941 MB / 0.6266 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.7283/1.524, allocations: 5.541 MB / 0.632 GB, free: 17.85 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02581/1.55, allocations: 16.51 MB / 0.6482 GB, free: 17.03 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/1.55, allocations: 1.844 kB / 0.6482 GB, free: 17.03 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.934e-06/1.55, allocations: 0 / 0.6482 GB, free: 17.03 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0008797/1.551, allocations: 3.719 kB / 0.6482 GB, free: 17.03 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.04219/1.593, allocations: 11.37 MB / 0.6593 GB, free: 12.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.458e-05/1.593, allocations: 13.33 kB / 0.6593 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01915/1.612, allocations: 3.014 MB / 0.6622 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01733/1.63, allocations: 5.703 MB / 0.6678 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001345/1.631, allocations: 0.5945 MB / 0.6684 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005975/1.637, allocations: 0.7678 MB / 0.6691 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0613/1.699, allocations: 24.47 MB / 0.693 GB, free: 3.699 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004625/1.699, allocations: 81.62 kB / 0.6931 GB, free: 3.691 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004211/1.703, allocations: 362.7 kB / 0.6935 GB, free: 3.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006441/1.71, allocations: 4.548 MB / 0.6979 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04405/1.754, allocations: 19.2 MB / 0.7166 GB, free: 1.543 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1494/1.903, allocations: 85.84 MB / 0.8005 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02368/1.927, allocations: 7.753 MB / 0.808 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006244/1.933, allocations: 3.119 MB / 0.8111 GB, free: 16 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02886/1.962, allocations: 13.11 MB / 0.8239 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.931e-05/1.962, allocations: 72.78 kB / 0.824 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=336): time 9.798e-06/1.962, allocations: 7.984 kB / 0.824 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=360): time 0.06726/2.03, allocations: 20.51 MB / 0.844 GB, free: 13.98 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/2.03, allocations: 165.9 kB / 0.8442 GB, free: 13.79 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01562/2.045, allocations: 7.419 MB / 0.8514 GB, free: 6.414 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.001128/2.047, allocations: 84.52 kB / 0.8515 GB, free: 6.328 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.3179/2.364, allocations: 6.755 MB / 0.8581 GB, free: 293.2 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.002199/2.367, allocations: 1.357 MB / 0.8594 GB, free: 293.1 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004328/2.371, allocations: 2.194 MB / 0.8615 GB, free: 293.1 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 6.3e-05/2.371, allocations: 301.1 kB / 0.8618 GB, free: 292.8 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006221/2.377, allocations: 3.315 MB / 0.8651 GB, free: 292.8 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01005/2.387, allocations: 9.926 MB / 0.8748 GB, free: 283.8 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01718/2.405, allocations: 14.4 MB / 0.8888 GB, free: 271.3 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005163/2.405, allocations: 65.84 kB / 0.8889 GB, free: 271.3 MB / 0.6388 GB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.03476/2.44, allocations: 12.95 MB / 0.9015 GB, free: 266.6 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002647/2.44, allocations: 105.5 kB / 0.9016 GB, free: 266.6 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005091/2.441, allocations: 236.3 kB / 0.9019 GB, free: 266.6 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006518/2.441, allocations: 310.6 kB / 0.9022 GB, free: 266.6 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009676/2.451, allocations: 2.58 MB / 0.9047 GB, free: 266.3 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004294/2.452, allocations: 461.9 kB / 0.9051 GB, free: 266.2 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01002/2.462, allocations: 0.519 MB / 0.9056 GB, free: 266 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002457/2.464, allocations: 0.6602 MB / 0.9063 GB, free: 266 MB / 0.6388 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.01013/2.474, allocations: 4.526 MB / 0.9107 GB, free: 263.9 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001388/2.476, allocations: 0.6579 MB / 0.9113 GB, free: 263.6 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006697/2.482, allocations: 4.102 MB / 0.9153 GB, free: 261.9 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.896e-05/2.482, allocations: 41.56 kB / 0.9154 GB, free: 261.9 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/2.483, allocations: 3.75 kB / 0.9154 GB, free: 261.9 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.138e-05/2.483, allocations: 18.05 kB / 0.9154 GB, free: 261.9 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06463/2.547, allocations: 49.27 MB / 0.9635 GB, free: 222.4 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.293e-05/2.547, allocations: 72 kB / 0.9636 GB, free: 222.3 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002611/2.55, allocations: 0.7407 MB / 0.9643 GB, free: 221.5 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.356e-05/2.55, allocations: 99.94 kB / 0.9644 GB, free: 221.4 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002987/2.55, allocations: 168 kB / 0.9646 GB, free: 221.3 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.508e-05/2.55, allocations: 143.4 kB / 0.9647 GB, free: 221.1 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-05/2.55, allocations: 115.8 kB / 0.9648 GB, free: 221 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007848/2.558, allocations: 7.348 MB / 0.972 GB, free: 212.5 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003604/2.562, allocations: 0.7842 MB / 0.9727 GB, free: 211.7 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002618/2.565, allocations: 172.9 kB / 0.9729 GB, free: 211.5 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00483/2.569, allocations: 211.7 kB / 0.9731 GB, free: 211.3 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008807/2.57, allocations: 0.4888 MB / 0.9736 GB, free: 210.8 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003382/2.571, allocations: 209.2 kB / 0.9738 GB, free: 210.6 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.007939/2.579, allocations: 4.614 MB / 0.9783 GB, free: 206 MB / 0.6388 GB Notification: Performance of sort global known variables: time 4.01e-07/2.579, allocations: 0 / 0.9783 GB, free: 206 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.01165/2.59, allocations: 1.89 MB / 0.9801 GB, free: 204.1 MB / 0.6388 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.0009907/2.591, allocations: 375 kB / 0.9805 GB, free: 203.8 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01173/2.603, allocations: 8.045 MB / 0.9884 GB, free: 195.8 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-05/2.603, allocations: 16 kB / 0.9884 GB, free: 195.8 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.002985/2.606, allocations: 2.142 MB / 0.9905 GB, free: 193.6 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0116/2.618, allocations: 1.101 MB / 0.9915 GB, free: 192.6 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04754/2.665, allocations: 27.07 MB / 1.018 GB, free: 164.5 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01266/2.678, allocations: 6.931 MB / 1.025 GB, free: 157.5 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.01199/2.69, allocations: 3.303 MB / 1.028 GB, free: 154.2 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002595/2.693, allocations: 499.3 kB / 1.028 GB, free: 153.7 MB / 0.6388 GB Notification: Performance of SimCode: time 2.444e-06/2.693, allocations: 0 / 1.028 GB, free: 153.7 MB / 0.6388 GB Notification: Performance of Templates: time 0.1183/2.811, allocations: 60.15 MB / 1.087 GB, free: 93.68 MB / 0.6388 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)