Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.23/1.23, allocations: 221.3 MB / 236 MB, free: 2.984 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008734/0.0008734, allocations: 95.66 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1715/0.1715, allocations: 44.16 MB / 382.1 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.019e-05/3.049e-05, allocations: 4 kB / 451.8 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1007, allocations: 61.91 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3519/0.4526, allocations: 107.3 MB / 0.6065 GB, free: 14 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/0.4529, allocations: 75.97 kB / 0.6065 GB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6425/1.095, allocations: 176.6 MB / 0.7789 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.754e-06/1.095, allocations: 0 / 0.7789 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003794/1.096, allocations: 175.9 kB / 0.7791 GB, free: 100.8 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3105 * Number of variables: 3105 Notification: Performance of Generate backend data structure: time 0.02157/1.117, allocations: 8.426 MB / 0.7873 GB, free: 97.57 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/1.117, allocations: 10.94 kB / 0.7874 GB, free: 97.57 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01768/1.135, allocations: 3.78 MB / 0.791 GB, free: 96.94 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02073/1.156, allocations: 9.444 MB / 0.8003 GB, free: 95.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006374/1.157, allocations: 0.6815 MB / 0.8009 GB, free: 95.23 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004735/1.161, allocations: 0.9012 MB / 0.8018 GB, free: 94.96 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04593/1.207, allocations: 21.02 MB / 0.8223 GB, free: 77.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004042/1.208, allocations: 91.16 kB / 0.8224 GB, free: 77.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003345/1.211, allocations: 429.2 kB / 0.8228 GB, free: 76.74 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002363/1.213, allocations: 1.865 MB / 0.8247 GB, free: 74.88 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03064/1.244, allocations: 16.23 MB / 0.8405 GB, free: 58.63 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3911/1.635, allocations: 83.64 MB / 0.9222 GB, free: 55.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01811/1.653, allocations: 6.298 MB / 0.9283 GB, free: 54.39 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003709/1.657, allocations: 2.307 MB / 0.9306 GB, free: 54.36 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01852/1.676, allocations: 10.94 MB / 0.9413 GB, free: 51.42 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/1.676, allocations: 55.81 kB / 0.9413 GB, free: 51.38 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=212): time 4.719e-06/1.676, allocations: 0 / 0.9413 GB, free: 51.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=236): time 0.04153/1.717, allocations: 15.75 MB / 0.9567 GB, free: 46.41 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/1.717, allocations: 157.4 kB / 0.9569 GB, free: 46.25 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007469/1.725, allocations: 5.865 MB / 0.9626 GB, free: 45.72 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003215/1.725, allocations: 65.44 kB / 0.9626 GB, free: 45.69 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002729/1.728, allocations: 6.049 MB / 0.9686 GB, free: 42.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000729/1.729, allocations: 0.9328 MB / 0.9695 GB, free: 41.89 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003186/1.729, allocations: 176.8 kB / 0.9696 GB, free: 41.89 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003181/1.729, allocations: 0.6842 MB / 0.9703 GB, free: 41.57 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002692/1.732, allocations: 2.307 MB / 0.9726 GB, free: 41.54 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004666/1.737, allocations: 8.044 MB / 0.9804 GB, free: 34.07 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005139/1.742, allocations: 4.255 MB / 0.9846 GB, free: 34.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001585/1.742, allocations: 58.94 kB / 0.9846 GB, free: 34.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1153) (initialization): time 0.02711/1.769, allocations: 10.01 MB / 0.9944 GB, free: 33.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005042/1.77, allocations: 92.84 kB / 0.9945 GB, free: 33.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005466/1.77, allocations: 207.2 kB / 0.9947 GB, free: 33.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005365/1.771, allocations: 299 kB / 0.995 GB, free: 33.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01084/1.782, allocations: 2.163 MB / 0.9971 GB, free: 33.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000377/1.782, allocations: 405.5 kB / 0.9975 GB, free: 33.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01062/1.793, allocations: 0.5967 MB / 0.9981 GB, free: 33.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002129/1.795, allocations: 0.5452 MB / 0.9986 GB, free: 33.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 939 * Number of states: 0 () * Number of discrete variables: 88 (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.torqueArrow.arrowLine.twoHeadedArrow,cutForce2b.torqueArrow.headAtOrigin,cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueArrow.arrowLine.twoHeadedArrow,cutForce2a.torqueArrow.headAtOrigin,cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueArrow.arrowLine.twoHeadedArrow,cutForce1b.torqueArrow.headAtOrigin,cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueArrow.arrowLine.twoHeadedArrow,cutForce1a.torqueArrow.headAtOrigin,cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1129): * Single equations (assignments): 1126 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004002/1.799, allocations: 0.8308 MB / 0.9994 GB, free: 32.55 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00202/1.801, allocations: 0.5811 MB / 1 GB, free: 32.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003031/1.804, allocations: 0.7101 MB / 1.001 GB, free: 31.88 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.648e-05/1.804, allocations: 25.44 kB / 1.001 GB, free: 31.88 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.112e-05/1.804, allocations: 1.469 kB / 1.001 GB, free: 31.88 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.593e-05/1.804, allocations: 11.16 kB / 1.001 GB, free: 31.88 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04145/1.846, allocations: 22.67 MB / 1.023 GB, free: 23.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.191e-05/1.846, allocations: 47 kB / 1.023 GB, free: 23.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/1.847, allocations: 451.6 kB / 1.023 GB, free: 23.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-05/1.847, allocations: 68.53 kB / 1.023 GB, free: 23.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/1.847, allocations: 102.6 kB / 1.023 GB, free: 23.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.856e-05/1.847, allocations: 90.12 kB / 1.024 GB, free: 23.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.569e-05/1.847, allocations: 70.5 kB / 1.024 GB, free: 23.07 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005441/1.853, allocations: 12.76 MB / 1.036 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001624/1.855, allocations: 0.6701 MB / 1.037 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006648/1.855, allocations: 110 kB / 1.037 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002405/1.858, allocations: 206.5 kB / 1.037 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002731/1.858, allocations: 299.7 kB / 1.037 GB, free: 9.719 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/1.858, allocations: 137 kB / 1.037 GB, free: 9.594 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006697/1.865, allocations: 4.08 MB / 1.041 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.61e-07/1.865, allocations: 0 / 1.041 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008491/1.873, allocations: 1.542 MB / 1.043 GB, free: 4.477 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (232): * Single equations (assignments): 229 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006922/1.874, allocations: 267.9 kB / 1.043 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01156/1.886, allocations: 5.827 MB / 1.049 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.059e-05/1.886, allocations: 8 kB / 1.049 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002114/1.888, allocations: 1.314 MB / 1.05 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005069/1.893, allocations: 0.9428 MB / 1.051 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02685/1.92, allocations: 14.52 MB / 1.065 GB, free: 44 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00959/1.929, allocations: 6.241 MB / 1.071 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.007813/1.937, allocations: 2.777 MB / 1.074 GB, free: 9.789 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/1.938, allocations: 388.4 kB / 1.074 GB, free: 9.422 MB / 0.5573 GB Notification: Performance of SimCode: time 1.072e-06/1.938, allocations: 0 / 1.074 GB, free: 9.422 MB / 0.5573 GB Notification: Performance of Templates: time 0.09089/2.029, allocations: 46.83 MB / 1.12 GB, free: 0.7656 MB / 0.5886 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque1/CutForceAndTorque1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches