Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.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.CutForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008794/0.0008795, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0009032/0.0009031, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.3815/0.3815, allocations: 40 MB / 310.4 MB, free: 10.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.000538/0.0005384, allocations: 12 kB / 378.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.151, allocations: 57.96 MB / 436.8 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.3608/0.5118, allocations: 91.68 MB / 0.5161 GB, free: 9.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06434/0.5763, allocations: 18.31 MB / 0.534 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03674/0.6131, allocations: 444.2 kB / 0.5344 GB, free: 13 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02171/0.6349, allocations: 4.892 MB / 0.5392 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05839/0.6934, allocations: 14.36 MB / 0.5532 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008484/0.7019, allocations: 1.256 MB / 0.5544 GB, free: 15.46 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01536/0.7173, allocations: 9.481 MB / 0.5637 GB, free: 5.969 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01555/0.7329, allocations: 9.197 MB / 0.5727 GB, free: 12.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007254/0.7402, allocations: 2.604 MB / 0.5752 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009231/0.7495, allocations: 3.867 MB / 0.579 GB, free: 6.234 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002452/0.752, allocations: 284 kB / 0.5792 GB, free: 5.957 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005509/0.7575, allocations: 0.9791 MB / 0.5802 GB, free: 4.977 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006981/0.7646, allocations: 3.37 MB / 0.5835 GB, free: 1.598 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004968/0.7696, allocations: 1.54 MB / 0.585 GB, free: 48 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01363/0.7832, allocations: 10.01 MB / 0.5948 GB, free: 6.012 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.7833, allocations: 3.938 kB / 0.5948 GB, free: 6.008 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.7833, allocations: 0 / 0.5948 GB, free: 6.008 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005475/0.7839, allocations: 0 / 0.5948 GB, free: 6.008 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.01931/0.8032, allocations: 7.693 MB / 0.6023 GB, free: 14.23 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.8032, allocations: 8.031 kB / 0.6023 GB, free: 14.22 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0126/0.8159, allocations: 2.726 MB / 0.605 GB, free: 11.48 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01261/0.8286, allocations: 4.852 MB / 0.6097 GB, free: 6.555 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000588/0.8292, allocations: 467.6 kB / 0.6101 GB, free: 6.098 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003462/0.8327, allocations: 0.5934 MB / 0.6107 GB, free: 5.504 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03991/0.8726, allocations: 18.72 MB / 0.629 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003001/0.873, allocations: 83.23 kB / 0.6291 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001738/0.8747, allocations: 291.7 kB / 0.6294 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.5137/1.388, allocations: 3.439 MB / 0.6327 GB, free: 140.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03255/1.421, allocations: 14.58 MB / 0.647 GB, free: 137.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.106/1.527, allocations: 70.42 MB / 0.7157 GB, free: 89.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01579/1.543, allocations: 6.114 MB / 0.7217 GB, free: 84.54 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003779/1.547, allocations: 2.449 MB / 0.7241 GB, free: 82.08 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02008/1.567, allocations: 10.84 MB / 0.7347 GB, free: 70.86 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/1.567, allocations: 56.56 kB / 0.7347 GB, free: 70.79 MB / 494.1 MB Notification: Performance of pre-optimization done (n=238): time 5.68e-06/1.567, allocations: 0 / 0.7347 GB, free: 70.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.03797/1.605, allocations: 15.89 MB / 0.7502 GB, free: 54.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/1.605, allocations: 154.5 kB / 0.7504 GB, free: 54.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008668/1.614, allocations: 6.609 MB / 0.7569 GB, free: 48.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006872/1.614, allocations: 68.67 kB / 0.7569 GB, free: 48.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00352/1.618, allocations: 5.527 MB / 0.7623 GB, free: 42.56 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001199/1.619, allocations: 1.021 MB / 0.7633 GB, free: 41.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003745/1.62, allocations: 182.7 kB / 0.7635 GB, free: 41.37 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003825/1.62, allocations: 0.6949 MB / 0.7642 GB, free: 40.67 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003846/1.624, allocations: 2.618 MB / 0.7667 GB, free: 38.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006507/1.63, allocations: 8.338 MB / 0.7749 GB, free: 26.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006179/1.637, allocations: 4.509 MB / 0.7793 GB, free: 22.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.285e-05/1.637, allocations: 60 kB / 0.7793 GB, free: 22.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.01999/1.657, allocations: 10.65 MB / 0.7897 GB, free: 11.65 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001535/1.657, allocations: 92 kB / 0.7898 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002596/1.657, allocations: 200 kB / 0.79 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002627/1.657, allocations: 301.7 kB / 0.7903 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00715/1.665, allocations: 2.145 MB / 0.7924 GB, free: 8.922 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002623/1.665, allocations: 400.6 kB / 0.7928 GB, free: 8.531 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007675/1.672, allocations: 443.5 kB / 0.7932 GB, free: 8.098 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001305/1.674, allocations: 0.5616 MB / 0.7937 GB, free: 7.539 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 923 * Number of states: 0 () * Number of discrete variables: 60 (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.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.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.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.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 (1155): * Single equations (assignments): 1144 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006533/1.68, allocations: 3.628 MB / 0.7973 GB, free: 3.898 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/1.682, allocations: 0.5668 MB / 0.7978 GB, free: 3.324 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004463/1.686, allocations: 2.787 MB / 0.8006 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.321e-05/1.686, allocations: 28 kB / 0.8006 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/1.686, allocations: 0 / 0.8006 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.099e-05/1.686, allocations: 11.95 kB / 0.8006 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3746/2.061, allocations: 26.53 MB / 0.8265 GB, free: 137.2 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.258e-05/2.061, allocations: 55.78 kB / 0.8266 GB, free: 137.2 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001715/2.063, allocations: 0.5246 MB / 0.8271 GB, free: 137.2 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-05/2.063, allocations: 77.62 kB / 0.8271 GB, free: 137.2 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002141/2.063, allocations: 116.7 kB / 0.8272 GB, free: 137.2 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.04e-05/2.063, allocations: 107.8 kB / 0.8274 GB, free: 137.1 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-05/2.063, allocations: 84.31 kB / 0.8274 GB, free: 137.1 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005923/2.069, allocations: 5.222 MB / 0.8325 GB, free: 133.9 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0019/2.071, allocations: 0.6846 MB / 0.8332 GB, free: 133.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008436/2.072, allocations: 120.5 kB / 0.8333 GB, free: 133.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002384/2.074, allocations: 149.5 kB / 0.8335 GB, free: 133.7 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003677/2.074, allocations: 360.5 kB / 0.8338 GB, free: 133.6 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001918/2.075, allocations: 148.6 kB / 0.8339 GB, free: 133.6 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.00783/2.082, allocations: 4.115 MB / 0.838 GB, free: 132.2 MB / 0.4982 GB Notification: Performance of sort global known variables: time 6.01e-07/2.083, allocations: 0 / 0.838 GB, free: 132.2 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01033/2.093, allocations: 1.503 MB / 0.8394 GB, free: 132.1 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * 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 (273): * Single equations (assignments): 270 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001287/2.094, allocations: 296 kB / 0.8397 GB, free: 131.9 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01421/2.108, allocations: 6.104 MB / 0.8457 GB, free: 129.9 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 8.001e-05/2.109, allocations: 7.781 kB / 0.8457 GB, free: 129.9 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.003306/2.112, allocations: 1.488 MB / 0.8471 GB, free: 129.4 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009641/2.122, allocations: 0.9003 MB / 0.848 GB, free: 129.1 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04319/2.165, allocations: 20.18 MB / 0.8677 GB, free: 117.4 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0134/2.178, allocations: 5.575 MB / 0.8732 GB, free: 115.6 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.01136/2.19, allocations: 2.781 MB / 0.8759 GB, free: 115.3 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0018/2.192, allocations: 403.1 kB / 0.8763 GB, free: 115.3 MB / 0.4982 GB Notification: Performance of SimCode: time 1.042e-06/2.192, allocations: 0 / 0.8763 GB, free: 115.3 MB / 0.4982 GB Notification: Performance of Templates: time 0.09423/2.286, allocations: 45.85 MB / 0.921 GB, free: 76.04 MB / 0.4982 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) Environment - environmentSimulation: