Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.006208/0.006208, allocations: 174.7 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.486/1.486, allocations: 194.5 MB / 210.3 MB, free: 8.586 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001523/0.001523, allocations: 112.7 kB / 255.6 MB, free: 11.2 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1768/0.1768, allocations: 40.01 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003542, allocations: 17.16 kB / 406.2 MB, free: 52.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09388/0.09425, allocations: 54.87 MB / 461 MB, free: 3.441 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4208/0.5151, allocations: 100.9 MB / 0.5488 GB, free: 21.85 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.5154, allocations: 79.38 kB / 0.5488 GB, free: 21.85 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.756/1.271, allocations: 200.5 MB / 0.7446 GB, free: 62.63 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.693e-06/1.272, allocations: 0 / 0.7446 GB, free: 62.63 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005599/1.272, allocations: 198 kB / 0.7448 GB, free: 62.63 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.03918/1.311, allocations: 9.989 MB / 0.7545 GB, free: 58.69 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/1.311, allocations: 10.47 kB / 0.7545 GB, free: 58.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02201/1.333, allocations: 4.039 MB / 0.7585 GB, free: 58 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02597/1.359, allocations: 10.61 MB / 0.7689 GB, free: 56.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008864/1.36, allocations: 0.79 MB / 0.7696 GB, free: 56.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006376/1.367, allocations: 1.038 MB / 0.7706 GB, free: 56.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06563/1.432, allocations: 24.39 MB / 0.7945 GB, free: 52.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009237/1.433, allocations: 107.6 kB / 0.7946 GB, free: 52.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005567/1.439, allocations: 492.5 kB / 0.795 GB, free: 52.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003866/1.443, allocations: 2.27 MB / 0.7972 GB, free: 52.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04397/1.487, allocations: 19.52 MB / 0.8163 GB, free: 52.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1368/1.624, allocations: 94.15 MB / 0.9083 GB, free: 7.762 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02384/1.648, allocations: 7.652 MB / 0.9157 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3351/1.983, allocations: 13.3 MB / 0.9287 GB, free: 86.74 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.592e-05/1.983, allocations: 65.81 kB / 0.9288 GB, free: 86.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=336): time 7.484e-06/1.983, allocations: 3.031 kB / 0.9288 GB, free: 86.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=360): time 0.06171/2.045, allocations: 20.84 MB / 0.9491 GB, free: 81.02 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.14e-05/2.045, allocations: 167 kB / 0.9493 GB, free: 80.86 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01277/2.058, allocations: 6.59 MB / 0.9557 GB, free: 80.33 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000878/2.058, allocations: 84.19 kB / 0.9558 GB, free: 80.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005145/2.064, allocations: 6.802 MB / 0.9624 GB, free: 76.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001807/2.065, allocations: 1.358 MB / 0.9638 GB, free: 76.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006805/2.066, allocations: 217.2 kB / 0.964 GB, free: 76.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004658/2.067, allocations: 0.7499 MB / 0.9647 GB, free: 75.88 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005191/2.072, allocations: 3.215 MB / 0.9679 GB, free: 75.86 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00904/2.081, allocations: 9.699 MB / 0.9773 GB, free: 67.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009658/2.091, allocations: 5.4 MB / 0.9826 GB, free: 67.42 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004247/2.091, allocations: 67.95 kB / 0.9827 GB, free: 67.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.03251/2.124, allocations: 12.64 MB / 0.995 GB, free: 66.65 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005073/2.124, allocations: 105.4 kB / 0.9951 GB, free: 66.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000671/2.125, allocations: 231.2 kB / 0.9953 GB, free: 66.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005275/2.125, allocations: 336.2 kB / 0.9956 GB, free: 66.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009869/2.135, allocations: 2.619 MB / 0.9982 GB, free: 66.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006878/2.136, allocations: 456.9 kB / 0.9986 GB, free: 66.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01175/2.148, allocations: 0.6858 MB / 0.9993 GB, free: 66.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003118/2.151, allocations: 0.6416 MB / 0.9999 GB, free: 66.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1052 * Number of states: 0 () * Number of discrete variables: 69 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[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.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 (1366): * Single equations (assignments): 1363 * 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 prepare postOptimizeDAE: time 0.01748/2.168, allocations: 4.512 MB / 1.004 GB, free: 65.81 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00239/2.171, allocations: 0.6617 MB / 1.005 GB, free: 65.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01084/2.182, allocations: 4.097 MB / 1.009 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.933e-05/2.182, allocations: 38.11 kB / 1.009 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.819e-05/2.182, allocations: 8.031 kB / 1.009 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.938e-05/2.182, allocations: 13.97 kB / 1.009 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07658/2.258, allocations: 50.13 MB / 1.058 GB, free: 38.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.569e-05/2.259, allocations: 79.56 kB / 1.058 GB, free: 38.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002725/2.261, allocations: 0.7367 MB / 1.059 GB, free: 37.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-05/2.261, allocations: 104 kB / 1.059 GB, free: 37.42 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003103/2.262, allocations: 170.4 kB / 1.059 GB, free: 37.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-05/2.262, allocations: 140.8 kB / 1.059 GB, free: 37.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.607e-05/2.262, allocations: 111.6 kB / 1.059 GB, free: 37.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01276/2.275, allocations: 21.48 MB / 1.08 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004043/2.279, allocations: 0.7946 MB / 1.081 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001822/2.281, allocations: 168 kB / 1.081 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005601/2.286, allocations: 273.3 kB / 1.081 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009267/2.287, allocations: 495 kB / 1.082 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004344/2.288, allocations: 207 kB / 1.082 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01173/2.299, allocations: 4.647 MB / 1.087 GB, free: 7.625 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.72e-07/2.299, allocations: 0 / 1.087 GB, free: 7.625 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0156/2.315, allocations: 1.869 MB / 1.089 GB, free: 5.762 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 330 * 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 (376): * Single equations (assignments): 373 * 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.001532/2.317, allocations: 370.7 kB / 1.089 GB, free: 5.402 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01922/2.336, allocations: 7.889 MB / 1.097 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 0.0001221/2.336, allocations: 12 kB / 1.097 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006299/2.342, allocations: 2.126 MB / 1.099 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0109/2.353, allocations: 1.025 MB / 1.1 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3449/2.698, allocations: 25.81 MB / 1.125 GB, free: 79.77 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01989/2.718, allocations: 7.123 MB / 1.132 GB, free: 78.82 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01258/2.731, allocations: 3.316 MB / 1.135 GB, free: 78.75 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002721/2.734, allocations: 489.4 kB / 1.136 GB, free: 78.75 MB / 0.5261 GB Notification: Performance of SimCode: time 2.374e-06/2.734, allocations: 0 / 1.136 GB, free: 78.75 MB / 0.5261 GB Notification: Performance of Templates: time 0.1196/2.853, allocations: 56.25 MB / 1.19 GB, free: 75.91 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1)