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.001344/0.001343, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.553/1.553, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.4107/0.4107, allocations: 39.94 MB / 309.7 MB, free: 9.266 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.001526/0.001526, allocations: 70.41 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1344, allocations: 56.89 MB / 434.5 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01718/0.1516, allocations: 17.03 MB / 451.5 MB, free: 2.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2607/0.4124, allocations: 5.304 MB / 456.8 MB, free: 36.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004126/0.4166, allocations: 130.5 kB / 457 MB, free: 36.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01012/0.4267, allocations: 6.067 MB / 463 MB, free: 35.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01085/0.4377, allocations: 3.082 MB / 466.1 MB, free: 35.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004545/0.4422, allocations: 1.581 MB / 467.7 MB, free: 34.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01755/0.4598, allocations: 8.194 MB / 475.9 MB, free: 32.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0109/0.4708, allocations: 7.648 MB / 483.5 MB, free: 29.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008885/0.4797, allocations: 3.21 MB / 486.7 MB, free: 28.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01125/0.491, allocations: 4.2 MB / 490.9 MB, free: 27.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005436/0.4965, allocations: 0.6448 MB / 491.6 MB, free: 27.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007509/0.5041, allocations: 1.453 MB / 493 MB, free: 26.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01/0.5141, allocations: 3.845 MB / 496.9 MB, free: 25.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0169/0.531, allocations: 4.289 MB / 0.4894 GB, free: 22.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03545/0.5666, allocations: 12.65 MB / 0.5018 GB, free: 15.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.5667, allocations: 4 kB / 0.5018 GB, free: 15.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5667, allocations: 0 / 0.5018 GB, free: 15.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001084/0.5678, allocations: 0 / 0.5018 GB, free: 15.2 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: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.03797/0.6057, allocations: 9.25 MB / 0.5108 GB, free: 8.086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.483e-05/0.6059, allocations: 11.89 kB / 0.5108 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01492/0.6208, allocations: 2.671 MB / 0.5134 GB, free: 5.391 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01553/0.6364, allocations: 4.952 MB / 0.5183 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006458/0.6371, allocations: 470.1 kB / 0.5187 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005221/0.6423, allocations: 0.5897 MB / 0.5193 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05974/0.7021, allocations: 18.73 MB / 0.5376 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007514/0.7029, allocations: 71.31 kB / 0.5377 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005496/0.7085, allocations: 287.4 kB / 0.5379 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008142/0.7166, allocations: 3.453 MB / 0.5413 GB, free: 8.102 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04425/0.761, allocations: 14.6 MB / 0.5556 GB, free: 9.484 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1446/0.9056, allocations: 70.58 MB / 0.6245 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3263/1.232, allocations: 6.116 MB / 0.6305 GB, free: 137.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004442/1.237, allocations: 2.453 MB / 0.6329 GB, free: 137.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0201/1.257, allocations: 10.82 MB / 0.6434 GB, free: 132.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.211e-05/1.257, allocations: 63.25 kB / 0.6435 GB, free: 132.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=238): time 7.324e-06/1.257, allocations: 0 / 0.6435 GB, free: 132.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.0532/1.31, allocations: 15.86 MB / 0.659 GB, free: 126.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/1.31, allocations: 154.9 kB / 0.6591 GB, free: 125.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02201/1.332, allocations: 6.644 MB / 0.6656 GB, free: 123.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009217/1.333, allocations: 73.34 kB / 0.6657 GB, free: 123.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00702/1.34, allocations: 5.524 MB / 0.6711 GB, free: 119.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002199/1.343, allocations: 1.018 MB / 0.6721 GB, free: 118.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00378/1.346, allocations: 1.824 MB / 0.6739 GB, free: 117.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.294e-05/1.346, allocations: 306.7 kB / 0.6741 GB, free: 117.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00711/1.354, allocations: 2.656 MB / 0.6767 GB, free: 116.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0103/1.364, allocations: 8.372 MB / 0.6849 GB, free: 108.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01544/1.379, allocations: 12 MB / 0.6966 GB, free: 97.47 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003583/1.38, allocations: 59.97 kB / 0.6967 GB, free: 97.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.02645/1.406, allocations: 10.73 MB / 0.7072 GB, free: 91.92 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005263/1.407, allocations: 92 kB / 0.7073 GB, free: 91.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006071/1.408, allocations: 200 kB / 0.7074 GB, free: 91.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004605/1.408, allocations: 271.9 kB / 0.7077 GB, free: 91.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008344/1.416, allocations: 2.141 MB / 0.7098 GB, free: 89.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007088/1.417, allocations: 400.7 kB / 0.7102 GB, free: 89.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01309/1.43, allocations: 453.3 kB / 0.7106 GB, free: 88.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002647/1.433, allocations: 0.562 MB / 0.7112 GB, free: 88.18 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01253/1.445, allocations: 3.62 MB / 0.7147 GB, free: 85.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002636/1.448, allocations: 0.5668 MB / 0.7152 GB, free: 84.45 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005941/1.454, allocations: 2.797 MB / 0.718 GB, free: 82.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-05/1.454, allocations: 35.94 kB / 0.718 GB, free: 82.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/1.454, allocations: 0 / 0.718 GB, free: 82.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.979e-05/1.454, allocations: 16.16 kB / 0.718 GB, free: 82.03 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04375/1.498, allocations: 26.55 MB / 0.744 GB, free: 56.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.411e-05/1.498, allocations: 56 kB / 0.744 GB, free: 56.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001637/1.5, allocations: 0.5225 MB / 0.7445 GB, free: 55.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.422e-05/1.5, allocations: 71.94 kB / 0.7446 GB, free: 55.74 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001727/1.5, allocations: 116 kB / 0.7447 GB, free: 55.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.184e-05/1.5, allocations: 111.2 kB / 0.7448 GB, free: 55.52 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.52e-05/1.5, allocations: 83.62 kB / 0.7449 GB, free: 55.44 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006305/1.506, allocations: 5.238 MB / 0.75 GB, free: 49.37 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002474/1.509, allocations: 0.6692 MB / 0.7507 GB, free: 48.67 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008661/1.51, allocations: 131.4 kB / 0.7508 GB, free: 48.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002372/1.512, allocations: 143.7 kB / 0.7509 GB, free: 48.41 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003535/1.513, allocations: 358.3 kB / 0.7513 GB, free: 48.06 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001742/1.513, allocations: 148 kB / 0.7514 GB, free: 47.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006927/1.52, allocations: 4.154 MB / 0.7555 GB, free: 43.78 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.52, allocations: 0 / 0.7555 GB, free: 43.78 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01172/1.531, allocations: 1.509 MB / 0.7569 GB, free: 42.27 MB / 494.1 MB 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.0009251/1.532, allocations: 300.5 kB / 0.7572 GB, free: 41.97 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01059/1.543, allocations: 6.356 MB / 0.7634 GB, free: 35.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.193e-05/1.543, allocations: 8.25 kB / 0.7634 GB, free: 35.67 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002261/1.545, allocations: 1.495 MB / 0.7649 GB, free: 34.19 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007611/1.553, allocations: 0.929 MB / 0.7658 GB, free: 33.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03512/1.588, allocations: 17.18 MB / 0.7826 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009138/1.597, allocations: 5.584 MB / 0.788 GB, free: 9.719 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00819/1.606, allocations: 2.776 MB / 0.7907 GB, free: 6.938 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00133/1.607, allocations: 399.4 kB / 0.7911 GB, free: 6.547 MB / 494.1 MB Notification: Performance of SimCode: time 2.665e-06/1.607, allocations: 0 / 0.7911 GB, free: 6.547 MB / 494.1 MB Notification: Performance of Templates: time 0.4127/2.02, allocations: 48.96 MB / 0.8389 GB, free: 125.2 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.makefile (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)