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.001559/0.001559, allocations: 111.9 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.001865/0.001865, allocations: 194.9 kB / 18.02 MB, free: 5.047 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.415/1.415, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2035/0.2035, allocations: 43.52 MB / 314.8 MB, free: 452 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.00139/0.00139, allocations: 69.45 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09435/0.09575, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.02024/0.116, allocations: 21.23 MB / 0.5093 GB, free: 6.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01209/0.1281, allocations: 6.082 MB / 0.5152 GB, free: 380 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003215/0.1314, allocations: 151.6 kB / 0.5154 GB, free: 228 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01393/0.1454, allocations: 7.648 MB / 0.5228 GB, free: 8.551 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00916/0.1546, allocations: 3.774 MB / 0.5265 GB, free: 4.762 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003951/0.1585, allocations: 1.72 MB / 0.5282 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.229/0.3876, allocations: 9.592 MB / 0.5376 GB, free: 4.875 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01304/0.4007, allocations: 9.503 MB / 0.5468 GB, free: 3.664 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008123/0.4088, allocations: 3.911 MB / 0.5507 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007612/0.4165, allocations: 5.303 MB / 0.5558 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002737/0.4192, allocations: 0.8742 MB / 0.5567 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004114/0.4233, allocations: 1.662 MB / 0.5583 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0045/0.4279, allocations: 4.948 MB / 0.5632 GB, free: 1.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006616/0.4345, allocations: 5.518 MB / 0.5685 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01661/0.4511, allocations: 17.01 MB / 0.5852 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4512, allocations: 0 / 0.5852 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4512, allocations: 0 / 0.5852 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004812/0.4517, allocations: 4 kB / 0.5852 GB, free: 0.582 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.02538/0.477, allocations: 11.37 MB / 0.5963 GB, free: 5.352 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.4771, allocations: 15.89 kB / 0.5963 GB, free: 5.336 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01394/0.4911, allocations: 3.019 MB / 0.5992 GB, free: 2.305 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01343/0.5045, allocations: 5.81 MB / 0.6049 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006149/0.5052, allocations: 0.5956 MB / 0.6055 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002739/0.5079, allocations: 0.7714 MB / 0.6062 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05122/0.5592, allocations: 24.45 MB / 0.6301 GB, free: 2.324 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000413/0.5596, allocations: 88.55 kB / 0.6302 GB, free: 2.273 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002416/0.562, allocations: 366.4 kB / 0.6306 GB, free: 2.004 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00745/0.5695, allocations: 4.539 MB / 0.635 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04943/0.619, allocations: 19.21 MB / 0.6537 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1224/0.7414, allocations: 85.29 MB / 0.737 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02311/0.7646, allocations: 7.764 MB / 0.7446 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005039/0.7696, allocations: 3.117 MB / 0.7477 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4216/1.191, allocations: 13.09 MB / 0.7604 GB, free: 192.9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.93e-05/1.191, allocations: 73.31 kB / 0.7605 GB, free: 192.9 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=336): time 7.073e-06/1.191, allocations: 0 / 0.7605 GB, free: 192.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=360): time 0.0599/1.251, allocations: 20.52 MB / 0.7805 GB, free: 186.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.212e-05/1.251, allocations: 166.2 kB / 0.7807 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0141/1.266, allocations: 7.413 MB / 0.7879 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0007093/1.266, allocations: 78.72 kB / 0.788 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.005103/1.271, allocations: 6.779 MB / 0.7946 GB, free: 178.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001878/1.273, allocations: 1.35 MB / 0.796 GB, free: 177.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003402/1.277, allocations: 2.186 MB / 0.7981 GB, free: 176.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.229e-05/1.277, allocations: 304.9 kB / 0.7984 GB, free: 175.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00759/1.284, allocations: 3.321 MB / 0.8016 GB, free: 174.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00992/1.294, allocations: 9.921 MB / 0.8113 GB, free: 165 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01484/1.309, allocations: 14.41 MB / 0.8254 GB, free: 152.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001504/1.309, allocations: 69.66 kB / 0.8254 GB, free: 152.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.02221/1.332, allocations: 12.94 MB / 0.8381 GB, free: 142.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002067/1.332, allocations: 104 kB / 0.8382 GB, free: 142.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000303/1.332, allocations: 232 kB / 0.8384 GB, free: 142.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002839/1.332, allocations: 312.1 kB / 0.8387 GB, free: 142 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008416/1.341, allocations: 2.578 MB / 0.8412 GB, free: 139.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003885/1.341, allocations: 458.2 kB / 0.8417 GB, free: 139 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008474/1.35, allocations: 0.519 MB / 0.8422 GB, free: 138.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001511/1.351, allocations: 0.6523 MB / 0.8428 GB, free: 137.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 (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.007536/1.359, allocations: 4.541 MB / 0.8472 GB, free: 133.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001622/1.36, allocations: 0.6555 MB / 0.8479 GB, free: 132.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007654/1.368, allocations: 4.096 MB / 0.8519 GB, free: 128.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.722e-05/1.368, allocations: 15.94 kB / 0.8519 GB, free: 128.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/1.368, allocations: 4 kB / 0.8519 GB, free: 128.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001672/1.37, allocations: 0.6603 MB / 0.8525 GB, free: 127.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001364/1.371, allocations: 60.95 kB / 0.8526 GB, free: 127.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00291/1.374, allocations: 155.8 kB / 0.8528 GB, free: 127.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003924/1.375, allocations: 198.1 kB / 0.8529 GB, free: 127.4 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006883/1.381, allocations: 4.426 MB / 0.8573 GB, free: 123 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005784/1.387, allocations: 4.752 MB / 0.8619 GB, free: 118.1 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002163/1.389, allocations: 1.87 MB / 0.8637 GB, free: 116.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006846/1.396, allocations: 4.615 MB / 0.8682 GB, free: 111.7 MB / 0.5919 GB Notification: Performance of Backend: time 3.6e-07/1.396, allocations: 0 / 0.8682 GB, free: 111.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01151/1.408, allocations: 6.416 MB / 0.8745 GB, free: 105.3 MB / 0.5919 GB Notification: Performance of SimCode: time 0.0305/1.438, allocations: 19.38 MB / 0.8934 GB, free: 85.95 MB / 0.5919 GB Notification: Performance of Templates: time 0.121/1.559, allocations: 71.73 MB / 0.9635 GB, free: 14.36 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