Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.CutForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.006886/0.006886, allocations: 99.28 kB / 15.73 MB, free: 5.949 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.00141/0.00141, allocations: 197.1 kB / 16.68 MB, free: 5.875 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.434/1.434, allocations: 205.1 MB / 222.5 MB, free: 4.461 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.3361/0.3361, allocations: 38 MB / 307.9 MB, free: 10.22 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.001817/0.001817, allocations: 71.84 kB / 433 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3197, allocations: 56.45 MB / 489.5 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01541/0.3351, allocations: 17.04 MB / 0.4946 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01425/0.3494, allocations: 5.32 MB / 0.4998 GB, free: 4.332 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005622/0.3551, allocations: 124.1 kB / 0.4999 GB, free: 4.312 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.012/0.3672, allocations: 6.074 MB / 0.5059 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01031/0.3775, allocations: 3.169 MB / 0.509 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004171/0.3817, allocations: 1.569 MB / 0.5105 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01488/0.3966, allocations: 8.203 MB / 0.5185 GB, free: 9.312 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01005/0.4068, allocations: 7.639 MB / 0.526 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006484/0.4133, allocations: 3.182 MB / 0.5291 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007236/0.4206, allocations: 4.214 MB / 0.5332 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002332/0.4229, allocations: 0.6406 MB / 0.5338 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004375/0.4273, allocations: 1.463 MB / 0.5352 GB, free: 8.715 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004655/0.432, allocations: 3.924 MB / 0.5391 GB, free: 4.781 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007218/0.4392, allocations: 4.288 MB / 0.5433 GB, free: 480 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01764/0.4569, allocations: 13.07 MB / 0.556 GB, free: 3.352 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.272e-05/0.457, allocations: 8 kB / 0.556 GB, free: 3.344 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.457, allocations: 0 / 0.556 GB, free: 3.344 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005044/0.4575, allocations: 3.938 kB / 0.556 GB, free: 3.34 MB / 430.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.02285/0.4804, allocations: 9.245 MB / 0.5651 GB, free: 10 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.4804, allocations: 11.89 kB / 0.5651 GB, free: 9.992 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01122/0.4917, allocations: 2.665 MB / 0.5677 GB, free: 7.312 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01125/0.5029, allocations: 5.071 MB / 0.5726 GB, free: 2.164 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003794/0.5034, allocations: 475.5 kB / 0.5731 GB, free: 1.699 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001487/0.5049, allocations: 0.5893 MB / 0.5737 GB, free: 1.109 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03553/0.5404, allocations: 18.73 MB / 0.592 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001906/0.5406, allocations: 67.41 kB / 0.592 GB, free: 13.15 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000754/0.5414, allocations: 287.7 kB / 0.5923 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0045/0.5459, allocations: 3.448 MB / 0.5957 GB, free: 9.414 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03075/0.5767, allocations: 14.61 MB / 0.6099 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6887/1.265, allocations: 70.16 MB / 0.6784 GB, free: 72.23 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01752/1.283, allocations: 6.125 MB / 0.6844 GB, free: 70.34 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004652/1.288, allocations: 2.459 MB / 0.6868 GB, free: 69.44 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02222/1.31, allocations: 10.83 MB / 0.6974 GB, free: 63.9 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.016e-05/1.31, allocations: 60.72 kB / 0.6975 GB, free: 63.85 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=238): time 9.808e-06/1.31, allocations: 0 / 0.6975 GB, free: 63.85 MB / 0.4982 GB Notification: Performance of matching and sorting (n=262): time 0.04538/1.355, allocations: 15.86 MB / 0.713 GB, free: 55.98 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.938e-05/1.356, allocations: 161.2 kB / 0.7131 GB, free: 55.82 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00999/1.366, allocations: 6.639 MB / 0.7196 GB, free: 52.44 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0006666/1.366, allocations: 65.33 kB / 0.7197 GB, free: 52.38 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003791/1.37, allocations: 5.529 MB / 0.7251 GB, free: 47.57 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001422/1.372, allocations: 1.016 MB / 0.726 GB, free: 46.72 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002436/1.374, allocations: 1.842 MB / 0.7278 GB, free: 45.68 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 6.662e-05/1.374, allocations: 301.1 kB / 0.7281 GB, free: 45.38 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003784/1.378, allocations: 2.654 MB / 0.7307 GB, free: 44.14 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006814/1.385, allocations: 8.373 MB / 0.7389 GB, free: 34.86 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01228/1.397, allocations: 12 MB / 0.7506 GB, free: 20.25 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001821/1.397, allocations: 56 kB / 0.7507 GB, free: 20.19 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.01951/1.417, allocations: 10.72 MB / 0.7611 GB, free: 9.461 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001335/1.417, allocations: 92 kB / 0.7612 GB, free: 9.371 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002348/1.417, allocations: 204 kB / 0.7614 GB, free: 9.172 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002114/1.417, allocations: 264 kB / 0.7617 GB, free: 8.914 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006828/1.424, allocations: 2.149 MB / 0.7638 GB, free: 6.762 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002319/1.425, allocations: 402.4 kB / 0.7642 GB, free: 6.367 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007599/1.432, allocations: 449.6 kB / 0.7646 GB, free: 5.93 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00127/1.433, allocations: 0.5648 MB / 0.7651 GB, free: 5.367 MB / 0.4982 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00642/1.44, allocations: 3.613 MB / 0.7687 GB, free: 1.738 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001476/1.441, allocations: 0.5668 MB / 0.7692 GB, free: 1.164 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005851/1.447, allocations: 2.794 MB / 0.772 GB, free: 14.35 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.038e-05/1.447, allocations: 31.98 kB / 0.772 GB, free: 14.32 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.685e-05/1.447, allocations: 4 kB / 0.772 GB, free: 14.32 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.881e-05/1.447, allocations: 11.95 kB / 0.772 GB, free: 14.3 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05225/1.5, allocations: 26.57 MB / 0.7979 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002761/1.5, allocations: 52 kB / 0.798 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00242/1.503, allocations: 0.5185 MB / 0.7985 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001089/1.503, allocations: 72.91 kB / 0.7986 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005913/1.503, allocations: 116 kB / 0.7987 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001016/1.503, allocations: 107.5 kB / 0.7988 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.392e-05/1.503, allocations: 87.61 kB / 0.7989 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009686/1.513, allocations: 5.236 MB / 0.804 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002427/1.516, allocations: 0.6731 MB / 0.8046 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001361/1.517, allocations: 124 kB / 0.8048 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002866/1.52, allocations: 135.8 kB / 0.8049 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005213/1.52, allocations: 366.2 kB / 0.8052 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000257/1.521, allocations: 151.9 kB / 0.8054 GB, free: 10.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008971/1.53, allocations: 4.15 MB / 0.8094 GB, free: 6.387 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.41e-07/1.53, allocations: 4 kB / 0.8094 GB, free: 6.383 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01149/1.541, allocations: 1.506 MB / 0.8109 GB, free: 4.879 MB / 0.545 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 (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.001/1.542, allocations: 292 kB / 0.8112 GB, free: 4.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01194/1.554, allocations: 6.289 MB / 0.8173 GB, free: 14.37 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-05/1.554, allocations: 8 kB / 0.8173 GB, free: 14.36 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.002786/1.557, allocations: 1.499 MB / 0.8188 GB, free: 12.87 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009253/1.566, allocations: 0.9224 MB / 0.8197 GB, free: 11.96 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04099/1.607, allocations: 16.96 MB / 0.8363 GB, free: 10.21 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01139/1.619, allocations: 5.58 MB / 0.8417 GB, free: 4.602 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007632/1.626, allocations: 2.784 MB / 0.8444 GB, free: 1.809 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001155/1.628, allocations: 403.4 kB / 0.8448 GB, free: 1.414 MB / 0.5763 GB Notification: Performance of SimCode: time 1.062e-06/1.628, allocations: 0 / 0.8448 GB, free: 1.414 MB / 0.5763 GB Notification: Performance of Templates: time 0.4498/2.078, allocations: 43.77 MB / 0.8876 GB, free: 185.5 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1)