Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_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.001904/0.001904, allocations: 114.7 kB / 17.09 MB, free: 5.961 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.002067/0.002067, allocations: 198 kB / 18.02 MB, free: 5.043 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.326/1.326, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1991/0.1991, allocations: 43.51 MB / 314.8 MB, free: 476 kB / 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: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 78.7 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.105, allocations: 57.78 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.02086/0.1259, allocations: 21.23 MB / 0.5093 GB, free: 6.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01265/0.1386, allocations: 6.078 MB / 0.5152 GB, free: 404 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003334/0.1419, allocations: 155.6 kB / 0.5154 GB, free: 248 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01404/0.156, allocations: 7.66 MB / 0.5228 GB, free: 8.559 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0113/0.1674, allocations: 3.754 MB / 0.5265 GB, free: 4.789 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004489/0.1719, allocations: 1.731 MB / 0.5282 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2202/0.3921, allocations: 9.589 MB / 0.5376 GB, free: 5.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01209/0.4043, allocations: 9.503 MB / 0.5468 GB, free: 4.031 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007285/0.4116, allocations: 3.908 MB / 0.5507 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008149/0.4198, allocations: 5.309 MB / 0.5558 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003811/0.4236, allocations: 0.8681 MB / 0.5567 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005067/0.4287, allocations: 1.665 MB / 0.5583 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00557/0.4343, allocations: 4.943 MB / 0.5631 GB, free: 1.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01117/0.4455, allocations: 5.767 MB / 0.5688 GB, free: 14.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01815/0.4636, allocations: 17.01 MB / 0.5854 GB, free: 1.859 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.4637, allocations: 0 / 0.5854 GB, free: 1.859 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4637, allocations: 7.938 kB / 0.5854 GB, free: 1.852 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004942/0.4642, allocations: 4 kB / 0.5854 GB, free: 1.848 MB / 430.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.02308/0.4873, allocations: 11.37 MB / 0.5965 GB, free: 6.625 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.4873, allocations: 11.89 kB / 0.5965 GB, free: 6.613 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01288/0.5002, allocations: 3.02 MB / 0.5995 GB, free: 3.578 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01265/0.5129, allocations: 5.815 MB / 0.6051 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006659/0.5136, allocations: 0.5999 MB / 0.6057 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002862/0.5165, allocations: 0.7657 MB / 0.6065 GB, free: 12.92 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05152/0.568, allocations: 24.46 MB / 0.6304 GB, free: 3.59 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000493/0.5685, allocations: 80.94 kB / 0.6304 GB, free: 3.547 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002889/0.5715, allocations: 369.3 kB / 0.6308 GB, free: 3.273 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007896/0.5794, allocations: 4.54 MB / 0.6352 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04583/0.6252, allocations: 19.2 MB / 0.654 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1351/0.7604, allocations: 85.3 MB / 0.7373 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02448/0.785, allocations: 7.821 MB / 0.7449 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006124/0.7911, allocations: 3.125 MB / 0.748 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.451/1.242, allocations: 13.09 MB / 0.7608 GB, free: 192.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/1.242, allocations: 67.89 kB / 0.7608 GB, free: 192.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=336): time 6.742e-06/1.242, allocations: 0 / 0.7608 GB, free: 192.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=360): time 0.05609/1.298, allocations: 20.51 MB / 0.7808 GB, free: 186 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/1.298, allocations: 170.3 kB / 0.781 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009506/1.308, allocations: 7.418 MB / 0.7883 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0006086/1.309, allocations: 84.95 kB / 0.7883 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004049/1.313, allocations: 6.764 MB / 0.7949 GB, free: 178 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001626/1.314, allocations: 1.361 MB / 0.7963 GB, free: 177 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00242/1.317, allocations: 2.19 MB / 0.7984 GB, free: 176 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.417e-05/1.317, allocations: 301.1 kB / 0.7987 GB, free: 175.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004869/1.322, allocations: 3.311 MB / 0.8019 GB, free: 174.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008492/1.33, allocations: 9.924 MB / 0.8116 GB, free: 164.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01363/1.344, allocations: 14.4 MB / 0.8257 GB, free: 152.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002222/1.344, allocations: 69.09 kB / 0.8257 GB, free: 152.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.02256/1.367, allocations: 12.94 MB / 0.8384 GB, free: 143.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001891/1.367, allocations: 107.8 kB / 0.8385 GB, free: 143.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003444/1.367, allocations: 235.9 kB / 0.8387 GB, free: 143.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002862/1.368, allocations: 312 kB / 0.839 GB, free: 142.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008428/1.376, allocations: 2.579 MB / 0.8415 GB, free: 140.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003471/1.376, allocations: 455.9 kB / 0.842 GB, free: 140 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0083/1.385, allocations: 0.5222 MB / 0.8425 GB, free: 139.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001691/1.386, allocations: 0.664 MB / 0.8431 GB, free: 138.9 MB / 0.5919 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.009453/1.396, allocations: 4.537 MB / 0.8475 GB, free: 134.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001837/1.398, allocations: 0.6526 MB / 0.8482 GB, free: 133.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008395/1.406, allocations: 4.089 MB / 0.8522 GB, free: 129.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.304e-05/1.406, allocations: 23.86 kB / 0.8522 GB, free: 129.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.445e-06/1.406, allocations: 0 / 0.8522 GB, free: 129.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001951/1.408, allocations: 0.6603 MB / 0.8528 GB, free: 128.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001516/1.41, allocations: 56.62 kB / 0.8529 GB, free: 128.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003311/1.413, allocations: 163.8 kB / 0.8531 GB, free: 128.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004117/1.413, allocations: 190.1 kB / 0.8532 GB, free: 128.4 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007205/1.421, allocations: 4.429 MB / 0.8576 GB, free: 124 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006062/1.427, allocations: 4.749 MB / 0.8622 GB, free: 119.2 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002165/1.429, allocations: 1.869 MB / 0.864 GB, free: 117.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007415/1.436, allocations: 4.615 MB / 0.8685 GB, free: 112.7 MB / 0.5919 GB Notification: Performance of Backend: time 3.8e-07/1.436, allocations: 0 / 0.8685 GB, free: 112.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01234/1.449, allocations: 6.41 MB / 0.8748 GB, free: 106.4 MB / 0.5919 GB Notification: Performance of SimCode: time 0.03662/1.485, allocations: 19.42 MB / 0.8938 GB, free: 86.93 MB / 0.5919 GB Notification: Performance of Templates: time 0.1304/1.616, allocations: 71.72 MB / 0.9638 GB, free: 15.35 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque2/CutForceAndTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches