Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001009/0.00101, allocations: 166.8 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.423/1.423, allocations: 170.7 MB / 178.7 MB, free: 15.57 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001836/0.001836, allocations: 95.53 kB / 218 MB, free: 8.348 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.193/0.193, allocations: 37.99 MB / 295.1 MB, free: 9.484 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.708e-05/1.71e-05, allocations: 2.219 kB / 350 MB, free: 37.01 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08947/0.0895, allocations: 48.72 MB / 398.7 MB, free: 5.348 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3487/0.4382, allocations: 91.75 MB / 490.5 MB, free: 17.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.4385, allocations: 78.17 kB / 490.6 MB, free: 17.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.143/0.5816, allocations: 64.77 MB / 0.5423 GB, free: 15.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5816, allocations: 0 / 0.5423 GB, free: 15.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001242/0.5817, allocations: 64 kB / 0.5424 GB, free: 15.93 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1328 * Number of variables: 1328 Notification: Performance of Generate backend data structure: time 0.009772/0.5915, allocations: 3.131 MB / 0.5454 GB, free: 12.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.5916, allocations: 12.03 kB / 0.5454 GB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00885/0.6005, allocations: 1.937 MB / 0.5473 GB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005337/0.6058, allocations: 2.032 MB / 0.5493 GB, free: 8.703 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/0.606, allocations: 123.9 kB / 0.5494 GB, free: 8.582 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001088/0.6071, allocations: 212 kB / 0.5496 GB, free: 8.375 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01021/0.6173, allocations: 5.379 MB / 0.5549 GB, free: 2.992 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02012/0.6375, allocations: 7.376 MB / 0.5621 GB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001797/0.6377, allocations: 23.81 kB / 0.5621 GB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001507/0.6392, allocations: 12 kB / 0.5621 GB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001372/0.6406, allocations: 0.8074 MB / 0.5629 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04002/0.6807, allocations: 26.52 MB / 0.5888 GB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002897/0.6836, allocations: 1.744 MB / 0.5905 GB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.685, allocations: 0.7076 MB / 0.5912 GB, free: 12.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.064e-05/0.6851, allocations: 22.69 kB / 0.5912 GB, free: 12.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.6851, allocations: 47.91 kB / 0.5913 GB, free: 12.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=132): time 4.459e-06/0.6851, allocations: 0 / 0.5913 GB, free: 12.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=132): time 0.004675/0.6898, allocations: 1.845 MB / 0.5931 GB, free: 10.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.6899, allocations: 64.72 kB / 0.5931 GB, free: 10.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003652/0.6935, allocations: 1.745 MB / 0.5948 GB, free: 8.789 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.52e-05/0.6936, allocations: 25.7 kB / 0.5949 GB, free: 8.758 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001886/0.6955, allocations: 2.352 MB / 0.5972 GB, free: 6.371 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006899/0.6962, allocations: 493.4 kB / 0.5976 GB, free: 5.883 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002647/0.6965, allocations: 0 / 0.5976 GB, free: 5.883 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005043/0.697, allocations: 0.5149 MB / 0.5981 GB, free: 5.359 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001858/0.6989, allocations: 1.05 MB / 0.5992 GB, free: 4.309 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004124/0.703, allocations: 3.327 MB / 0.6024 GB, free: 15.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003072/0.7061, allocations: 1.91 MB / 0.6043 GB, free: 13.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-05/0.7062, allocations: 24 kB / 0.6043 GB, free: 13.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=505) (initialization): time 0.007515/0.7137, allocations: 3.922 MB / 0.6081 GB, free: 9.977 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.067e-05/0.7138, allocations: 40 kB / 0.6082 GB, free: 9.938 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001089/0.714, allocations: 80 kB / 0.6082 GB, free: 9.859 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001199/0.7141, allocations: 120 kB / 0.6083 GB, free: 9.742 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002626/0.7167, allocations: 0.8772 MB / 0.6092 GB, free: 8.863 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001325/0.7169, allocations: 163.4 kB / 0.6094 GB, free: 8.703 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/0.7194, allocations: 431.1 kB / 0.6098 GB, free: 8.277 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003985/0.7198, allocations: 232 kB / 0.61 GB, free: 8.051 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 372 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (481): * Single equations (assignments): 478 * 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.0005107/0.7204, allocations: 318 kB / 0.6103 GB, free: 7.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003569/0.7207, allocations: 185.6 kB / 0.6105 GB, free: 7.547 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002616/0.7233, allocations: 1.617 MB / 0.6121 GB, free: 5.914 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.55e-05/0.7234, allocations: 16 kB / 0.6121 GB, free: 5.898 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.7234, allocations: 0 / 0.6121 GB, free: 5.898 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.7234, allocations: 3.984 kB / 0.6121 GB, free: 5.895 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2286/0.952, allocations: 7.051 MB / 0.619 GB, free: 102.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.166e-05/0.9521, allocations: 15.03 kB / 0.619 GB, free: 102.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008116/0.9529, allocations: 209.9 kB / 0.6192 GB, free: 102.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.75e-05/0.953, allocations: 25.16 kB / 0.6192 GB, free: 102.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.081e-05/0.9531, allocations: 27.7 kB / 0.6192 GB, free: 102.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-05/0.9531, allocations: 31.28 kB / 0.6193 GB, free: 102.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.968e-05/0.9531, allocations: 27.94 kB / 0.6193 GB, free: 102.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002443/0.9556, allocations: 3.196 MB / 0.6224 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000413/0.956, allocations: 284.2 kB / 0.6227 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002045/0.9562, allocations: 25.44 kB / 0.6227 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007097/0.9569, allocations: 32.72 kB / 0.6227 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.9571, allocations: 122.6 kB / 0.6228 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.9572, allocations: 63.31 kB / 0.6229 GB, free: 100.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001717/0.9589, allocations: 1.159 MB / 0.624 GB, free: 100.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9589, allocations: 0 / 0.624 GB, free: 100.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003429/0.9624, allocations: 0.8698 MB / 0.6249 GB, free: 99.94 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * 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.0003799/0.9628, allocations: 149.3 kB / 0.625 GB, free: 99.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004326/0.9671, allocations: 2.508 MB / 0.6275 GB, free: 99.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/0.9671, allocations: 5.25 kB / 0.6275 GB, free: 99.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.9683, allocations: 0.7309 MB / 0.6282 GB, free: 99.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.9696, allocations: 200.6 kB / 0.6284 GB, free: 99.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01254/0.9821, allocations: 5.793 MB / 0.634 GB, free: 98.19 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003453/0.9856, allocations: 2.897 MB / 0.6369 GB, free: 97.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003125/0.9888, allocations: 1.276 MB / 0.6381 GB, free: 97.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003562/0.9892, allocations: 151.3 kB / 0.6383 GB, free: 97.4 MB / 426.7 MB Notification: Performance of SimCode: time 9.51e-07/0.9892, allocations: 0 / 0.6383 GB, free: 97.4 MB / 426.7 MB Notification: Performance of Templates: time 0.02777/1.017, allocations: 14.43 MB / 0.6524 GB, free: 96.78 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1)