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.001448/0.001449, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.001712/0.001712, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.865/1.865, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.3982/0.3982, allocations: 40 MB / 310.4 MB, free: 9.758 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.0007402/0.0007402, allocations: 16 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1334, allocations: 57.96 MB / 436.8 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.3081/0.4416, allocations: 114.2 MB / 0.5381 GB, free: 9.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.07179/0.5135, allocations: 24.85 MB / 0.5623 GB, free: 5.008 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.04073/0.5543, allocations: 0.5574 MB / 0.5629 GB, free: 4.449 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0247/0.579, allocations: 5.799 MB / 0.5685 GB, free: 496 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.06989/0.6489, allocations: 16.18 MB / 0.5843 GB, free: 272 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01053/0.6595, allocations: 1.384 MB / 0.5857 GB, free: 14.88 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01464/0.6742, allocations: 5.338 MB / 0.5909 GB, free: 9.547 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01958/0.6938, allocations: 11.38 MB / 0.602 GB, free: 14.11 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007169/0.701, allocations: 2.48 MB / 0.6044 GB, free: 11.62 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00774/0.7088, allocations: 3.302 MB / 0.6077 GB, free: 8.312 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002832/0.7117, allocations: 376 kB / 0.608 GB, free: 7.945 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005076/0.7168, allocations: 1.018 MB / 0.609 GB, free: 6.926 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006754/0.7236, allocations: 3.912 MB / 0.6128 GB, free: 3.004 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003812/0.7274, allocations: 1.964 MB / 0.6148 GB, free: 1.027 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01859/0.746, allocations: 13.12 MB / 0.6276 GB, free: 3.875 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.7461, allocations: 0 / 0.6276 GB, free: 3.875 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.7461, allocations: 0 / 0.6276 GB, free: 3.875 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0007546/0.7468, allocations: 0 / 0.6276 GB, free: 3.875 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.4967/1.244, allocations: 9.626 MB / 0.637 GB, free: 143.8 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/1.244, allocations: 9.812 kB / 0.637 GB, free: 143.8 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01568/1.259, allocations: 3.481 MB / 0.6404 GB, free: 143.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01649/1.276, allocations: 6.402 MB / 0.6466 GB, free: 141.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008705/1.277, allocations: 0.5908 MB / 0.6472 GB, free: 141.3 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004972/1.282, allocations: 0.7677 MB / 0.648 GB, free: 141.1 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06343/1.345, allocations: 24.63 MB / 0.672 GB, free: 130.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007984/1.346, allocations: 87.5 kB / 0.6721 GB, free: 130.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005031/1.351, allocations: 366.7 kB / 0.6724 GB, free: 130.6 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01042/1.362, allocations: 4.539 MB / 0.6769 GB, free: 129.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0462/1.408, allocations: 19.39 MB / 0.6958 GB, free: 113.3 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1261/1.534, allocations: 86.04 MB / 0.7798 GB, free: 25.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01998/1.554, allocations: 7.851 MB / 0.7875 GB, free: 17.81 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02342/1.577, allocations: 13.28 MB / 0.8005 GB, free: 4.176 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.192e-05/1.578, allocations: 64.78 kB / 0.8005 GB, free: 4.102 MB / 494.1 MB Notification: Performance of pre-optimization done (n=336): time 6.582e-06/1.578, allocations: 7.781 kB / 0.8005 GB, free: 4.098 MB / 494.1 MB Notification: Performance of matching and sorting (n=360): time 0.3492/1.927, allocations: 21.1 MB / 0.8211 GB, free: 142.1 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.457e-05/1.927, allocations: 167.5 kB / 0.8213 GB, free: 142 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01373/1.941, allocations: 7.852 MB / 0.829 GB, free: 141.4 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0009082/1.942, allocations: 79.25 kB / 0.829 GB, free: 141.3 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.004805/1.946, allocations: 6.784 MB / 0.8357 GB, free: 137 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001789/1.948, allocations: 1.363 MB / 0.837 GB, free: 136 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006227/1.949, allocations: 217.5 kB / 0.8372 GB, free: 135.9 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0006111/1.95, allocations: 0.7674 MB / 0.838 GB, free: 135.4 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005796/1.955, allocations: 3.234 MB / 0.8411 GB, free: 134.4 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00921/1.965, allocations: 9.8 MB / 0.8507 GB, free: 124.5 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009768/1.974, allocations: 5.431 MB / 0.856 GB, free: 122.5 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002695/1.975, allocations: 70.94 kB / 0.8561 GB, free: 122.5 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.03199/2.007, allocations: 12.76 MB / 0.8685 GB, free: 117.5 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003172/2.007, allocations: 108.4 kB / 0.8686 GB, free: 117.5 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008323/2.008, allocations: 235.6 kB / 0.8689 GB, free: 117.5 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008004/2.009, allocations: 342.2 kB / 0.8692 GB, free: 117.5 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01215/2.021, allocations: 2.556 MB / 0.8717 GB, free: 117.2 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009032/2.022, allocations: 457.2 kB / 0.8721 GB, free: 117.1 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01212/2.034, allocations: 0.5185 MB / 0.8726 GB, free: 116.9 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003057/2.037, allocations: 0.655 MB / 0.8733 GB, free: 116.8 MB / 0.4982 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 (1377): * Single equations (assignments): 1366 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01222/2.049, allocations: 4.53 MB / 0.8777 GB, free: 114.8 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001644/2.051, allocations: 0.6651 MB / 0.8783 GB, free: 114.4 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00712/2.058, allocations: 4.091 MB / 0.8823 GB, free: 112.8 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.071e-05/2.058, allocations: 38.27 kB / 0.8824 GB, free: 112.8 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.657e-05/2.058, allocations: 1.031 kB / 0.8824 GB, free: 112.8 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.846e-05/2.058, allocations: 16.12 kB / 0.8824 GB, free: 112.8 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06497/2.123, allocations: 42.09 MB / 0.9235 GB, free: 81 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001617/2.123, allocations: 92 kB / 0.9236 GB, free: 80.91 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002882/2.126, allocations: 0.8644 MB / 0.9244 GB, free: 80.05 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.353e-05/2.126, allocations: 132 kB / 0.9245 GB, free: 79.92 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003473/2.127, allocations: 200 kB / 0.9247 GB, free: 79.73 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.66e-05/2.127, allocations: 175.3 kB / 0.9249 GB, free: 79.55 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.096e-05/2.127, allocations: 140.2 kB / 0.925 GB, free: 79.42 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01232/2.139, allocations: 25.92 MB / 0.9503 GB, free: 49.69 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002714/2.142, allocations: 0.8589 MB / 0.9512 GB, free: 48.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001472/2.143, allocations: 207.9 kB / 0.9514 GB, free: 48.6 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004092/2.148, allocations: 219.5 kB / 0.9516 GB, free: 48.39 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005684/2.148, allocations: 0.5796 MB / 0.9522 GB, free: 47.8 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000285/2.148, allocations: 251.1 kB / 0.9524 GB, free: 47.56 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.007193/2.156, allocations: 4.948 MB / 0.9572 GB, free: 42.65 MB / 0.4982 GB Notification: Performance of sort global known variables: time 5.31e-07/2.156, allocations: 0 / 0.9572 GB, free: 42.65 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01314/2.169, allocations: 1.902 MB / 0.9591 GB, free: 40.75 MB / 0.4982 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001268/2.17, allocations: 435.8 kB / 0.9595 GB, free: 40.32 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01322/2.183, allocations: 7.658 MB / 0.967 GB, free: 32.71 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 8.535e-05/2.184, allocations: 16.62 kB / 0.967 GB, free: 32.7 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.003754/2.187, allocations: 2.203 MB / 0.9691 GB, free: 30.52 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00783/2.195, allocations: 1.079 MB / 0.9702 GB, free: 29.46 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04682/2.242, allocations: 26.49 MB / 0.9961 GB, free: 1.66 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01591/2.258, allocations: 7.168 MB / 1.003 GB, free: 10.45 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.01351/2.271, allocations: 3.33 MB / 1.006 GB, free: 7.117 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002739/2.274, allocations: 0.5111 MB / 1.007 GB, free: 6.605 MB / 0.5138 GB Notification: Performance of SimCode: time 1.052e-06/2.274, allocations: 0 / 1.007 GB, free: 6.605 MB / 0.5138 GB Notification: Performance of Templates: time 0.4061/2.68, allocations: 58.48 MB / 1.064 GB, free: 122.2 MB / 0.5138 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: