Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001271/0.001271, allocations: 191.7 kB / 16.14 MB, free: 6.703 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.538/1.538, allocations: 205.1 MB / 222 MB, free: 4.766 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.3453/0.3453, allocations: 39.93 MB / 309.3 MB, free: 9.652 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.001422/0.001422, allocations: 62.42 kB / 376.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1516, allocations: 56.88 MB / 433.8 MB, free: 4.418 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.3413/0.493, allocations: 38.51 MB / 472.3 MB, free: 31.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02092/0.5139, allocations: 7.643 MB / 479.9 MB, free: 27.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01181/0.5258, allocations: 153.4 kB / 480.1 MB, free: 27.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00487/0.5308, allocations: 2.009 MB / 482.1 MB, free: 26.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004537/0.5354, allocations: 1.124 MB / 483.2 MB, free: 25.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008324/0.5362, allocations: 262.9 kB / 483.5 MB, free: 25.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004268/0.5405, allocations: 3.58 MB / 487.1 MB, free: 24.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002827/0.5434, allocations: 2.354 MB / 489.4 MB, free: 23.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001821/0.5452, allocations: 0.8299 MB / 490.3 MB, free: 23.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00196/0.5472, allocations: 1.341 MB / 491.6 MB, free: 23.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004977/0.5477, allocations: 158.6 kB / 491.7 MB, free: 23.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001717/0.5494, allocations: 0.6938 MB / 492.4 MB, free: 22.87 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00149/0.5509, allocations: 1.161 MB / 493.6 MB, free: 22.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001766/0.5527, allocations: 1.385 MB / 495 MB, free: 21.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007066/0.5598, allocations: 4.484 MB / 499.5 MB, free: 19.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.665e-05/0.5598, allocations: 4 kB / 499.5 MB, free: 19.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.047e-06/0.5599, allocations: 0 / 499.5 MB, free: 19.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003765/0.5602, allocations: 0 / 499.5 MB, free: 19.89 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.01424/0.5745, allocations: 3.08 MB / 0.4908 GB, free: 18.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.181e-05/0.5746, allocations: 9.312 kB / 0.4908 GB, free: 18.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008096/0.5827, allocations: 1.605 MB / 0.4924 GB, free: 17.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005573/0.5883, allocations: 1.388 MB / 0.4937 GB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002778/0.5886, allocations: 156.5 kB / 0.4939 GB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001268/0.5899, allocations: 202.2 kB / 0.4941 GB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02143/0.6113, allocations: 6.786 MB / 0.5007 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002583/0.6117, allocations: 13.56 kB / 0.5007 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001742/0.6135, allocations: 93.06 kB / 0.5008 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003309/0.6168, allocations: 1.475 MB / 0.5022 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01905/0.6359, allocations: 5.812 MB / 0.5079 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04768/0.6836, allocations: 21.6 MB / 0.529 GB, free: 6.738 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005784/0.6895, allocations: 2.248 MB / 0.5312 GB, free: 4.371 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001614/0.6911, allocations: 0.7821 MB / 0.5319 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009416/0.7006, allocations: 3.759 MB / 0.5356 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/0.7007, allocations: 35.12 kB / 0.5357 GB, free: 15.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=93): time 4.869e-06/0.7007, allocations: 0 / 0.5357 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.006866/0.7076, allocations: 2.193 MB / 0.5378 GB, free: 13.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.106e-05/0.7077, allocations: 59.97 kB / 0.5379 GB, free: 13.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006154/0.7139, allocations: 2.024 MB / 0.5398 GB, free: 11.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001446/0.7141, allocations: 45.61 kB / 0.5399 GB, free: 11.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002416/0.7165, allocations: 1.953 MB / 0.5418 GB, free: 9.309 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006855/0.7172, allocations: 367.3 kB / 0.5421 GB, free: 8.945 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001687/0.7189, allocations: 0.6626 MB / 0.5428 GB, free: 8.273 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002514/0.7192, allocations: 357.9 kB / 0.5431 GB, free: 7.918 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001977/0.7212, allocations: 0.9666 MB / 0.5441 GB, free: 6.949 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003545/0.7247, allocations: 2.918 MB / 0.5469 GB, free: 3.059 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00542/0.7302, allocations: 4.239 MB / 0.5511 GB, free: 13.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.249e-05/0.7302, allocations: 20 kB / 0.5511 GB, free: 13.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.0072/0.7374, allocations: 3.789 MB / 0.5548 GB, free: 10.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.634e-05/0.7375, allocations: 36 kB / 0.5548 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.02e-05/0.7376, allocations: 71.98 kB / 0.5549 GB, free: 9.938 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000107/0.7377, allocations: 99.88 kB / 0.555 GB, free: 9.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00212/0.7399, allocations: 0.7096 MB / 0.5557 GB, free: 9.129 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001134/0.74, allocations: 136.4 kB / 0.5558 GB, free: 8.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00315/0.7431, allocations: 443.5 kB / 0.5562 GB, free: 8.559 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003876/0.7436, allocations: 204 kB / 0.5564 GB, free: 8.359 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (391): * Single equations (assignments): 386 * Array equations: 5 * 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.004359/0.7479, allocations: 1.423 MB / 0.5578 GB, free: 6.922 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005155/0.7484, allocations: 165.8 kB / 0.558 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002216/0.7507, allocations: 1.197 MB / 0.5591 GB, free: 5.543 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.531e-05/0.7507, allocations: 11.94 kB / 0.5591 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.7507, allocations: 4 kB / 0.5591 GB, free: 5.527 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.7507, allocations: 3.984 kB / 0.5591 GB, free: 5.523 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008814/0.7596, allocations: 4.978 MB / 0.564 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.962e-05/0.7596, allocations: 8 kB / 0.564 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005755/0.7602, allocations: 136.5 kB / 0.5641 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.306e-05/0.7603, allocations: 15.94 kB / 0.5642 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.54e-05/0.7603, allocations: 35.92 kB / 0.5642 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.978e-05/0.7604, allocations: 19.92 kB / 0.5642 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.254e-05/0.7604, allocations: 11.94 kB / 0.5642 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002342/0.7627, allocations: 1.505 MB / 0.5657 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005924/0.7633, allocations: 258.6 kB / 0.5659 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/0.7636, allocations: 31.92 kB / 0.566 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005786/0.7641, allocations: 35.97 kB / 0.566 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.7643, allocations: 75.69 kB / 0.5661 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.163e-05/0.7644, allocations: 35.98 kB / 0.5661 GB, free: 14.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002209/0.7666, allocations: 1.328 MB / 0.5674 GB, free: 12.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7666, allocations: 0 / 0.5674 GB, free: 12.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003602/0.7702, allocations: 0.7543 MB / 0.5681 GB, free: 11.93 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.0003431/0.7706, allocations: 159.2 kB / 0.5683 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003578/0.7742, allocations: 2.228 MB / 0.5705 GB, free: 9.555 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.7742, allocations: 4 kB / 0.5705 GB, free: 9.551 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007257/0.7749, allocations: 0.5359 MB / 0.571 GB, free: 9.016 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.7763, allocations: 250.8 kB / 0.5712 GB, free: 8.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01568/0.792, allocations: 7.005 MB / 0.5781 GB, free: 1.621 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003031/0.7951, allocations: 2.405 MB / 0.5804 GB, free: 15.19 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002743/0.7979, allocations: 1.012 MB / 0.5814 GB, free: 14.17 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003964/0.7983, allocations: 135.4 kB / 0.5815 GB, free: 14.04 MB / 462.1 MB Notification: Performance of SimCode: time 1.473e-06/0.7983, allocations: 0 / 0.5815 GB, free: 14.04 MB / 462.1 MB Notification: Performance of Templates: time 0.03792/0.8362, allocations: 15.06 MB / 0.5963 GB, free: 15.01 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1)