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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009973/0.009974, allocations: 106.9 kB / 15.74 MB, free: 5.582 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.002075/0.002075, allocations: 197.7 kB / 16.67 MB, free: 5.508 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.616/1.616, allocations: 205.1 MB / 222.5 MB, free: 4.48 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.3362/0.3362, allocations: 38 MB / 307.9 MB, free: 9.988 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.001595/0.001595, allocations: 76.39 kB / 433 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3527, allocations: 56.47 MB / 489.5 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.02178/0.3745, allocations: 21.23 MB / 0.4987 GB, free: 4.742 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01688/0.3915, allocations: 6.065 MB / 0.5046 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007307/0.3989, allocations: 149.1 kB / 0.5048 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0187/0.4176, allocations: 7.666 MB / 0.5123 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01534/0.433, allocations: 3.659 MB / 0.5158 GB, free: 9.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005991/0.439, allocations: 1.714 MB / 0.5175 GB, free: 8.012 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01969/0.4587, allocations: 9.597 MB / 0.5269 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01464/0.4734, allocations: 9.51 MB / 0.5362 GB, free: 7.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008403/0.4818, allocations: 3.902 MB / 0.54 GB, free: 3.836 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00922/0.4911, allocations: 5.3 MB / 0.5452 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003024/0.4942, allocations: 0.8711 MB / 0.546 GB, free: 13.65 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00528/0.4994, allocations: 1.674 MB / 0.5477 GB, free: 11.97 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007032/0.5065, allocations: 4.945 MB / 0.5525 GB, free: 7.016 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01138/0.5179, allocations: 5.504 MB / 0.5579 GB, free: 1.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02514/0.5431, allocations: 17.02 MB / 0.5745 GB, free: 416 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.5431, allocations: 0 / 0.5745 GB, free: 416 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5431, allocations: 0 / 0.5745 GB, free: 416 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007297/0.5439, allocations: 0 / 0.5745 GB, free: 416 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.03209/0.576, allocations: 11.37 MB / 0.5856 GB, free: 4.934 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.5761, allocations: 11.89 kB / 0.5856 GB, free: 4.922 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01444/0.5905, allocations: 3.013 MB / 0.5885 GB, free: 1.891 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01507/0.6056, allocations: 5.823 MB / 0.5942 GB, free: 11.99 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007497/0.6064, allocations: 0.5889 MB / 0.5948 GB, free: 11.4 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004031/0.6104, allocations: 0.7691 MB / 0.5955 GB, free: 10.63 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06136/0.6718, allocations: 24.47 MB / 0.6194 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000596/0.6725, allocations: 79.34 kB / 0.6195 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004211/0.6767, allocations: 367.6 kB / 0.6199 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008386/0.6851, allocations: 4.535 MB / 0.6243 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6119/1.297, allocations: 19.2 MB / 0.6431 GB, free: 110.1 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1211/1.418, allocations: 85.31 MB / 0.7264 GB, free: 48.13 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01959/1.438, allocations: 7.806 MB / 0.734 GB, free: 41.38 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004484/1.442, allocations: 3.118 MB / 0.737 GB, free: 38.25 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02367/1.466, allocations: 13.11 MB / 0.7498 GB, free: 24.73 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.856e-05/1.466, allocations: 76.7 kB / 0.7499 GB, free: 24.64 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=336): time 7.033e-06/1.466, allocations: 0 / 0.7499 GB, free: 24.64 MB / 0.4982 GB Notification: Performance of matching and sorting (n=360): time 0.04953/1.516, allocations: 20.51 MB / 0.7699 GB, free: 4.066 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.052e-05/1.516, allocations: 162.9 kB / 0.7701 GB, free: 3.875 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01253/1.528, allocations: 7.411 MB / 0.7773 GB, free: 12.49 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001094/1.53, allocations: 81.7 kB / 0.7774 GB, free: 12.41 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.007229/1.537, allocations: 6.768 MB / 0.784 GB, free: 5.555 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002537/1.539, allocations: 1.361 MB / 0.7853 GB, free: 4.176 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004021/1.543, allocations: 2.198 MB / 0.7875 GB, free: 1.969 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.544, allocations: 305.1 kB / 0.7878 GB, free: 1.668 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005583/1.549, allocations: 3.309 MB / 0.791 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01057/1.56, allocations: 9.926 MB / 0.8007 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0193/1.579, allocations: 14.41 MB / 0.8148 GB, free: 15.45 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002571/1.579, allocations: 64 kB / 0.8148 GB, free: 15.39 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.03021/1.61, allocations: 12.93 MB / 0.8275 GB, free: 2.402 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.00047/1.61, allocations: 111.6 kB / 0.8276 GB, free: 2.297 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005211/1.611, allocations: 232 kB / 0.8278 GB, free: 2.07 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003468/1.611, allocations: 308 kB / 0.8281 GB, free: 1.77 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01004/1.621, allocations: 2.582 MB / 0.8306 GB, free: 15.18 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007092/1.622, allocations: 462.2 kB / 0.831 GB, free: 14.73 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009667/1.632, allocations: 0.5148 MB / 0.8315 GB, free: 14.22 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002565/1.634, allocations: 0.6601 MB / 0.8322 GB, free: 13.56 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 (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.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.01141/1.646, allocations: 4.529 MB / 0.8366 GB, free: 9.012 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002144/1.648, allocations: 0.6633 MB / 0.8373 GB, free: 8.34 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0113/1.659, allocations: 4.096 MB / 0.8413 GB, free: 4.195 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.737e-05/1.659, allocations: 40 kB / 0.8413 GB, free: 4.156 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.116e-05/1.659, allocations: 0 / 0.8413 GB, free: 4.156 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.396e-05/1.659, allocations: 15.94 kB / 0.8413 GB, free: 4.141 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4104/2.07, allocations: 42.05 MB / 0.8824 GB, free: 180.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002398/2.07, allocations: 91.06 kB / 0.8825 GB, free: 180.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00324/2.073, allocations: 0.8628 MB / 0.8833 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001531/2.073, allocations: 119.1 kB / 0.8834 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004499/2.074, allocations: 203.2 kB / 0.8836 GB, free: 180.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000178/2.074, allocations: 180 kB / 0.8838 GB, free: 180.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001008/2.074, allocations: 145.5 kB / 0.8839 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009666/2.084, allocations: 8.039 MB / 0.8918 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003417/2.087, allocations: 0.8301 MB / 0.8926 GB, free: 174.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001761/2.089, allocations: 210.5 kB / 0.8928 GB, free: 174.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004681/2.094, allocations: 207.2 kB / 0.893 GB, free: 174.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001064/2.095, allocations: 0.589 MB / 0.8936 GB, free: 173.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004233/2.095, allocations: 248.7 kB / 0.8938 GB, free: 173.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.009244/2.105, allocations: 4.611 MB / 0.8983 GB, free: 172.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.02e-07/2.105, allocations: 0 / 0.8983 GB, free: 172.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01179/2.116, allocations: 1.896 MB / 0.9002 GB, free: 172.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 413 * 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 (455): * Single equations (assignments): 452 * 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.001871/2.118, allocations: 424.1 kB / 0.9006 GB, free: 171.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01304/2.131, allocations: 7.983 MB / 0.9084 GB, free: 169.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.595e-05/2.132, allocations: 15.66 kB / 0.9084 GB, free: 169.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003466/2.135, allocations: 2.223 MB / 0.9105 GB, free: 168.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00841/2.143, allocations: 1.17 MB / 0.9117 GB, free: 168 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03689/2.18, allocations: 22.33 MB / 0.9335 GB, free: 147 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01728/2.198, allocations: 6.978 MB / 0.9403 GB, free: 141.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008964/2.207, allocations: 3.311 MB / 0.9435 GB, free: 139.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001337/2.208, allocations: 0.4994 MB / 0.944 GB, free: 139.1 MB / 0.5919 GB Notification: Performance of SimCode: time 8.92e-07/2.208, allocations: 0 / 0.944 GB, free: 139.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.09891/2.307, allocations: 55.2 MB / 0.9979 GB, free: 84.18 MB / 0.5919 GB 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)