Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.CutForceAndTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001872/0.001872, allocations: 157.1 kB / 7.633 MB, free: 1.445 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.355/1.355, allocations: 170.7 MB / 178.7 MB, free: 7.043 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.001727/0.001727, allocations: 99.67 kB / 218 MB, free: 15.34 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.1986/0.1986, allocations: 37.96 MB / 295.1 MB, free: 2.09 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.508e-05/1.511e-05, allocations: 0 / 350 MB, free: 32.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3045, allocations: 48.7 MB / 398.7 MB, free: 6.051 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1271/0.4316, allocations: 93.43 MB / 492.2 MB, free: 5.684 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002052/0.4319, allocations: 75.95 kB / 492.2 MB, free: 5.609 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6928/1.125, allocations: 194.7 MB / 0.6708 GB, free: 28.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/1.125, allocations: 0 / 0.6708 GB, free: 28.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005183/1.125, allocations: 199.9 kB / 0.671 GB, free: 28.25 MB / 410.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.03115/1.156, allocations: 9.409 MB / 0.6802 GB, free: 18.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/1.157, allocations: 8.031 kB / 0.6802 GB, free: 18.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02205/1.179, allocations: 4.031 MB / 0.6841 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02425/1.203, allocations: 10.55 MB / 0.6944 GB, free: 4.062 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006112/1.204, allocations: 347.9 kB / 0.6948 GB, free: 3.723 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005096/1.209, allocations: 0.617 MB / 0.6954 GB, free: 3.105 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02965/1.238, allocations: 14.54 MB / 0.7096 GB, free: 4.555 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3098/1.548, allocations: 20.72 MB / 0.7298 GB, free: 50.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007675/1.549, allocations: 95.44 kB / 0.7299 GB, free: 50.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004995/1.554, allocations: 46.25 kB / 0.7299 GB, free: 50.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005024/1.559, allocations: 2.277 MB / 0.7322 GB, free: 50.14 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1238/1.683, allocations: 93.8 MB / 0.8238 GB, free: 12.22 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00613/1.689, allocations: 4.133 MB / 0.8278 GB, free: 10.36 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002557/1.692, allocations: 1.943 MB / 0.8297 GB, free: 9.598 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/1.692, allocations: 65.12 kB / 0.8297 GB, free: 9.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/1.692, allocations: 71.89 kB / 0.8298 GB, free: 9.523 MB / 442.7 MB Notification: Performance of pre-optimization done (n=330): time 4.859e-06/1.692, allocations: 3.094 kB / 0.8298 GB, free: 9.523 MB / 442.7 MB Notification: Performance of matching and sorting (n=342): time 0.03446/1.726, allocations: 14.89 MB / 0.8444 GB, free: 2.301 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/1.726, allocations: 166.9 kB / 0.8445 GB, free: 2.141 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009985/1.736, allocations: 5.661 MB / 0.85 GB, free: 15.98 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007331/1.737, allocations: 25.7 kB / 0.8501 GB, free: 15.95 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00558/1.743, allocations: 6.953 MB / 0.8569 GB, free: 10.58 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002176/1.745, allocations: 1.271 MB / 0.8581 GB, free: 9.645 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007139/1.746, allocations: 0 / 0.8581 GB, free: 9.645 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005621/1.746, allocations: 0.7725 MB / 0.8589 GB, free: 9.145 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004192/1.75, allocations: 2.861 MB / 0.8616 GB, free: 8.133 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009803/1.76, allocations: 9.629 MB / 0.8711 GB, free: 13.85 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00847/1.769, allocations: 5.153 MB / 0.8761 GB, free: 11.84 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002357/1.769, allocations: 73.91 kB / 0.8762 GB, free: 11.84 MB / 474.7 MB Notification: Performance of matching and sorting (n=1444) (initialization): time 0.02459/1.794, allocations: 11.06 MB / 0.8869 GB, free: 3.281 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000168/1.794, allocations: 108 kB / 0.8871 GB, free: 3.176 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000297/1.794, allocations: 244 kB / 0.8873 GB, free: 2.938 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003398/1.795, allocations: 356 kB / 0.8876 GB, free: 2.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009849/1.804, allocations: 2.713 MB / 0.8903 GB, free: 232 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/1.806, allocations: 0.5564 MB / 0.8908 GB, free: 0 / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2737/2.08, allocations: 0.4886 MB / 0.8913 GB, free: 92.63 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002315/2.082, allocations: 0.6707 MB / 0.8919 GB, free: 92.63 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1112 * Number of states: 0 () * Number of discrete variables: 69 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1420): * Single equations (assignments): 1417 * 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.002083/2.084, allocations: 0.7067 MB / 0.8926 GB, free: 92.52 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001187/2.085, allocations: 0.6147 MB / 0.8932 GB, free: 92.52 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006059/2.092, allocations: 3.565 MB / 0.8967 GB, free: 92.32 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.235e-05/2.092, allocations: 36.17 kB / 0.8968 GB, free: 92.32 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/2.092, allocations: 7.234 kB / 0.8968 GB, free: 92.32 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.827e-05/2.092, allocations: 18.88 kB / 0.8968 GB, free: 92.32 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04973/2.141, allocations: 36.91 MB / 0.9328 GB, free: 88.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-05/2.142, allocations: 84.03 kB / 0.9329 GB, free: 88.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002417/2.144, allocations: 0.8112 MB / 0.9337 GB, free: 88.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.135e-05/2.144, allocations: 119.7 kB / 0.9338 GB, free: 88.82 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002878/2.144, allocations: 129.4 kB / 0.9339 GB, free: 88.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.967e-05/2.144, allocations: 161.5 kB / 0.9341 GB, free: 88.82 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.937e-05/2.145, allocations: 131.2 kB / 0.9342 GB, free: 88.82 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/2.155, allocations: 22.44 MB / 0.9561 GB, free: 66.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003101/2.159, allocations: 0.7691 MB / 0.9569 GB, free: 66.35 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001107/2.16, allocations: 129.7 kB / 0.957 GB, free: 66.35 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00372/2.163, allocations: 190.7 kB / 0.9572 GB, free: 66.35 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005625/2.164, allocations: 0.5451 MB / 0.9577 GB, free: 66.29 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003339/2.164, allocations: 229.1 kB / 0.9579 GB, free: 66.29 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007874/2.172, allocations: 3.774 MB / 0.9616 GB, free: 66.07 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.81e-07/2.172, allocations: 3.719 kB / 0.9616 GB, free: 66.07 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01249/2.185, allocations: 1.59 MB / 0.9632 GB, free: 66.07 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 378 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (426): * Single equations (assignments): 423 * 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.001123/2.186, allocations: 312.9 kB / 0.9635 GB, free: 65.98 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01062/2.197, allocations: 6.739 MB / 0.9701 GB, free: 65.19 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.148e-05/2.197, allocations: 12.75 kB / 0.9701 GB, free: 65.19 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002884/2.2, allocations: 1.892 MB / 0.9719 GB, free: 64.55 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005798/2.205, allocations: 0.8509 MB / 0.9728 GB, free: 64.27 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03499/2.24, allocations: 18.03 MB / 0.9904 GB, free: 55.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01199/2.252, allocations: 7.12 MB / 0.9973 GB, free: 51.08 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00983/2.262, allocations: 3.386 MB / 1.001 GB, free: 48.96 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001814/2.264, allocations: 482.9 kB / 1.001 GB, free: 48.51 MB / 474.7 MB Notification: Performance of SimCode: time 2.595e-06/2.264, allocations: 6.344 kB / 1.001 GB, free: 48.51 MB / 474.7 MB Notification: Performance of Templates: time 0.09835/2.363, allocations: 48.53 MB / 1.048 GB, free: 13.7 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1)