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.0008154/0.0008154, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005534/0.005534, allocations: 170 kB / 16.27 MB, free: 6.652 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.41/1.41, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.354/0.354, allocations: 38.03 MB / 308.8 MB, free: 10.42 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.0005329/0.0005329, allocations: 16 kB / 377 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1096, allocations: 57.52 MB / 434.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.2743/0.384, allocations: 98.65 MB / 0.5207 GB, free: 5.973 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05436/0.4384, allocations: 19.08 MB / 0.5393 GB, free: 9.254 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0266/0.465, allocations: 444 kB / 0.5398 GB, free: 9.188 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003833/0.4689, allocations: 0.7083 MB / 0.5405 GB, free: 8.902 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01248/0.4814, allocations: 2.926 MB / 0.5433 GB, free: 7.57 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004172/0.4857, allocations: 1.258 MB / 0.5446 GB, free: 7.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01896/0.5046, allocations: 11.89 MB / 0.5562 GB, free: 15.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01471/0.5194, allocations: 10.6 MB / 0.5665 GB, free: 4.727 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0049/0.5244, allocations: 2.409 MB / 0.5689 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006366/0.5307, allocations: 3.874 MB / 0.5727 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001504/0.5323, allocations: 284 kB / 0.5729 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00365/0.5359, allocations: 1.182 MB / 0.5741 GB, free: 12.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005477/0.5414, allocations: 3.432 MB / 0.5774 GB, free: 9.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007946/0.5494, allocations: 3.797 MB / 0.5811 GB, free: 5.691 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0161/0.5655, allocations: 12.1 MB / 0.593 GB, free: 9.543 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.5656, allocations: 3.938 kB / 0.593 GB, free: 9.539 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.5656, allocations: 0 / 0.593 GB, free: 9.539 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005015/0.5661, allocations: 0 / 0.593 GB, free: 9.539 MB / 462.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.01675/0.5829, allocations: 7.588 MB / 0.6004 GB, free: 1.867 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.5829, allocations: 11.97 kB / 0.6004 GB, free: 1.855 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01103/0.594, allocations: 2.72 MB / 0.603 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01023/0.6042, allocations: 4.95 MB / 0.6079 GB, free: 10.09 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003816/0.6047, allocations: 467.9 kB / 0.6083 GB, free: 9.637 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001786/0.6064, allocations: 0.5932 MB / 0.6089 GB, free: 9.043 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03494/0.6414, allocations: 18.78 MB / 0.6272 GB, free: 5.105 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001803/0.6416, allocations: 79.28 kB / 0.6273 GB, free: 5.027 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007455/0.6424, allocations: 283.7 kB / 0.6276 GB, free: 4.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004848/0.6472, allocations: 3.449 MB / 0.6309 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4609/1.108, allocations: 14.65 MB / 0.6453 GB, free: 138.3 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09943/1.208, allocations: 70.46 MB / 0.7141 GB, free: 90.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01572/1.223, allocations: 6.12 MB / 0.72 GB, free: 87.71 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003312/1.227, allocations: 2.466 MB / 0.7225 GB, free: 86.47 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0162/1.243, allocations: 10.84 MB / 0.733 GB, free: 75.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/1.243, allocations: 56.56 kB / 0.7331 GB, free: 75.69 MB / 494.1 MB Notification: Performance of pre-optimization done (n=238): time 6.292e-06/1.243, allocations: 4 kB / 0.7331 GB, free: 75.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.03761/1.281, allocations: 15.91 MB / 0.7486 GB, free: 59.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/1.281, allocations: 162.4 kB / 0.7488 GB, free: 59.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008367/1.289, allocations: 6.636 MB / 0.7553 GB, free: 52.99 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005806/1.29, allocations: 72.03 kB / 0.7553 GB, free: 52.91 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002865/1.293, allocations: 5.537 MB / 0.7607 GB, free: 47.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00119/1.294, allocations: 1.014 MB / 0.7617 GB, free: 46.38 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007936/1.295, allocations: 0.7949 MB / 0.7625 GB, free: 45.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.33e-05/1.295, allocations: 305.1 kB / 0.7628 GB, free: 45.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003699/1.298, allocations: 2.657 MB / 0.7654 GB, free: 42.61 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006923/1.305, allocations: 8.377 MB / 0.7736 GB, free: 31.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01071/1.316, allocations: 11.99 MB / 0.7853 GB, free: 16.56 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001277/1.316, allocations: 60 kB / 0.7853 GB, free: 16.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.01781/1.334, allocations: 10.72 MB / 0.7958 GB, free: 5.785 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002808/1.334, allocations: 92.19 kB / 0.7959 GB, free: 5.695 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003374/1.335, allocations: 200 kB / 0.7961 GB, free: 5.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003455/1.335, allocations: 272.7 kB / 0.7963 GB, free: 5.234 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006645/1.342, allocations: 2.144 MB / 0.7984 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003169/1.342, allocations: 400.4 kB / 0.7988 GB, free: 2.695 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006743/1.349, allocations: 458.7 kB / 0.7993 GB, free: 2.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00137/1.35, allocations: 0.5508 MB / 0.7998 GB, free: 1.699 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.007185/1.358, allocations: 3.625 MB / 0.8033 GB, free: 14.06 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001469/1.359, allocations: 0.5746 MB / 0.8039 GB, free: 13.48 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006531/1.366, allocations: 2.794 MB / 0.8066 GB, free: 10.66 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.754e-05/1.366, allocations: 28 kB / 0.8067 GB, free: 10.64 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/1.366, allocations: 0 / 0.8067 GB, free: 10.64 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-05/1.366, allocations: 15.95 kB / 0.8067 GB, free: 10.62 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2827/1.648, allocations: 26.54 MB / 0.8326 GB, free: 139 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.273e-05/1.649, allocations: 54.31 kB / 0.8326 GB, free: 139 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/1.65, allocations: 0.5192 MB / 0.8331 GB, free: 138.9 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.702e-05/1.65, allocations: 72.62 kB / 0.8332 GB, free: 138.9 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001581/1.65, allocations: 120.3 kB / 0.8333 GB, free: 138.9 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.314e-05/1.65, allocations: 106.7 kB / 0.8334 GB, free: 138.8 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-05/1.65, allocations: 84.5 kB / 0.8335 GB, free: 138.8 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004977/1.655, allocations: 5.24 MB / 0.8386 GB, free: 135.2 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/1.657, allocations: 0.6833 MB / 0.8393 GB, free: 135 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005495/1.657, allocations: 118.3 kB / 0.8394 GB, free: 135 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002084/1.659, allocations: 147.6 kB / 0.8396 GB, free: 135 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003243/1.66, allocations: 361.4 kB / 0.8399 GB, free: 134.8 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001729/1.66, allocations: 156.8 kB / 0.84 GB, free: 134.8 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.005937/1.666, allocations: 4.152 MB / 0.8441 GB, free: 133.5 MB / 0.4982 GB Notification: Performance of sort global known variables: time 4.81e-07/1.666, allocations: 0 / 0.8441 GB, free: 133.5 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.008922/1.675, allocations: 1.501 MB / 0.8456 GB, free: 133.3 MB / 0.4982 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.0007772/1.676, allocations: 301.7 kB / 0.8459 GB, free: 133.1 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.009836/1.685, allocations: 6.143 MB / 0.8519 GB, free: 131.1 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-05/1.685, allocations: 7.969 kB / 0.8519 GB, free: 131.1 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.00216/1.688, allocations: 1.501 MB / 0.8533 GB, free: 130.6 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0537/1.741, allocations: 0.923 MB / 0.8542 GB, free: 130.3 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03489/1.776, allocations: 21.06 MB / 0.8748 GB, free: 117.7 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00913/1.785, allocations: 5.574 MB / 0.8802 GB, free: 115.9 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.007454/1.793, allocations: 2.783 MB / 0.883 GB, free: 115.1 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/1.794, allocations: 403.4 kB / 0.8833 GB, free: 114.7 MB / 0.4982 GB Notification: Performance of SimCode: time 9.82e-07/1.794, allocations: 0 / 0.8833 GB, free: 114.7 MB / 0.4982 GB Notification: Performance of Templates: time 0.08359/1.878, allocations: 46.86 MB / 0.9291 GB, free: 70.99 MB / 0.4982 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: