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.001768/0.001769, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.273/1.273, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001686/0.001686, allocations: 103.5 kB / 223.2 MB, free: 4.043 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.1681/0.1681, allocations: 37.99 MB / 300.4 MB, free: 5.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.345e-05/2.348e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08152/0.08155, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3352/0.4168, allocations: 94.09 MB / 499.8 MB, free: 16.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.4171, allocations: 75.22 kB / 499.9 MB, free: 16.92 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6833/1.1, allocations: 199.4 MB / 0.6829 GB, free: 61.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.565e-06/1.1, allocations: 0 / 0.6829 GB, free: 61.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005209/1.101, allocations: 193.6 kB / 0.6831 GB, free: 61.4 MB / 426.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.02863/1.13, allocations: 9.42 MB / 0.6923 GB, free: 57.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/1.13, allocations: 9.312 kB / 0.6923 GB, free: 57.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02117/1.151, allocations: 4.038 MB / 0.6963 GB, free: 56.99 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02447/1.175, allocations: 10.56 MB / 0.7066 GB, free: 55.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007538/1.176, allocations: 0.791 MB / 0.7073 GB, free: 55.79 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005001/1.181, allocations: 1.038 MB / 0.7084 GB, free: 55.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05734/1.239, allocations: 24.07 MB / 0.7319 GB, free: 37.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004525/1.239, allocations: 95.06 kB / 0.732 GB, free: 37.53 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00429/1.243, allocations: 493.8 kB / 0.7324 GB, free: 37.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003605/1.247, allocations: 2.273 MB / 0.7346 GB, free: 34.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04041/1.287, allocations: 18.97 MB / 0.7532 GB, free: 15.85 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3653/1.653, allocations: 94.14 MB / 0.8451 GB, free: 38.24 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01951/1.672, allocations: 7.616 MB / 0.8526 GB, free: 37.54 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00421/1.677, allocations: 3.037 MB / 0.8555 GB, free: 37.49 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02434/1.701, allocations: 13.3 MB / 0.8685 GB, free: 34.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/1.701, allocations: 68.84 kB / 0.8686 GB, free: 34.15 MB / 474.7 MB Notification: Performance of pre-optimization done (n=336): time 6.312e-06/1.701, allocations: 3.75 kB / 0.8686 GB, free: 34.15 MB / 474.7 MB Notification: Performance of matching and sorting (n=360): time 0.04971/1.751, allocations: 18.77 MB / 0.8869 GB, free: 28.45 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/1.751, allocations: 167.4 kB / 0.8871 GB, free: 28.29 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00814/1.759, allocations: 6.392 MB / 0.8933 GB, free: 27.72 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005273/1.76, allocations: 82.83 kB / 0.8934 GB, free: 27.69 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003473/1.763, allocations: 6.808 MB / 0.9 GB, free: 23.89 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00133/1.764, allocations: 1.362 MB / 0.9014 GB, free: 23.01 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005793/1.765, allocations: 213.8 kB / 0.9016 GB, free: 22.84 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005499/1.766, allocations: 0.7505 MB / 0.9023 GB, free: 22.35 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004465/1.77, allocations: 2.985 MB / 0.9052 GB, free: 21.36 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006321/1.776, allocations: 9.47 MB / 0.9145 GB, free: 11.66 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007236/1.784, allocations: 5.234 MB / 0.9196 GB, free: 10.09 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001955/1.784, allocations: 71.86 kB / 0.9196 GB, free: 10.08 MB / 474.7 MB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.02142/1.805, allocations: 12.18 MB / 0.9315 GB, free: 6.168 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001278/1.805, allocations: 105.3 kB / 0.9316 GB, free: 6.168 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002584/1.806, allocations: 228.8 kB / 0.9319 GB, free: 6.168 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003403/1.806, allocations: 342.8 kB / 0.9322 GB, free: 6.168 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00876/1.815, allocations: 2.616 MB / 0.9347 GB, free: 5.852 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002663/1.815, allocations: 454.6 kB / 0.9352 GB, free: 5.754 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00888/1.824, allocations: 0.684 MB / 0.9358 GB, free: 5.559 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001687/1.826, allocations: 0.6403 MB / 0.9365 GB, free: 5.477 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1052 * 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 (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.001882/1.828, allocations: 0.9381 MB / 0.9374 GB, free: 4.711 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001226/1.829, allocations: 0.6715 MB / 0.938 GB, free: 4.34 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005883/1.835, allocations: 3.991 MB / 0.9419 GB, free: 2.781 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.893e-05/1.835, allocations: 34.16 kB / 0.942 GB, free: 2.781 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/1.835, allocations: 5.781 kB / 0.942 GB, free: 2.781 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.523e-05/1.835, allocations: 16.31 kB / 0.942 GB, free: 2.781 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3323/2.167, allocations: 41.8 MB / 0.9828 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001642/2.167, allocations: 91.09 kB / 0.9829 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00279/2.17, allocations: 0.8388 MB / 0.9837 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-05/2.17, allocations: 131.8 kB / 0.9838 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003315/2.171, allocations: 192.9 kB / 0.984 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000117/2.171, allocations: 174.2 kB / 0.9842 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.537e-05/2.171, allocations: 141.9 kB / 0.9843 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01333/2.184, allocations: 25.08 MB / 1.009 GB, free: 79.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002333/2.187, allocations: 0.8391 MB / 1.01 GB, free: 79 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009198/2.187, allocations: 204.5 kB / 1.01 GB, free: 79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003344/2.191, allocations: 269.4 kB / 1.01 GB, free: 79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005623/2.191, allocations: 0.5709 MB / 1.011 GB, free: 78.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002942/2.192, allocations: 241.2 kB / 1.011 GB, free: 78.93 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007079/2.199, allocations: 4.459 MB / 1.015 GB, free: 78.69 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.41e-07/2.199, allocations: 3.469 kB / 1.015 GB, free: 78.69 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01073/2.21, allocations: 1.871 MB / 1.017 GB, free: 78.69 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 402 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (444): * Single equations (assignments): 441 * 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.001023/2.211, allocations: 384.6 kB / 1.017 GB, free: 78.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01197/2.223, allocations: 7.275 MB / 1.025 GB, free: 77.88 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.206e-05/2.223, allocations: 15.41 kB / 1.025 GB, free: 77.88 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003012/2.226, allocations: 2.116 MB / 1.027 GB, free: 77.61 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006354/2.232, allocations: 1.084 MB / 1.028 GB, free: 77.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03661/2.269, allocations: 18.54 MB / 1.046 GB, free: 70.95 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01033/2.279, allocations: 7.159 MB / 1.053 GB, free: 69.37 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00944/2.289, allocations: 3.316 MB / 1.056 GB, free: 69.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001803/2.29, allocations: 0.4931 MB / 1.056 GB, free: 69.03 MB / 490.7 MB Notification: Performance of SimCode: time 1.533e-06/2.29, allocations: 2.078 kB / 1.056 GB, free: 69.03 MB / 490.7 MB Notification: Performance of Templates: time 0.1329/2.423, allocations: 57.56 MB / 1.113 GB, free: 33.37 MB / 490.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)