Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.CutForce2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001047/0.001047, 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.001041/0.001041, allocations: 194.9 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.402/1.402, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.3109/0.3109, allocations: 37.98 MB / 307.4 MB, free: 10.11 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.001391/0.001392, allocations: 60.12 kB / 374.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1459, allocations: 56.47 MB / 431.2 MB, free: 6.961 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.3591/0.505, allocations: 38.5 MB / 469.7 MB, free: 33.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02225/0.5274, allocations: 7.603 MB / 477.3 MB, free: 29.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01222/0.5396, allocations: 161.5 kB / 477.5 MB, free: 29.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004512/0.5443, allocations: 1.935 MB / 479.4 MB, free: 28.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003952/0.5483, allocations: 1.107 MB / 480.5 MB, free: 28.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.5493, allocations: 277.2 kB / 480.8 MB, free: 27.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00455/0.5539, allocations: 2.458 MB / 483.2 MB, free: 27.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004912/0.5588, allocations: 2.489 MB / 485.7 MB, free: 26.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001955/0.5608, allocations: 0.964 MB / 486.7 MB, free: 25.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001638/0.5625, allocations: 1.386 MB / 488.1 MB, free: 25.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003599/0.5628, allocations: 213.6 kB / 488.3 MB, free: 25.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.5642, allocations: 0.7084 MB / 489 MB, free: 25.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001073/0.5653, allocations: 1.226 MB / 490.2 MB, free: 24.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001258/0.5665, allocations: 1.442 MB / 491.7 MB, free: 23.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005115/0.5717, allocations: 4.56 MB / 496.2 MB, free: 21.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.5717, allocations: 0 / 496.2 MB, free: 21.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.614e-06/0.5717, allocations: 5 kB / 496.2 MB, free: 21.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001122/0.5718, allocations: 0 / 496.2 MB, free: 21.88 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.007771/0.5796, allocations: 3.077 MB / 499.3 MB, free: 20 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.5797, allocations: 13.23 kB / 499.3 MB, free: 20 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006736/0.5864, allocations: 1.61 MB / 0.4892 GB, free: 19.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004503/0.591, allocations: 1.387 MB / 0.4905 GB, free: 18.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001877/0.5912, allocations: 156.3 kB / 0.4907 GB, free: 18.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005417/0.5917, allocations: 205.4 kB / 0.4909 GB, free: 18.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01671/0.6084, allocations: 6.789 MB / 0.4975 GB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.405e-05/0.6086, allocations: 13.62 kB / 0.4975 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002743/0.6088, allocations: 91.8 kB / 0.4976 GB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002718/0.6116, allocations: 1.473 MB / 0.499 GB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01602/0.6276, allocations: 5.807 MB / 0.5047 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03932/0.667, allocations: 21.6 MB / 0.5258 GB, free: 11.28 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005274/0.6723, allocations: 2.257 MB / 0.528 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001263/0.6736, allocations: 0.7798 MB / 0.5288 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007862/0.6815, allocations: 3.748 MB / 0.5324 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.6816, allocations: 43.12 kB / 0.5325 GB, free: 4.168 MB / 398.1 MB Notification: Performance of pre-optimization done (n=93): time 5.27e-06/0.6816, allocations: 0 / 0.5325 GB, free: 4.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.00589/0.6875, allocations: 2.193 MB / 0.5346 GB, free: 1.973 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.6876, allocations: 59.91 kB / 0.5347 GB, free: 1.902 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004236/0.6918, allocations: 2.028 MB / 0.5367 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.6919, allocations: 41.7 kB / 0.5367 GB, free: 15.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002046/0.694, allocations: 1.953 MB / 0.5386 GB, free: 13.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005637/0.6946, allocations: 367.3 kB / 0.5389 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001273/0.6959, allocations: 0.6548 MB / 0.5396 GB, free: 12.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002563/0.6961, allocations: 361.9 kB / 0.5399 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001737/0.6979, allocations: 0.9666 MB / 0.5409 GB, free: 11.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003246/0.7012, allocations: 2.914 MB / 0.5437 GB, free: 7.602 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005837/0.707, allocations: 4.258 MB / 0.5479 GB, free: 2.379 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000109/0.7071, allocations: 20 kB / 0.5479 GB, free: 2.359 MB / 414.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.008035/0.7152, allocations: 3.781 MB / 0.5516 GB, free: 14.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.88e-05/0.7153, allocations: 32 kB / 0.5516 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001403/0.7155, allocations: 72 kB / 0.5517 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001086/0.7156, allocations: 91.94 kB / 0.5518 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002338/0.7179, allocations: 0.7135 MB / 0.5525 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001456/0.7181, allocations: 135.4 kB / 0.5526 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002905/0.721, allocations: 443.8 kB / 0.553 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003798/0.7214, allocations: 204 kB / 0.5532 GB, free: 12.89 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.00268/0.7241, allocations: 1.431 MB / 0.5546 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003957/0.7245, allocations: 165.8 kB / 0.5548 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001806/0.7263, allocations: 1.193 MB / 0.5559 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/0.7263, allocations: 11.94 kB / 0.556 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.7263, allocations: 0 / 0.556 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.7263, allocations: 3.984 kB / 0.556 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007724/0.7341, allocations: 4.983 MB / 0.5608 GB, free: 4.891 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.859e-05/0.7341, allocations: 12 kB / 0.5608 GB, free: 4.879 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005138/0.7346, allocations: 135.7 kB / 0.561 GB, free: 4.746 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.387e-05/0.7347, allocations: 16.03 kB / 0.561 GB, free: 4.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.601e-05/0.7347, allocations: 27.94 kB / 0.561 GB, free: 4.703 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-05/0.7348, allocations: 19.92 kB / 0.561 GB, free: 4.684 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.221e-05/0.7348, allocations: 15.94 kB / 0.561 GB, free: 4.668 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.7367, allocations: 1.501 MB / 0.5625 GB, free: 3.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004777/0.7372, allocations: 274.4 kB / 0.5628 GB, free: 2.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003551/0.7376, allocations: 23.94 kB / 0.5628 GB, free: 2.707 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007432/0.7383, allocations: 35.97 kB / 0.5628 GB, free: 2.672 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.7385, allocations: 75.67 kB / 0.5629 GB, free: 2.598 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-05/0.7386, allocations: 39.98 kB / 0.5629 GB, free: 2.559 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002192/0.7408, allocations: 1.324 MB / 0.5642 GB, free: 1.211 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7408, allocations: 0 / 0.5642 GB, free: 1.211 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003874/0.7447, allocations: 0.7543 MB / 0.565 GB, free: 464 kB / 430.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.0004329/0.7451, allocations: 155.2 kB / 0.5651 GB, free: 300 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003989/0.7491, allocations: 2.47 MB / 0.5675 GB, free: 13.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/0.7491, allocations: 4.938 kB / 0.5675 GB, free: 13.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007149/0.7498, allocations: 0.533 MB / 0.5681 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/0.7515, allocations: 262.1 kB / 0.5683 GB, free: 13.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01319/0.7647, allocations: 7.003 MB / 0.5751 GB, free: 5.902 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0041/0.7688, allocations: 2.407 MB / 0.5775 GB, free: 3.469 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002895/0.7717, allocations: 1.016 MB / 0.5785 GB, free: 2.449 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005239/0.7722, allocations: 131.4 kB / 0.5786 GB, free: 2.32 MB / 446.1 MB Notification: Performance of SimCode: time 1.342e-06/0.7723, allocations: 0 / 0.5786 GB, free: 2.32 MB / 446.1 MB Notification: Performance of Templates: time 0.03599/0.8083, allocations: 15.56 MB / 0.5938 GB, free: 2.793 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1)