Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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.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 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.CutForceAndTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005692/0.005692, allocations: 104.8 kB / 15.74 MB, free: 5.988 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.001171/0.001171, allocations: 196.2 kB / 16.67 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.562/1.562, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3611/0.3611, allocations: 38 MB / 307.9 MB, free: 10.11 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.1. 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.00172/0.00172, allocations: 67.91 kB / 433 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3885, allocations: 56.46 MB / 489.5 MB, free: 19.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.01866/0.4072, allocations: 21.22 MB / 0.4987 GB, free: 4.844 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01559/0.4229, allocations: 6.07 MB / 0.5046 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006368/0.4293, allocations: 149.4 kB / 0.5048 GB, free: 0.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01554/0.4449, allocations: 7.673 MB / 0.5123 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01536/0.4603, allocations: 3.652 MB / 0.5158 GB, free: 9.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005617/0.4659, allocations: 1.714 MB / 0.5175 GB, free: 8.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01732/0.4833, allocations: 9.609 MB / 0.5269 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0143/0.4976, allocations: 9.494 MB / 0.5362 GB, free: 7.758 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01024/0.5079, allocations: 3.906 MB / 0.54 GB, free: 3.84 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01038/0.5183, allocations: 5.308 MB / 0.5452 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004041/0.5224, allocations: 0.8672 MB / 0.546 GB, free: 13.65 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006434/0.5289, allocations: 1.666 MB / 0.5476 GB, free: 11.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008289/0.5372, allocations: 4.945 MB / 0.5525 GB, free: 7.023 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01264/0.5499, allocations: 5.508 MB / 0.5579 GB, free: 1.484 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02537/0.5753, allocations: 17.01 MB / 0.5745 GB, free: 428 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.195e-05/0.5754, allocations: 0 / 0.5745 GB, free: 428 kB / 446.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.5754, allocations: 0 / 0.5745 GB, free: 428 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008414/0.5762, allocations: 0 / 0.5745 GB, free: 428 kB / 446.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.03756/0.6138, allocations: 11.37 MB / 0.5856 GB, free: 4.945 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.061e-05/0.6139, allocations: 11.89 kB / 0.5856 GB, free: 4.934 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01527/0.6292, allocations: 3.021 MB / 0.5885 GB, free: 1.895 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01731/0.6465, allocations: 5.819 MB / 0.5942 GB, free: 12 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007433/0.6473, allocations: 0.6006 MB / 0.5948 GB, free: 11.39 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004219/0.6516, allocations: 0.7574 MB / 0.5955 GB, free: 10.64 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05302/0.7046, allocations: 24.48 MB / 0.6194 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005786/0.7052, allocations: 79.28 kB / 0.6195 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003518/0.7088, allocations: 363.7 kB / 0.6199 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007496/0.7163, allocations: 4.543 MB / 0.6243 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6125/1.329, allocations: 19.2 MB / 0.6431 GB, free: 110.2 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1415/1.47, allocations: 85.3 MB / 0.7264 GB, free: 48.23 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02099/1.491, allocations: 7.749 MB / 0.7339 GB, free: 41.44 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005187/1.497, allocations: 3.114 MB / 0.737 GB, free: 38.31 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02822/1.525, allocations: 13.1 MB / 0.7498 GB, free: 24.79 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.076e-05/1.525, allocations: 72.72 kB / 0.7498 GB, free: 24.71 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=336): time 7.183e-06/1.525, allocations: 4 kB / 0.7498 GB, free: 24.7 MB / 0.4982 GB Notification: Performance of matching and sorting (n=360): time 0.0558/1.581, allocations: 20.51 MB / 0.7699 GB, free: 4.125 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.378e-05/1.581, allocations: 174.9 kB / 0.77 GB, free: 3.922 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01239/1.593, allocations: 7.403 MB / 0.7773 GB, free: 12.55 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007961/1.594, allocations: 81.7 kB / 0.7773 GB, free: 12.46 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.006209/1.6, allocations: 6.764 MB / 0.7839 GB, free: 5.613 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.00204/1.603, allocations: 1.357 MB / 0.7853 GB, free: 4.238 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003888/1.606, allocations: 2.186 MB / 0.7874 GB, free: 2.043 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001345/1.607, allocations: 309.1 kB / 0.7877 GB, free: 1.738 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006258/1.613, allocations: 3.31 MB / 0.7909 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.014/1.627, allocations: 9.93 MB / 0.8006 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01992/1.647, allocations: 14.41 MB / 0.8147 GB, free: 15.51 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002591/1.647, allocations: 67.94 kB / 0.8148 GB, free: 15.45 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.02952/1.677, allocations: 12.94 MB / 0.8274 GB, free: 2.453 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003902/1.677, allocations: 111.7 kB / 0.8275 GB, free: 2.348 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005133/1.678, allocations: 232 kB / 0.8277 GB, free: 2.121 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004993/1.678, allocations: 312.2 kB / 0.828 GB, free: 1.816 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009777/1.688, allocations: 2.573 MB / 0.8305 GB, free: 15.24 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006474/1.689, allocations: 462.1 kB / 0.831 GB, free: 14.79 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008655/1.697, allocations: 0.5191 MB / 0.8315 GB, free: 14.27 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002287/1.7, allocations: 0.6601 MB / 0.8321 GB, free: 13.61 MB / 0.5763 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 (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.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 (1393): * Single equations (assignments): 1382 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01033/1.71, allocations: 4.529 MB / 0.8366 GB, free: 9.059 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001926/1.712, allocations: 0.6594 MB / 0.8372 GB, free: 8.391 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01003/1.722, allocations: 4.1 MB / 0.8412 GB, free: 4.242 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.728e-05/1.722, allocations: 39.98 kB / 0.8412 GB, free: 4.203 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.827e-05/1.722, allocations: 4 kB / 0.8412 GB, free: 4.199 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.423e-05/1.722, allocations: 19.92 kB / 0.8413 GB, free: 4.18 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3986/2.121, allocations: 49.26 MB / 0.8894 GB, free: 179.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001427/2.121, allocations: 75.34 kB / 0.8894 GB, free: 179.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002988/2.124, allocations: 0.7436 MB / 0.8902 GB, free: 179 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001166/2.124, allocations: 95.06 kB / 0.8903 GB, free: 179 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003824/2.124, allocations: 170.6 kB / 0.8904 GB, free: 178.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000144/2.125, allocations: 144.6 kB / 0.8906 GB, free: 178.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001188/2.125, allocations: 115 kB / 0.8907 GB, free: 178.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01121/2.136, allocations: 7.345 MB / 0.8978 GB, free: 173.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003441/2.139, allocations: 0.778 MB / 0.8986 GB, free: 173.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002096/2.142, allocations: 175.3 kB / 0.8988 GB, free: 173.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004284/2.146, allocations: 203.5 kB / 0.899 GB, free: 173.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006788/2.147, allocations: 0.4937 MB / 0.8994 GB, free: 173.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003183/2.147, allocations: 207.8 kB / 0.8996 GB, free: 173.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008072/2.155, allocations: 4.616 MB / 0.9042 GB, free: 171.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.01e-07/2.155, allocations: 0 / 0.9042 GB, free: 171.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01259/2.168, allocations: 1.886 MB / 0.906 GB, free: 171.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 334 * 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 (380): * Single equations (assignments): 377 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001204/2.169, allocations: 369.5 kB / 0.9063 GB, free: 171.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0127/2.182, allocations: 7.962 MB / 0.9141 GB, free: 168.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.747e-05/2.182, allocations: 10 kB / 0.9141 GB, free: 168.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00338/2.185, allocations: 2.151 MB / 0.9162 GB, free: 166.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008816/2.194, allocations: 1.113 MB / 0.9173 GB, free: 165.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04631/2.24, allocations: 21.77 MB / 0.9386 GB, free: 144.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01661/2.257, allocations: 6.93 MB / 0.9454 GB, free: 139 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01248/2.269, allocations: 3.309 MB / 0.9486 GB, free: 135.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002668/2.272, allocations: 495.3 kB / 0.9491 GB, free: 135.2 MB / 0.5919 GB Notification: Performance of SimCode: time 1.663e-06/2.272, allocations: 0 / 0.9491 GB, free: 135.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.1079/2.38, allocations: 53.7 MB / 1.001 GB, free: 81.74 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1)