Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.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.CutForceAndTorque1,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.CutForceAndTorque1") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,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.CutForceAndTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 100.8 kB / 17.08 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.001792/0.001792, allocations: 199.3 kB / 18.02 MB, free: 5.07 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.28/1.28, 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.197/0.197, allocations: 43.52 MB / 314.8 MB, free: 464 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.001391/0.001391, allocations: 67.91 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09942/0.1008, allocations: 57.78 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.02123/0.1221, allocations: 21.23 MB / 0.5093 GB, free: 6.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0128/0.1349, allocations: 6.086 MB / 0.5152 GB, free: 400 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003242/0.1382, allocations: 147.6 kB / 0.5154 GB, free: 252 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01309/0.1513, allocations: 7.656 MB / 0.5228 GB, free: 8.566 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008998/0.1604, allocations: 3.649 MB / 0.5264 GB, free: 4.902 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003855/0.1642, allocations: 1.724 MB / 0.5281 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2273/0.3916, allocations: 9.591 MB / 0.5374 GB, free: 5.438 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01203/0.4037, allocations: 9.499 MB / 0.5467 GB, free: 4.223 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00696/0.4107, allocations: 3.913 MB / 0.5505 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008441/0.4191, allocations: 5.304 MB / 0.5557 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00319/0.4223, allocations: 0.8715 MB / 0.5566 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00493/0.4273, allocations: 1.665 MB / 0.5582 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005055/0.4324, allocations: 4.943 MB / 0.563 GB, free: 1.465 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01012/0.4425, allocations: 5.763 MB / 0.5687 GB, free: 14.67 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01722/0.4597, allocations: 17.01 MB / 0.5853 GB, free: 1.797 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.4598, allocations: 0 / 0.5853 GB, free: 1.797 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4598, allocations: 0 / 0.5853 GB, free: 1.797 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004785/0.4603, allocations: 0 / 0.5853 GB, free: 1.797 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.02433/0.4846, allocations: 11.38 MB / 0.5964 GB, free: 6.562 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.4847, allocations: 11.89 kB / 0.5964 GB, free: 6.551 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0135/0.4982, allocations: 3.018 MB / 0.5993 GB, free: 3.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01261/0.5108, allocations: 5.809 MB / 0.605 GB, free: 14.05 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007326/0.5116, allocations: 0.5963 MB / 0.6056 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003276/0.5149, allocations: 0.7699 MB / 0.6063 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04733/0.5622, allocations: 24.47 MB / 0.6302 GB, free: 3.523 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003821/0.5627, allocations: 78.62 kB / 0.6303 GB, free: 3.484 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002449/0.5651, allocations: 370.9 kB / 0.6307 GB, free: 3.211 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007147/0.5723, allocations: 4.542 MB / 0.6351 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04282/0.6151, allocations: 19.21 MB / 0.6539 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1204/0.7355, allocations: 85.29 MB / 0.7372 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02209/0.7576, allocations: 7.755 MB / 0.7447 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005139/0.7628, allocations: 3.122 MB / 0.7478 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4534/1.216, allocations: 13.09 MB / 0.7606 GB, free: 193.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.235e-05/1.216, allocations: 73.16 kB / 0.7606 GB, free: 193.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=336): time 7.013e-06/1.216, allocations: 0 / 0.7606 GB, free: 193.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=360): time 0.05443/1.271, allocations: 20.51 MB / 0.7807 GB, free: 187 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.03e-05/1.271, allocations: 168.4 kB / 0.7808 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009508/1.28, allocations: 7.42 MB / 0.7881 GB, free: 184.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0005968/1.281, allocations: 86.59 kB / 0.7882 GB, free: 184.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003622/1.285, allocations: 6.759 MB / 0.7948 GB, free: 179.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001457/1.286, allocations: 1.359 MB / 0.7961 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002234/1.288, allocations: 2.191 MB / 0.7982 GB, free: 177 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.043e-05/1.288, allocations: 301.1 kB / 0.7985 GB, free: 176.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004494/1.293, allocations: 3.315 MB / 0.8017 GB, free: 175.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006643/1.3, allocations: 9.927 MB / 0.8114 GB, free: 165.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01347/1.313, allocations: 14.4 MB / 0.8255 GB, free: 153.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001879/1.313, allocations: 68.28 kB / 0.8256 GB, free: 153.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.019/1.332, allocations: 12.94 MB / 0.8382 GB, free: 143.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.681e-05/1.332, allocations: 108.1 kB / 0.8383 GB, free: 143.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000191/1.333, allocations: 232 kB / 0.8385 GB, free: 143.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002138/1.333, allocations: 308 kB / 0.8388 GB, free: 143.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00701/1.34, allocations: 2.581 MB / 0.8413 GB, free: 140.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002633/1.34, allocations: 458.2 kB / 0.8418 GB, free: 140.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006722/1.347, allocations: 0.5223 MB / 0.8423 GB, free: 139.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008435/1.348, allocations: 0.6562 MB / 0.8429 GB, free: 139.2 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 (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.006356/1.354, allocations: 4.536 MB / 0.8474 GB, free: 134.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00125/1.355, allocations: 0.6594 MB / 0.848 GB, free: 134 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006305/1.362, allocations: 4.1 MB / 0.852 GB, free: 129.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.607e-05/1.362, allocations: 15.94 kB / 0.852 GB, free: 129.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/1.362, allocations: 0 / 0.852 GB, free: 129.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/1.363, allocations: 0.6603 MB / 0.8527 GB, free: 129.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00116/1.364, allocations: 52 kB / 0.8527 GB, free: 129.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002567/1.367, allocations: 159.8 kB / 0.8529 GB, free: 129 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003323/1.367, allocations: 194.1 kB / 0.8531 GB, free: 128.8 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006592/1.374, allocations: 4.433 MB / 0.8574 GB, free: 124.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00545/1.379, allocations: 4.753 MB / 0.862 GB, free: 119.5 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00203/1.381, allocations: 1.866 MB / 0.8638 GB, free: 117.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00844/1.39, allocations: 4.611 MB / 0.8683 GB, free: 113.1 MB / 0.5919 GB Notification: Performance of Backend: time 8.32e-07/1.39, allocations: 0 / 0.8683 GB, free: 113.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01287/1.403, allocations: 6.415 MB / 0.8746 GB, free: 106.7 MB / 0.5919 GB Notification: Performance of SimCode: time 0.03583/1.438, allocations: 19.39 MB / 0.8935 GB, free: 87.31 MB / 0.5919 GB Notification: Performance of Templates: time 0.1212/1.56, allocations: 72.09 MB / 0.9639 GB, free: 15.46 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque1/CutForceAndTorque1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches