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.001136/0.001136, allocations: 111.8 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.001162/0.001162, allocations: 199 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.295/1.295, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.196/0.196, allocations: 43.53 MB / 314.8 MB, free: 456 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.00151/0.00151, allocations: 71.89 kB / 442.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1064, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.02007/0.1265, allocations: 21.23 MB / 0.5093 GB, free: 6.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01369/0.1403, allocations: 6.082 MB / 0.5152 GB, free: 380 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004049/0.1444, allocations: 151.6 kB / 0.5154 GB, free: 228 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01312/0.1575, allocations: 7.656 MB / 0.5228 GB, free: 8.543 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009329/0.1669, allocations: 3.649 MB / 0.5264 GB, free: 4.879 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003818/0.1707, allocations: 1.727 MB / 0.5281 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2447/0.4155, allocations: 9.592 MB / 0.5375 GB, free: 5.199 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01359/0.4291, allocations: 9.498 MB / 0.5467 GB, free: 3.988 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007841/0.437, allocations: 3.911 MB / 0.5505 GB, free: 3.652 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008059/0.4451, allocations: 5.306 MB / 0.5557 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002333/0.4475, allocations: 0.8694 MB / 0.5566 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003592/0.4511, allocations: 1.659 MB / 0.5582 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003911/0.455, allocations: 4.948 MB / 0.563 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006164/0.4612, allocations: 5.513 MB / 0.5684 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01947/0.4807, allocations: 17.02 MB / 0.585 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.4807, allocations: 0 / 0.585 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4807, allocations: 0 / 0.585 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000585/0.4813, allocations: 0 / 0.585 GB, free: 0.8945 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.02611/0.5074, allocations: 11.38 MB / 0.5962 GB, free: 5.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.5075, allocations: 11.89 kB / 0.5962 GB, free: 5.648 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01334/0.5208, allocations: 3.017 MB / 0.5991 GB, free: 2.617 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01275/0.5336, allocations: 5.807 MB / 0.6048 GB, free: 13.15 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005903/0.5343, allocations: 0.5959 MB / 0.6054 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002662/0.5369, allocations: 0.7762 MB / 0.6061 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04923/0.5862, allocations: 24.46 MB / 0.63 GB, free: 2.637 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004302/0.5867, allocations: 91.64 kB / 0.6301 GB, free: 2.586 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002505/0.5892, allocations: 366.4 kB / 0.6304 GB, free: 2.316 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006802/0.596, allocations: 4.547 MB / 0.6349 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04088/0.6369, allocations: 19.2 MB / 0.6536 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1277/0.7647, allocations: 85.29 MB / 0.7369 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02191/0.7866, allocations: 7.823 MB / 0.7446 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005326/0.792, allocations: 3.117 MB / 0.7476 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4318/1.224, allocations: 13.09 MB / 0.7604 GB, free: 192.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.147e-05/1.224, allocations: 70.94 kB / 0.7605 GB, free: 192.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=336): time 6.462e-06/1.224, allocations: 1 kB / 0.7605 GB, free: 192.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=360): time 0.05401/1.278, allocations: 20.52 MB / 0.7805 GB, free: 186 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/1.278, allocations: 165.1 kB / 0.7806 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008424/1.286, allocations: 7.409 MB / 0.7879 GB, free: 183.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0005043/1.287, allocations: 86.89 kB / 0.788 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002979/1.29, allocations: 6.763 MB / 0.7946 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001124/1.291, allocations: 1.361 MB / 0.7959 GB, free: 177.1 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001873/1.293, allocations: 2.192 MB / 0.798 GB, free: 176 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.122e-05/1.293, allocations: 308.7 kB / 0.7983 GB, free: 175.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004073/1.297, allocations: 3.306 MB / 0.8016 GB, free: 174.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006236/1.303, allocations: 9.928 MB / 0.8113 GB, free: 164.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01273/1.316, allocations: 14.41 MB / 0.8253 GB, free: 152.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001642/1.316, allocations: 63.81 kB / 0.8254 GB, free: 152.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.0193/1.336, allocations: 12.93 MB / 0.838 GB, free: 142.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/1.336, allocations: 104 kB / 0.8381 GB, free: 142.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001988/1.336, allocations: 232 kB / 0.8383 GB, free: 142.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000217/1.336, allocations: 315.9 kB / 0.8386 GB, free: 142.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007315/1.344, allocations: 2.579 MB / 0.8412 GB, free: 139.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002432/1.344, allocations: 454.2 kB / 0.8416 GB, free: 139.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007123/1.351, allocations: 0.5196 MB / 0.8421 GB, free: 138.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001034/1.352, allocations: 0.6635 MB / 0.8427 GB, free: 138 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.006216/1.358, allocations: 4.532 MB / 0.8472 GB, free: 133.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001176/1.359, allocations: 0.6594 MB / 0.8478 GB, free: 132.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006036/1.365, allocations: 4.093 MB / 0.8518 GB, free: 128.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.991e-05/1.365, allocations: 15.94 kB / 0.8518 GB, free: 128.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/1.365, allocations: 3.625 kB / 0.8518 GB, free: 128.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/1.367, allocations: 0.6603 MB / 0.8525 GB, free: 128 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007092/1.368, allocations: 56 kB / 0.8525 GB, free: 127.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002072/1.37, allocations: 163.8 kB / 0.8527 GB, free: 127.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003129/1.37, allocations: 198.1 kB / 0.8529 GB, free: 127.6 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006039/1.376, allocations: 4.428 MB / 0.8572 GB, free: 123.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005598/1.382, allocations: 4.746 MB / 0.8618 GB, free: 118.3 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002042/1.384, allocations: 1.866 MB / 0.8637 GB, free: 116.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006241/1.39, allocations: 4.607 MB / 0.8682 GB, free: 111.9 MB / 0.5919 GB Notification: Performance of Backend: time 7.12e-07/1.39, allocations: 0 / 0.8682 GB, free: 111.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01311/1.403, allocations: 6.415 MB / 0.8744 GB, free: 105.5 MB / 0.5919 GB Notification: Performance of SimCode: time 0.03101/1.434, allocations: 19.43 MB / 0.8934 GB, free: 86.07 MB / 0.5919 GB Notification: Performance of Templates: time 0.1519/1.586, allocations: 72.07 MB / 0.9638 GB, free: 14.25 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