Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 221.5 MB / 230.7 MB, free: 7.539 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.001064/0.001065, allocations: 85.75 kB / 281.6 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1821/0.1821, allocations: 44.14 MB / 376.5 MB, free: 3.07 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.642e-05/1.645e-05, allocations: 4 kB / 444.6 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1143, allocations: 61.91 MB / 0.4947 GB, free: 1.281 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4044/0.5187, allocations: 106.6 MB / 0.5988 GB, free: 5.941 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.5191, allocations: 79.95 kB / 0.5989 GB, free: 5.863 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6979/1.217, allocations: 171 MB / 0.7659 GB, free: 99.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.924e-06/1.217, allocations: 3.938 kB / 0.7659 GB, free: 99.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004334/1.218, allocations: 179.2 kB / 0.766 GB, free: 99.9 MB / 0.4948 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.03273/1.25, allocations: 8.417 MB / 0.7743 GB, free: 95.94 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/1.25, allocations: 14.95 kB / 0.7743 GB, free: 95.94 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01975/1.27, allocations: 3.777 MB / 0.778 GB, free: 94.72 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02675/1.297, allocations: 9.421 MB / 0.7872 GB, free: 89.68 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005865/1.298, allocations: 304.4 kB / 0.7875 GB, free: 89.68 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004828/1.302, allocations: 0.5298 MB / 0.788 GB, free: 89.54 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02303/1.325, allocations: 12.32 MB / 0.8 GB, free: 77.21 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05179/1.377, allocations: 17.88 MB / 0.8175 GB, free: 57.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008889/1.378, allocations: 83.22 kB / 0.8176 GB, free: 57.75 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006178/1.384, allocations: 48 kB / 0.8176 GB, free: 57.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004596/1.389, allocations: 1.861 MB / 0.8194 GB, free: 55.85 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1443/1.533, allocations: 84.46 MB / 0.9019 GB, free: 0.8281 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.376/1.909, allocations: 2.706 MB / 0.9045 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002538/1.912, allocations: 1.307 MB / 0.9058 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/1.912, allocations: 29.62 kB / 0.9058 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.963e-05/1.912, allocations: 60.84 kB / 0.9059 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=206): time 4.258e-06/1.912, allocations: 0 / 0.9059 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=218): time 0.03327/1.946, allocations: 12.05 MB / 0.9177 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/1.946, allocations: 157.9 kB / 0.9178 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01418/1.96, allocations: 5.156 MB / 0.9229 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005024/1.96, allocations: 26.86 kB / 0.9229 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004759/1.965, allocations: 6.097 MB / 0.9288 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001124/1.966, allocations: 0.8501 MB / 0.9297 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004665/1.967, allocations: 0 / 0.9297 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003599/1.967, allocations: 0.6819 MB / 0.9303 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002559/1.97, allocations: 2.167 MB / 0.9325 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00609/1.976, allocations: 8.001 MB / 0.9403 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00592/1.982, allocations: 4.099 MB / 0.9443 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002258/1.982, allocations: 63.75 kB / 0.9443 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1171) (initialization): time 0.01868/2.001, allocations: 8.839 MB / 0.953 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001435/2.001, allocations: 95.94 kB / 0.9531 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002574/2.001, allocations: 210.1 kB / 0.9533 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002601/2.001, allocations: 310.5 kB / 0.9535 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007532/2.009, allocations: 2.186 MB / 0.9557 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003214/2.009, allocations: 415.7 kB / 0.9561 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008867/2.018, allocations: 445.9 kB / 0.9565 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002081/2.02, allocations: 0.5504 MB / 0.957 GB, free: 102.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * Number of states: 0 () * Number of discrete variables: 88 (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.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],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.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],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.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],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[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 (1147): * Single equations (assignments): 1144 * 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.001914/2.022, allocations: 0.6406 MB / 0.9577 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001358/2.024, allocations: 0.5351 MB / 0.9582 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/2.025, allocations: 0.646 MB / 0.9588 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.82e-05/2.025, allocations: 24.53 kB / 0.9588 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.965e-05/2.025, allocations: 0 / 0.9588 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/2.025, allocations: 12.12 kB / 0.9589 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0255/2.051, allocations: 15.89 MB / 0.9744 GB, free: 95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.825e-05/2.051, allocations: 50.78 kB / 0.9744 GB, free: 95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001338/2.052, allocations: 483.8 kB / 0.9749 GB, free: 94.94 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.882e-05/2.052, allocations: 70.72 kB / 0.9749 GB, free: 94.94 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001396/2.053, allocations: 70.28 kB / 0.975 GB, free: 94.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.309e-05/2.053, allocations: 93.12 kB / 0.9751 GB, free: 94.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.821e-05/2.053, allocations: 74.38 kB / 0.9752 GB, free: 94.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006283/2.059, allocations: 12.66 MB / 0.9875 GB, free: 81.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002023/2.061, allocations: 0.6296 MB / 0.9882 GB, free: 81.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001605/2.063, allocations: 79.77 kB / 0.9882 GB, free: 81.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003018/2.066, allocations: 145.2 kB / 0.9884 GB, free: 81.06 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000311/2.066, allocations: 326.9 kB / 0.9887 GB, free: 80.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001719/2.066, allocations: 135 kB / 0.9888 GB, free: 80.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00617/2.072, allocations: 3.443 MB / 0.9922 GB, free: 79.68 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.032e-06/2.072, allocations: 0 / 0.9922 GB, free: 79.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01054/2.083, allocations: 1.324 MB / 0.9935 GB, free: 79.68 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 221 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 251 * 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.0008117/2.084, allocations: 235.7 kB / 0.9937 GB, free: 79.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007977/2.092, allocations: 5.069 MB / 0.9986 GB, free: 77.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.995e-05/2.092, allocations: 7.594 kB / 0.9986 GB, free: 77.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001917/2.094, allocations: 1.168 MB / 0.9998 GB, free: 77.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006666/2.1, allocations: 0.8142 MB / 1.001 GB, free: 77.14 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03186/2.132, allocations: 14.36 MB / 1.015 GB, free: 64.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01071/2.143, allocations: 6.218 MB / 1.021 GB, free: 59.55 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007853/2.151, allocations: 2.812 MB / 1.023 GB, free: 57.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009666/2.152, allocations: 377.1 kB / 1.024 GB, free: 57.45 MB / 0.5261 GB Notification: Performance of SimCode: time 1.002e-06/2.152, allocations: 0 / 1.024 GB, free: 57.45 MB / 0.5261 GB Notification: Performance of Templates: time 0.07758/2.23, allocations: 39.71 MB / 1.063 GB, free: 28.54 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque2/CutForceAndTorque2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches