Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001561/0.001561, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001045/0.001044, allocations: 86.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2743/0.2743, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.481e-05/3.49e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1213, allocations: 58.85 MB / 484.1 MB, free: 12.49 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5161/0.6375, allocations: 107 MB / 0.5773 GB, free: 12.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/0.6378, allocations: 78.75 kB / 0.5774 GB, free: 12.88 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.219/1.857, allocations: 199.6 MB / 0.7723 GB, free: 91.18 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.505e-06/1.857, allocations: 0 / 0.7723 GB, free: 91.18 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005699/1.858, allocations: 194 kB / 0.7725 GB, free: 91.17 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: 3665 * Number of variables: 3665 Notification: Performance of Generate backend data structure: time 0.03869/1.896, allocations: 9.424 MB / 0.7817 GB, free: 87.48 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/1.896, allocations: 11.62 kB / 0.7817 GB, free: 87.47 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0354/1.932, allocations: 4.037 MB / 0.7857 GB, free: 86.76 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0364/1.968, allocations: 10.58 MB / 0.796 GB, free: 85.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001051/1.969, allocations: 0.7977 MB / 0.7968 GB, free: 85.52 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005856/1.975, allocations: 1.042 MB / 0.7978 GB, free: 85.51 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07653/2.052, allocations: 24.09 MB / 0.8213 GB, free: 68.75 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006378/2.053, allocations: 99.09 kB / 0.8214 GB, free: 68.65 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005511/2.058, allocations: 498.2 kB / 0.8219 GB, free: 68.23 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005573/2.064, allocations: 2.275 MB / 0.8241 GB, free: 66.13 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0617/2.125, allocations: 18.98 MB / 0.8426 GB, free: 47.14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6147/2.74, allocations: 94.25 MB / 0.9347 GB, free: 54.58 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03706/2.777, allocations: 7.612 MB / 0.9421 GB, free: 53.89 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00778/2.785, allocations: 3.037 MB / 0.9451 GB, free: 53.84 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04164/2.827, allocations: 13.3 MB / 0.9581 GB, free: 50.63 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.547e-05/2.827, allocations: 77.05 kB / 0.9581 GB, free: 50.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=336): time 7.373e-06/2.827, allocations: 2 kB / 0.9581 GB, free: 50.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=360): time 0.08843/2.915, allocations: 18.79 MB / 0.9765 GB, free: 44.86 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.281e-05/2.916, allocations: 172.2 kB / 0.9766 GB, free: 44.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01657/2.932, allocations: 6.419 MB / 0.9829 GB, free: 44.14 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008077/2.933, allocations: 81.64 kB / 0.983 GB, free: 44.11 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005981/2.939, allocations: 6.562 MB / 0.9894 GB, free: 40.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002079/2.941, allocations: 1.36 MB / 0.9907 GB, free: 39.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001507/2.943, allocations: 214.2 kB / 0.9909 GB, free: 39.52 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.00115/2.944, allocations: 0.758 MB / 0.9917 GB, free: 39.18 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008641/2.952, allocations: 2.995 MB / 0.9946 GB, free: 39.16 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01312/2.966, allocations: 9.487 MB / 1.004 GB, free: 30.76 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.013/2.979, allocations: 5.244 MB / 1.009 GB, free: 29.46 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003737/2.979, allocations: 65.25 kB / 1.009 GB, free: 29.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1393) (initialization): time 0.03246/3.012, allocations: 11.95 MB / 1.021 GB, free: 26.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001892/3.012, allocations: 106.2 kB / 1.021 GB, free: 26.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003589/3.012, allocations: 231 kB / 1.021 GB, free: 26.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004046/3.013, allocations: 338.8 kB / 1.021 GB, free: 26.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01703/3.03, allocations: 2.621 MB / 1.024 GB, free: 25.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005498/3.03, allocations: 461.7 kB / 1.024 GB, free: 25.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01407/3.044, allocations: 0.6857 MB / 1.025 GB, free: 25.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002487/3.047, allocations: 0.6348 MB / 1.026 GB, free: 25.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1055 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1369): * Single equations (assignments): 1366 * 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.003593/3.051, allocations: 0.938 MB / 1.027 GB, free: 24.64 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001646/3.052, allocations: 0.6792 MB / 1.027 GB, free: 24.27 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0112/3.063, allocations: 3.987 MB / 1.031 GB, free: 22.71 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.232e-05/3.064, allocations: 34.69 kB / 1.031 GB, free: 22.71 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.786e-05/3.064, allocations: 3.531 kB / 1.031 GB, free: 22.71 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.263e-05/3.064, allocations: 19.94 kB / 1.031 GB, free: 22.71 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0964/3.16, allocations: 41.63 MB / 1.072 GB, free: 7.242 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003472/3.161, allocations: 92 kB / 1.072 GB, free: 7.152 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006151/3.167, allocations: 0.8394 MB / 1.073 GB, free: 6.418 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002084/3.167, allocations: 128 kB / 1.073 GB, free: 6.293 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001041/3.168, allocations: 194.4 kB / 1.073 GB, free: 6.109 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002126/3.168, allocations: 176.7 kB / 1.073 GB, free: 5.953 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001311/3.168, allocations: 143.3 kB / 1.073 GB, free: 5.812 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0232/3.192, allocations: 25.16 MB / 1.098 GB, free: 9.395 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003327/3.195, allocations: 0.8368 MB / 1.099 GB, free: 8.578 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002954/3.198, allocations: 208.8 kB / 1.099 GB, free: 8.395 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007455/3.206, allocations: 269.6 kB / 1.099 GB, free: 8.176 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001596/3.207, allocations: 0.5752 MB / 1.1 GB, free: 7.703 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007989/3.208, allocations: 238.5 kB / 1.1 GB, free: 7.477 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01444/3.222, allocations: 4.478 MB / 1.104 GB, free: 3.562 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.22e-07/3.223, allocations: 0 / 1.104 GB, free: 3.562 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0156/3.238, allocations: 1.876 MB / 1.106 GB, free: 1.691 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 402 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (444): * Single equations (assignments): 441 * 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.0018/3.24, allocations: 388.2 kB / 1.107 GB, free: 1.316 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02074/3.261, allocations: 7.351 MB / 1.114 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.689e-05/3.261, allocations: 13.94 kB / 1.114 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.005622/3.266, allocations: 2.12 MB / 1.116 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009198/3.276, allocations: 1.084 MB / 1.117 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4658/3.742, allocations: 19.67 MB / 1.136 GB, free: 153.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02312/3.765, allocations: 7.173 MB / 1.143 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002978/3.768, allocations: 0.5753 MB / 1.144 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of SimCode: time 1.062e-06/3.768, allocations: 3.938 kB / 1.144 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of Templates: time 0.2306/3.998, allocations: 114.2 MB / 1.255 GB, free: 105.2 MB / 0.5886 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches