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.001008/0.001008, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001235/0.001235, allocations: 190.8 kB / 16.25 MB, free: 6.621 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.611/1.611, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.3371/0.3371, allocations: 37.98 MB / 307.4 MB, free: 10.14 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.001488/0.001488, allocations: 66.62 kB / 374.7 MB, free: 15.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1372, allocations: 56.48 MB / 431.2 MB, free: 6.973 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.3905/0.5277, allocations: 133.1 MB / 0.5511 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.07069/0.5985, allocations: 24.56 MB / 0.5751 GB, free: 9.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03588/0.6345, allocations: 0.5574 MB / 0.5756 GB, free: 8.922 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01518/0.6497, allocations: 7.412 MB / 0.5829 GB, free: 1.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0131/0.6629, allocations: 3.4 MB / 0.5862 GB, free: 14.09 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005559/0.6685, allocations: 1.635 MB / 0.5878 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01655/0.6851, allocations: 9.639 MB / 0.5972 GB, free: 2.801 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01698/0.7021, allocations: 10 MB / 0.607 GB, free: 8.754 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008661/0.7108, allocations: 4.023 MB / 0.6109 GB, free: 4.719 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009908/0.7207, allocations: 5.823 MB / 0.6166 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003979/0.7248, allocations: 0.8672 MB / 0.6174 GB, free: 14.01 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006693/0.7315, allocations: 1.682 MB / 0.6191 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01011/0.7416, allocations: 4.949 MB / 0.6239 GB, free: 7.367 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01369/0.7553, allocations: 5.539 MB / 0.6293 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.6055/1.361, allocations: 16.51 MB / 0.6455 GB, free: 21.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.361, allocations: 0 / 0.6455 GB, free: 21.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/1.361, allocations: 0 / 0.6455 GB, free: 21.21 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.00084/1.362, allocations: 1.938 kB / 0.6455 GB, free: 21.21 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.0441/1.406, allocations: 11.36 MB / 0.6565 GB, free: 17.12 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/1.406, allocations: 12.3 kB / 0.6566 GB, free: 17.12 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01716/1.423, allocations: 3.022 MB / 0.6595 GB, free: 16.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01544/1.439, allocations: 5.7 MB / 0.6651 GB, free: 15.33 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001085/1.44, allocations: 0.5909 MB / 0.6657 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005782/1.446, allocations: 0.7745 MB / 0.6664 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06425/1.51, allocations: 24.46 MB / 0.6903 GB, free: 8.617 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000366/1.51, allocations: 76.06 kB / 0.6904 GB, free: 8.613 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003735/1.514, allocations: 366.5 kB / 0.6907 GB, free: 8.613 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006657/1.521, allocations: 4.552 MB / 0.6952 GB, free: 7.082 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04558/1.566, allocations: 19.2 MB / 0.7139 GB, free: 7.855 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1468/1.713, allocations: 85.85 MB / 0.7978 GB, free: 1.328 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02251/1.736, allocations: 7.804 MB / 0.8054 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006853/1.742, allocations: 3.13 MB / 0.8084 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02879/1.771, allocations: 13.1 MB / 0.8212 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.929e-05/1.771, allocations: 64.78 kB / 0.8213 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=336): time 6.181e-06/1.771, allocations: 0 / 0.8213 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=360): time 0.06028/1.832, allocations: 20.51 MB / 0.8413 GB, free: 4.246 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/1.832, allocations: 185.3 kB / 0.8415 GB, free: 4.035 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01213/1.844, allocations: 7.404 MB / 0.8487 GB, free: 12.67 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0009727/1.845, allocations: 77.7 kB / 0.8488 GB, free: 12.59 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.005116/1.85, allocations: 6.767 MB / 0.8554 GB, free: 5.848 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.00208/1.852, allocations: 1.357 MB / 0.8567 GB, free: 4.5 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003337/1.856, allocations: 2.192 MB / 0.8589 GB, free: 2.305 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.856, allocations: 310.6 kB / 0.8592 GB, free: 2 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2663/2.122, allocations: 3.307 MB / 0.8624 GB, free: 293.7 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01054/2.133, allocations: 9.924 MB / 0.8721 GB, free: 285.2 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01804/2.151, allocations: 14.41 MB / 0.8862 GB, free: 273.9 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000685/2.152, allocations: 64.03 kB / 0.8862 GB, free: 273.9 MB / 0.6388 GB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.03311/2.185, allocations: 12.93 MB / 0.8989 GB, free: 269.2 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008039/2.185, allocations: 109.2 kB / 0.899 GB, free: 269.2 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009117/2.186, allocations: 232.8 kB / 0.8992 GB, free: 269.2 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009983/2.187, allocations: 309.4 kB / 0.8995 GB, free: 269.2 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009901/2.197, allocations: 2.584 MB / 0.902 GB, free: 268.9 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009711/2.198, allocations: 458.1 kB / 0.9024 GB, free: 268.8 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01129/2.21, allocations: 0.5179 MB / 0.9029 GB, free: 268.6 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003061/2.213, allocations: 0.6667 MB / 0.9036 GB, free: 268.5 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 (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.01796/2.231, allocations: 4.528 MB / 0.908 GB, free: 266.6 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00277/2.233, allocations: 0.6639 MB / 0.9087 GB, free: 266.6 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0111/2.245, allocations: 4.087 MB / 0.9127 GB, free: 265 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.774e-05/2.245, allocations: 40.25 kB / 0.9127 GB, free: 265 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.381e-05/2.245, allocations: 0 / 0.9127 GB, free: 265 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.006e-05/2.245, allocations: 21.27 kB / 0.9127 GB, free: 265 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05836/2.303, allocations: 42.07 MB / 0.9538 GB, free: 236.4 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001085/2.303, allocations: 92 kB / 0.9539 GB, free: 236.3 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002691/2.306, allocations: 0.8623 MB / 0.9547 GB, free: 235.5 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.457e-05/2.306, allocations: 116 kB / 0.9548 GB, free: 235.4 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003609/2.307, allocations: 203.8 kB / 0.955 GB, free: 235.2 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.421e-05/2.307, allocations: 175.2 kB / 0.9552 GB, free: 235.1 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.685e-05/2.307, allocations: 143.4 kB / 0.9553 GB, free: 234.9 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007432/2.314, allocations: 8.046 MB / 0.9632 GB, free: 226 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002736/2.317, allocations: 0.8271 MB / 0.964 GB, free: 225.1 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002101/2.319, allocations: 213 kB / 0.9642 GB, free: 224.9 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004846/2.324, allocations: 207.9 kB / 0.9644 GB, free: 224.7 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007299/2.325, allocations: 0.5909 MB / 0.965 GB, free: 224.1 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003614/2.325, allocations: 249.8 kB / 0.9652 GB, free: 223.9 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.007595/2.333, allocations: 4.614 MB / 0.9697 GB, free: 219.3 MB / 0.6388 GB Notification: Performance of sort global known variables: time 2.71e-07/2.333, allocations: 3.719 kB / 0.9697 GB, free: 219.3 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.01368/2.346, allocations: 1.888 MB / 0.9716 GB, free: 217.4 MB / 0.6388 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.001475/2.348, allocations: 428.7 kB / 0.972 GB, free: 217 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01439/2.362, allocations: 8.076 MB / 0.9799 GB, free: 209 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 7.409e-05/2.362, allocations: 16.06 kB / 0.9799 GB, free: 209 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.00402/2.366, allocations: 2.22 MB / 0.982 GB, free: 206.8 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01202/2.378, allocations: 1.172 MB / 0.9832 GB, free: 205.6 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04555/2.424, allocations: 27.63 MB / 1.01 GB, free: 176.7 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01655/2.441, allocations: 6.961 MB / 1.017 GB, free: 169.7 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.01167/2.452, allocations: 3.316 MB / 1.02 GB, free: 166.4 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002069/2.454, allocations: 0.5033 MB / 1.021 GB, free: 165.9 MB / 0.6388 GB Notification: Performance of SimCode: time 1.042e-06/2.454, allocations: 0 / 1.021 GB, free: 165.9 MB / 0.6388 GB Notification: Performance of Templates: time 0.1684/2.623, allocations: 61.66 MB / 1.081 GB, free: 104.4 MB / 0.6388 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)