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.001312/0.001312, 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.002081/0.002081, allocations: 194.1 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.543/1.543, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.3641/0.3641, allocations: 39.93 MB / 309.4 MB, free: 8.953 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.001443/0.001444, allocations: 71.89 kB / 377.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1459, allocations: 56.88 MB / 434 MB, free: 3.762 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.3388/0.4847, allocations: 38.49 MB / 472.5 MB, free: 31.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02232/0.5071, allocations: 7.605 MB / 480.1 MB, free: 26.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01303/0.5202, allocations: 153.2 kB / 480.2 MB, free: 26.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00424/0.5246, allocations: 1.949 MB / 482.2 MB, free: 25.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004104/0.5288, allocations: 1.102 MB / 483.3 MB, free: 25.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009727/0.5298, allocations: 281.9 kB / 483.6 MB, free: 25.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003783/0.5336, allocations: 2.464 MB / 486 MB, free: 24.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003749/0.5373, allocations: 2.491 MB / 488.5 MB, free: 23.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001634/0.539, allocations: 0.9533 MB / 489.5 MB, free: 23.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001743/0.5408, allocations: 1.385 MB / 490.9 MB, free: 22.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000372/0.5411, allocations: 213.3 kB / 491.1 MB, free: 22.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001535/0.5427, allocations: 0.7107 MB / 491.8 MB, free: 22.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001112/0.5438, allocations: 1.236 MB / 493 MB, free: 21.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001344/0.5452, allocations: 1.435 MB / 494.4 MB, free: 20.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007866/0.553, allocations: 4.558 MB / 499 MB, free: 19.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.5531, allocations: 0 / 499 MB, free: 19.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.5531, allocations: 0 / 499 MB, free: 19.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002295/0.5534, allocations: 0 / 499 MB, free: 19.24 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.01093/0.5643, allocations: 3.08 MB / 0.4903 GB, free: 17.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.065e-05/0.5644, allocations: 13.45 kB / 0.4903 GB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007325/0.5717, allocations: 1.61 MB / 0.4919 GB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00551/0.5773, allocations: 1.389 MB / 0.4933 GB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000259/0.5776, allocations: 153.4 kB / 0.4934 GB, free: 16.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001113/0.5787, allocations: 202.1 kB / 0.4936 GB, free: 16.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01999/0.5987, allocations: 6.774 MB / 0.5002 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.651e-05/0.5988, allocations: 18.33 kB / 0.5002 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003509/0.5992, allocations: 95.64 kB / 0.5003 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003297/0.6025, allocations: 1.48 MB / 0.5018 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01484/0.6174, allocations: 5.8 MB / 0.5074 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03609/0.6535, allocations: 21.6 MB / 0.5285 GB, free: 6.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005676/0.6593, allocations: 2.263 MB / 0.5307 GB, free: 4.602 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001436/0.6608, allocations: 0.7837 MB / 0.5315 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008627/0.6694, allocations: 3.753 MB / 0.5352 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.216e-05/0.6695, allocations: 39.06 kB / 0.5352 GB, free: 15.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=93): time 4.97e-06/0.6695, allocations: 4 kB / 0.5352 GB, free: 15.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.006275/0.6758, allocations: 2.185 MB / 0.5373 GB, free: 13.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.6759, allocations: 59.97 kB / 0.5374 GB, free: 13.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003383/0.6793, allocations: 2.027 MB / 0.5394 GB, free: 11.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.351e-05/0.6794, allocations: 37.7 kB / 0.5394 GB, free: 11.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001694/0.6811, allocations: 1.961 MB / 0.5413 GB, free: 9.543 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004043/0.6815, allocations: 371.3 kB / 0.5417 GB, free: 9.176 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009821/0.6825, allocations: 0.6548 MB / 0.5423 GB, free: 8.512 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.6827, allocations: 353.9 kB / 0.5427 GB, free: 8.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/0.6842, allocations: 0.9666 MB / 0.5436 GB, free: 7.191 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003224/0.6874, allocations: 2.926 MB / 0.5465 GB, free: 3.293 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005362/0.6928, allocations: 4.235 MB / 0.5506 GB, free: 14.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.682e-05/0.6928, allocations: 20 kB / 0.5506 GB, free: 14.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.00641/0.6993, allocations: 3.789 MB / 0.5543 GB, free: 10.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.728e-05/0.6994, allocations: 36 kB / 0.5543 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.52e-05/0.6994, allocations: 68 kB / 0.5544 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001112/0.6996, allocations: 95.94 kB / 0.5545 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001974/0.7015, allocations: 0.7096 MB / 0.5552 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001153/0.7017, allocations: 136.7 kB / 0.5553 GB, free: 9.242 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002495/0.7042, allocations: 443.6 kB / 0.5557 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002802/0.7045, allocations: 204 kB / 0.5559 GB, free: 8.605 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.003315/0.7078, allocations: 1.431 MB / 0.5573 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004582/0.7082, allocations: 169.8 kB / 0.5575 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002054/0.7103, allocations: 1.193 MB / 0.5587 GB, free: 5.777 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/0.7103, allocations: 15.94 kB / 0.5587 GB, free: 5.762 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.413e-06/0.7104, allocations: 0 / 0.5587 GB, free: 5.762 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.7104, allocations: 3.984 kB / 0.5587 GB, free: 5.758 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008811/0.7192, allocations: 4.974 MB / 0.5635 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.846e-05/0.7193, allocations: 8.906 kB / 0.5636 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005741/0.7199, allocations: 131.8 kB / 0.5637 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.13e-05/0.7199, allocations: 23.88 kB / 0.5637 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.062e-05/0.72, allocations: 35.92 kB / 0.5637 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.096e-05/0.72, allocations: 19.92 kB / 0.5638 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-05/0.72, allocations: 11.94 kB / 0.5638 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002112/0.7221, allocations: 1.501 MB / 0.5652 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005423/0.7227, allocations: 266.6 kB / 0.5655 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002039/0.7229, allocations: 31.94 kB / 0.5655 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005822/0.7235, allocations: 35.91 kB / 0.5655 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.7236, allocations: 75.75 kB / 0.5656 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.503e-05/0.7237, allocations: 39.98 kB / 0.5657 GB, free: 14.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002145/0.7259, allocations: 1.324 MB / 0.567 GB, free: 12.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.7259, allocations: 0 / 0.567 GB, free: 12.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003671/0.7296, allocations: 0.7582 MB / 0.5677 GB, free: 12.16 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.0004379/0.73, allocations: 155.2 kB / 0.5678 GB, free: 12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00422/0.7342, allocations: 2.462 MB / 0.5702 GB, free: 9.551 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/0.7343, allocations: 0 / 0.5702 GB, free: 9.551 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000851/0.7351, allocations: 0.5417 MB / 0.5708 GB, free: 9.012 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/0.7368, allocations: 268 kB / 0.571 GB, free: 8.762 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/0.7489, allocations: 7.007 MB / 0.5779 GB, free: 1.609 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002816/0.7517, allocations: 2.401 MB / 0.5802 GB, free: 15.18 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002776/0.7545, allocations: 1.02 MB / 0.5812 GB, free: 14.16 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003966/0.7549, allocations: 135.4 kB / 0.5813 GB, free: 14.02 MB / 462.1 MB Notification: Performance of SimCode: time 1.833e-06/0.755, allocations: 0 / 0.5813 GB, free: 14.02 MB / 462.1 MB Notification: Performance of Templates: time 0.03734/0.7923, allocations: 15.56 MB / 0.5965 GB, free: 14.49 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)