Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.CutForceAndTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009363/0.0009364, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006981/0.006981, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.729/1.729, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.3805/0.3805, allocations: 40 MB / 310.7 MB, free: 9.43 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.0005983/0.0005983, allocations: 12 kB / 379.4 MB, free: 12.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.154, allocations: 57.96 MB / 437.4 MB, free: 1.949 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.4086/0.5626, allocations: 130.2 MB / 0.5543 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.07885/0.6416, allocations: 24.61 MB / 0.5783 GB, free: 7.027 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.04239/0.684, allocations: 0.5573 MB / 0.5788 GB, free: 6.469 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004821/0.6889, allocations: 0.8627 MB / 0.5797 GB, free: 5.602 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0139/0.7028, allocations: 3.474 MB / 0.5831 GB, free: 2.117 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004781/0.7076, allocations: 1.378 MB / 0.5844 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01958/0.7272, allocations: 14.21 MB / 0.5983 GB, free: 2.512 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02011/0.7474, allocations: 12.95 MB / 0.6109 GB, free: 5.473 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007332/0.7547, allocations: 2.883 MB / 0.6138 GB, free: 2.578 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009142/0.7639, allocations: 4.792 MB / 0.6184 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002286/0.7662, allocations: 380 kB / 0.6188 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004469/0.7707, allocations: 1.244 MB / 0.62 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006696/0.7774, allocations: 4.312 MB / 0.6242 GB, free: 7.828 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0114/0.7889, allocations: 4.822 MB / 0.6289 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4392/1.228, allocations: 15.67 MB / 0.6442 GB, free: 24.29 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.457e-06/1.228, allocations: 1.406 kB / 0.6442 GB, free: 24.29 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.152e-06/1.228, allocations: 2.156 kB / 0.6442 GB, free: 24.29 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001271/1.229, allocations: 0 / 0.6442 GB, free: 24.29 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3665 * Number of variables: 3665 Notification: Performance of Generate backend data structure: time 0.03701/1.266, allocations: 9.251 MB / 0.6533 GB, free: 20.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.29e-05/1.267, allocations: 9.812 kB / 0.6533 GB, free: 20.29 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01826/1.285, allocations: 3.071 MB / 0.6563 GB, free: 19.61 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01923/1.304, allocations: 5.699 MB / 0.6619 GB, free: 18.51 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001046/1.305, allocations: 0.5982 MB / 0.6624 GB, free: 18.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005692/1.311, allocations: 0.7672 MB / 0.6632 GB, free: 18.48 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06939/1.38, allocations: 24.51 MB / 0.6871 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005056/1.381, allocations: 78.28 kB / 0.6872 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003362/1.384, allocations: 368.7 kB / 0.6875 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007298/1.392, allocations: 4.542 MB / 0.692 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0445/1.436, allocations: 19.26 MB / 0.7108 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1485/1.585, allocations: 85.72 MB / 0.7945 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02532/1.61, allocations: 7.84 MB / 0.8022 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007473/1.618, allocations: 3.12 MB / 0.8052 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03205/1.65, allocations: 13.12 MB / 0.818 GB, free: 400 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.407e-05/1.65, allocations: 71.59 kB / 0.8181 GB, free: 320 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=336): time 7.725e-06/1.65, allocations: 0 / 0.8181 GB, free: 320 kB / 0.5919 GB Notification: Performance of matching and sorting (n=360): time 0.07646/1.726, allocations: 20.62 MB / 0.8382 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001623/1.726, allocations: 174.2 kB / 0.8384 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0196/1.746, allocations: 7.403 MB / 0.8456 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0009963/1.747, allocations: 90.89 kB / 0.8457 GB, free: 4.02 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.3205/2.068, allocations: 6.76 MB / 0.8523 GB, free: 276.4 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.002122/2.07, allocations: 1.36 MB / 0.8536 GB, free: 275.6 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002097/2.072, allocations: 0.949 MB / 0.8546 GB, free: 275.5 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 5.423e-05/2.072, allocations: 302.2 kB / 0.8548 GB, free: 275.2 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006566/2.078, allocations: 3.312 MB / 0.8581 GB, free: 275.2 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009441/2.088, allocations: 9.928 MB / 0.8678 GB, free: 265.5 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0174/2.105, allocations: 14.4 MB / 0.8818 GB, free: 253.1 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004005/2.106, allocations: 70.22 kB / 0.8819 GB, free: 253 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.03641/2.142, allocations: 12.94 MB / 0.8945 GB, free: 248.1 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009654/2.143, allocations: 104.8 kB / 0.8946 GB, free: 248.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001218/2.145, allocations: 233.2 kB / 0.8949 GB, free: 248.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001226/2.146, allocations: 309.2 kB / 0.8952 GB, free: 248.1 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01145/2.157, allocations: 2.588 MB / 0.8977 GB, free: 247.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/2.158, allocations: 458.2 kB / 0.8981 GB, free: 247.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01048/2.169, allocations: 0.5205 MB / 0.8986 GB, free: 247.4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002518/2.172, allocations: 0.6626 MB / 0.8993 GB, free: 247.4 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1063 * Number of states: 0 () * Number of discrete variables: 72 (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.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[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.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[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.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[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.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[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 (1393): * Single equations (assignments): 1382 * 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.01369/2.185, allocations: 4.527 MB / 0.9037 GB, free: 245.3 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002052/2.187, allocations: 0.6529 MB / 0.9043 GB, free: 244.9 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/2.198, allocations: 4.099 MB / 0.9083 GB, free: 243.3 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.707e-05/2.198, allocations: 42 kB / 0.9084 GB, free: 243.3 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.905e-05/2.198, allocations: 0 / 0.9084 GB, free: 243.3 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.919e-05/2.198, allocations: 19.66 kB / 0.9084 GB, free: 243.3 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06858/2.267, allocations: 42.06 MB / 0.9495 GB, free: 211.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001752/2.267, allocations: 92 kB / 0.9496 GB, free: 211 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003056/2.27, allocations: 0.8616 MB / 0.9504 GB, free: 210.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.594e-05/2.27, allocations: 116 kB / 0.9505 GB, free: 210 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003357/2.27, allocations: 204.5 kB / 0.9507 GB, free: 209.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000106/2.27, allocations: 175.3 kB / 0.9509 GB, free: 209.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.382e-05/2.271, allocations: 147.4 kB / 0.951 GB, free: 209.5 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009241/2.28, allocations: 8.034 MB / 0.9589 GB, free: 199.9 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002304/2.282, allocations: 0.8434 MB / 0.9597 GB, free: 199.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009377/2.283, allocations: 207.9 kB / 0.9599 GB, free: 198.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003078/2.286, allocations: 217.8 kB / 0.9601 GB, free: 198.7 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005096/2.287, allocations: 0.5925 MB / 0.9607 GB, free: 198.1 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002653/2.287, allocations: 248 kB / 0.9609 GB, free: 197.8 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.008243/2.295, allocations: 4.615 MB / 0.9654 GB, free: 193.3 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.81e-07/2.295, allocations: 0 / 0.9654 GB, free: 193.3 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.01393/2.309, allocations: 1.89 MB / 0.9673 GB, free: 191.4 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 413 * 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 (455): * Single equations (assignments): 452 * 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.001439/2.311, allocations: 421.4 kB / 0.9677 GB, free: 190.9 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01405/2.325, allocations: 7.753 MB / 0.9752 GB, free: 183.2 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.464e-05/2.325, allocations: 18 kB / 0.9753 GB, free: 183.2 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003758/2.329, allocations: 2.22 MB / 0.9774 GB, free: 181 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09884/2.427, allocations: 1.177 MB / 0.9786 GB, free: 179.9 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.058/2.485, allocations: 27.68 MB / 1.006 GB, free: 150.9 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01497/2.501, allocations: 6.962 MB / 1.012 GB, free: 143.9 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.01003/2.511, allocations: 3.312 MB / 1.016 GB, free: 140.6 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001697/2.512, allocations: 0.4994 MB / 1.016 GB, free: 140.1 MB / 0.6231 GB Notification: Performance of SimCode: time 9.82e-07/2.512, allocations: 0 / 1.016 GB, free: 140.1 MB / 0.6231 GB Notification: Performance of Templates: time 0.1238/2.636, allocations: 59.08 MB / 1.074 GB, free: 81.11 MB / 0.6231 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) Environment - environmentSimulation: