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.004947/0.004947, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.001127/0.001127, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.641/1.641, allocations: 205.1 MB / 222.5 MB, free: 4.379 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.3664/0.3664, allocations: 38 MB / 307.9 MB, free: 10.32 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.001507/0.001507, allocations: 71.91 kB / 433 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.341, allocations: 56.46 MB / 489.5 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.01901/0.36, allocations: 21.22 MB / 0.4987 GB, free: 4.828 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01793/0.378, allocations: 6.075 MB / 0.5046 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008307/0.3864, allocations: 153 kB / 0.5048 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01687/0.4034, allocations: 7.666 MB / 0.5123 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01446/0.4179, allocations: 3.759 MB / 0.516 GB, free: 9.141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005365/0.4233, allocations: 1.722 MB / 0.5176 GB, free: 7.988 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01914/0.4425, allocations: 9.609 MB / 0.527 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01788/0.4604, allocations: 9.498 MB / 0.5363 GB, free: 7.656 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01003/0.4705, allocations: 3.914 MB / 0.5401 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009503/0.48, allocations: 5.297 MB / 0.5453 GB, free: 14.42 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004497/0.4846, allocations: 0.8711 MB / 0.5461 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007314/0.4919, allocations: 1.666 MB / 0.5478 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008572/0.5005, allocations: 4.949 MB / 0.5526 GB, free: 6.918 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01383/0.5144, allocations: 5.5 MB / 0.558 GB, free: 1.387 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0262/0.5407, allocations: 17.02 MB / 0.5746 GB, free: 320 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.998e-06/0.5407, allocations: 0 / 0.5746 GB, free: 320 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.5407, allocations: 0 / 0.5746 GB, free: 320 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009219/0.5417, allocations: 0 / 0.5746 GB, free: 320 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.03644/0.5781, allocations: 11.37 MB / 0.5857 GB, free: 4.844 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.5782, allocations: 11.89 kB / 0.5857 GB, free: 4.832 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01464/0.5929, allocations: 3.017 MB / 0.5886 GB, free: 1.789 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01537/0.6083, allocations: 5.827 MB / 0.5943 GB, free: 11.88 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008708/0.6092, allocations: 0.5928 MB / 0.5949 GB, free: 11.29 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004276/0.6135, allocations: 0.7613 MB / 0.5957 GB, free: 10.53 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06057/0.6741, allocations: 24.47 MB / 0.6196 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005251/0.6747, allocations: 75.28 kB / 0.6196 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003973/0.6787, allocations: 371.6 kB / 0.62 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008114/0.6868, allocations: 4.547 MB / 0.6244 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6069/1.294, allocations: 19.2 MB / 0.6432 GB, free: 110.1 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1277/1.422, allocations: 85.29 MB / 0.7265 GB, free: 48.13 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01893/1.44, allocations: 7.762 MB / 0.734 GB, free: 41.32 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004356/1.445, allocations: 3.118 MB / 0.7371 GB, free: 38.18 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02243/1.467, allocations: 13.1 MB / 0.7499 GB, free: 24.68 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/1.467, allocations: 68.72 kB / 0.7499 GB, free: 24.6 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=336): time 6.081e-06/1.467, allocations: 0 / 0.7499 GB, free: 24.6 MB / 0.4982 GB Notification: Performance of matching and sorting (n=360): time 0.04686/1.514, allocations: 20.52 MB / 0.77 GB, free: 4.016 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.71e-05/1.514, allocations: 162.9 kB / 0.7701 GB, free: 3.824 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01086/1.525, allocations: 7.411 MB / 0.7774 GB, free: 12.44 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0008855/1.526, allocations: 81.61 kB / 0.7775 GB, free: 12.36 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.006024/1.532, allocations: 6.764 MB / 0.7841 GB, free: 5.508 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002348/1.535, allocations: 1.357 MB / 0.7854 GB, free: 4.133 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003296/1.538, allocations: 2.194 MB / 0.7875 GB, free: 1.93 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001024/1.538, allocations: 301.1 kB / 0.7878 GB, free: 1.633 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005663/1.544, allocations: 3.309 MB / 0.7911 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01152/1.555, allocations: 9.934 MB / 0.8008 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01799/1.573, allocations: 14.4 MB / 0.8148 GB, free: 15.41 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001906/1.574, allocations: 71.94 kB / 0.8149 GB, free: 15.34 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.03048/1.604, allocations: 12.94 MB / 0.8275 GB, free: 2.348 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001623/1.604, allocations: 107.6 kB / 0.8276 GB, free: 2.246 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003007/1.605, allocations: 236 kB / 0.8279 GB, free: 2.016 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003125/1.605, allocations: 308 kB / 0.8281 GB, free: 1.715 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009548/1.614, allocations: 2.577 MB / 0.8307 GB, free: 15.13 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004431/1.615, allocations: 466.3 kB / 0.8311 GB, free: 14.68 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008487/1.623, allocations: 0.5152 MB / 0.8316 GB, free: 14.16 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002048/1.625, allocations: 0.664 MB / 0.8323 GB, free: 13.5 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.009577/1.635, allocations: 4.529 MB / 0.8367 GB, free: 8.949 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001599/1.637, allocations: 0.6555 MB / 0.8373 GB, free: 8.285 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007701/1.644, allocations: 4.104 MB / 0.8413 GB, free: 4.133 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.704e-05/1.644, allocations: 40 kB / 0.8414 GB, free: 4.094 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/1.644, allocations: 0 / 0.8414 GB, free: 4.094 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-05/1.644, allocations: 15.94 kB / 0.8414 GB, free: 4.078 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4629/2.107, allocations: 49.28 MB / 0.8895 GB, free: 178.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001892/2.108, allocations: 73.34 kB / 0.8896 GB, free: 178.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003328/2.111, allocations: 0.7413 MB / 0.8903 GB, free: 178.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001182/2.111, allocations: 96.34 kB / 0.8904 GB, free: 178.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004588/2.112, allocations: 168.9 kB / 0.8906 GB, free: 178.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001528/2.112, allocations: 142.8 kB / 0.8907 GB, free: 178.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001125/2.112, allocations: 118.6 kB / 0.8908 GB, free: 178.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009863/2.122, allocations: 7.344 MB / 0.898 GB, free: 173.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002372/2.124, allocations: 0.7778 MB / 0.8987 GB, free: 173.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009888/2.125, allocations: 173.4 kB / 0.8989 GB, free: 173.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003268/2.128, allocations: 203.5 kB / 0.8991 GB, free: 173.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005879/2.129, allocations: 0.4895 MB / 0.8996 GB, free: 173 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003827/2.129, allocations: 210.8 kB / 0.8998 GB, free: 173 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008759/2.138, allocations: 4.613 MB / 0.9043 GB, free: 171.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.51e-07/2.138, allocations: 0 / 0.9043 GB, free: 171.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01284/2.151, allocations: 1.89 MB / 0.9061 GB, free: 171.4 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.001301/2.152, allocations: 365.9 kB / 0.9065 GB, free: 171.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01385/2.166, allocations: 7.963 MB / 0.9142 GB, free: 168.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.819e-05/2.166, allocations: 11.69 kB / 0.9143 GB, free: 168.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003976/2.17, allocations: 2.15 MB / 0.9164 GB, free: 166.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008623/2.179, allocations: 1.119 MB / 0.9175 GB, free: 165.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03615/2.215, allocations: 21.76 MB / 0.9387 GB, free: 144.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01222/2.228, allocations: 6.93 MB / 0.9455 GB, free: 138.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008366/2.236, allocations: 3.309 MB / 0.9487 GB, free: 135.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001722/2.238, allocations: 495.3 kB / 0.9492 GB, free: 135.1 MB / 0.5919 GB Notification: Performance of SimCode: time 1.102e-06/2.238, allocations: 0 / 0.9492 GB, free: 135.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.1053/2.343, allocations: 54.18 MB / 1.002 GB, free: 81.04 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)