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.00147/0.00147, allocations: 177 kB / 17.06 MB, free: 5.094 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.244/1.244, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008232/0.0008232, allocations: 91.86 kB / 292.1 MB, free: 10.95 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.3066/0.3066, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003187/0.0003187, allocations: 8 kB / 459.9 MB, free: 1.559 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3065, allocations: 61.9 MB / 0.5096 GB, free: 37.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1277/0.4342, allocations: 107.4 MB / 0.6144 GB, free: 3.777 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.4345, allocations: 79.95 kB / 0.6145 GB, free: 3.699 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6377/1.072, allocations: 176.4 MB / 0.7867 GB, free: 56.99 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.284e-06/1.072, allocations: 0 / 0.7867 GB, free: 56.99 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004542/1.073, allocations: 172 kB / 0.7869 GB, free: 56.82 MB / 490.7 MB 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.02562/1.098, allocations: 8.982 MB / 0.7956 GB, free: 47.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/1.098, allocations: 8.031 kB / 0.7956 GB, free: 47.74 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01817/1.117, allocations: 3.771 MB / 0.7993 GB, free: 43.95 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02478/1.141, allocations: 9.491 MB / 0.8086 GB, free: 34.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007042/1.142, allocations: 0.686 MB / 0.8093 GB, free: 33.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004706/1.147, allocations: 0.902 MB / 0.8101 GB, free: 32.79 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05021/1.197, allocations: 21.3 MB / 0.8309 GB, free: 9.984 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006973/1.198, allocations: 87.22 kB / 0.831 GB, free: 9.898 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004071/1.202, allocations: 427.8 kB / 0.8314 GB, free: 9.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002797/1.205, allocations: 1.866 MB / 0.8333 GB, free: 7.609 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03726/1.242, allocations: 16.71 MB / 0.8496 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4207/1.663, allocations: 83.65 MB / 0.9313 GB, free: 31.15 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02938/1.692, allocations: 6.326 MB / 0.9374 GB, free: 30.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03061/1.723, allocations: 10.94 MB / 0.9481 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.335e-05/1.723, allocations: 56.09 kB / 0.9482 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=212): time 7.634e-06/1.723, allocations: 0 / 0.9482 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=236): time 0.06888/1.792, allocations: 17.11 MB / 0.9649 GB, free: 21.92 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/1.792, allocations: 153 kB / 0.965 GB, free: 21.76 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0144/1.806, allocations: 6.057 MB / 0.971 GB, free: 21.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005006/1.807, allocations: 59.48 kB / 0.971 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005547/1.813, allocations: 6.051 MB / 0.9769 GB, free: 17.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001258/1.814, allocations: 0.9304 MB / 0.9778 GB, free: 17.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000789/1.815, allocations: 179 kB / 0.978 GB, free: 17.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005399/1.815, allocations: 0.6816 MB / 0.9787 GB, free: 17.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006985/1.822, allocations: 2.488 MB / 0.9811 GB, free: 17.05 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01073/1.833, allocations: 8.234 MB / 0.9891 GB, free: 9.012 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01082/1.844, allocations: 4.371 MB / 0.9934 GB, free: 7.652 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002387/1.844, allocations: 58.47 kB / 0.9935 GB, free: 7.652 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1153) (initialization): time 0.02519/1.869, allocations: 10.38 MB / 1.004 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001652/1.87, allocations: 92.38 kB / 1.004 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003433/1.87, allocations: 209 kB / 1.004 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002642/1.87, allocations: 297.1 kB / 1.004 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006913/1.877, allocations: 2.165 MB / 1.006 GB, free: 4.039 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002741/1.877, allocations: 403.2 kB / 1.007 GB, free: 3.949 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008256/1.886, allocations: 0.598 MB / 1.007 GB, free: 3.789 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001725/1.887, allocations: 0.5488 MB / 1.008 GB, free: 3.715 MB / 0.5105 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 () * Number of clocked 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.009214/1.897, allocations: 3.957 MB / 1.012 GB, free: 1.953 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001473/1.898, allocations: 0.5744 MB / 1.012 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00209/1.9, allocations: 0.7146 MB / 1.013 GB, free: 1.273 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.7e-05/1.9, allocations: 28.41 kB / 1.013 GB, free: 1.273 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.582e-05/1.9, allocations: 0 / 1.013 GB, free: 1.273 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/1.9, allocations: 7.875 kB / 1.013 GB, free: 1.273 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03758/1.938, allocations: 22.72 MB / 1.035 GB, free: 4.895 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.369e-05/1.938, allocations: 50.94 kB / 1.035 GB, free: 4.848 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001434/1.939, allocations: 454.8 kB / 1.036 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.368e-05/1.94, allocations: 64 kB / 1.036 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001694/1.94, allocations: 99 kB / 1.036 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.208e-05/1.94, allocations: 89.72 kB / 1.036 GB, free: 4.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.558e-05/1.94, allocations: 68.16 kB / 1.036 GB, free: 4.164 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009576/1.949, allocations: 12.79 MB / 1.048 GB, free: 6.008 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001963/1.951, allocations: 0.6694 MB / 1.049 GB, free: 5.344 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007047/1.952, allocations: 108.2 kB / 1.049 GB, free: 5.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002288/1.954, allocations: 204.7 kB / 1.049 GB, free: 5.094 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003448/1.955, allocations: 304 kB / 1.05 GB, free: 4.852 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001779/1.955, allocations: 133.4 kB / 1.05 GB, free: 4.73 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.008623/1.964, allocations: 4.263 MB / 1.054 GB, free: 1.285 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/1.964, allocations: 4 kB / 1.054 GB, free: 1.281 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01221/1.976, allocations: 1.686 MB / 1.056 GB, free: 0 / 0.5417 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 () * Number of clocked 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.0009358/1.977, allocations: 277.9 kB / 1.056 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01082/1.988, allocations: 5.784 MB / 1.062 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.663e-05/1.988, allocations: 4 kB / 1.062 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002193/1.99, allocations: 1.327 MB / 1.063 GB, free: 9.551 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005321/1.995, allocations: 0.9458 MB / 1.064 GB, free: 8.781 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04072/2.036, allocations: 21.17 MB / 1.084 GB, free: 4.516 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3336/2.37, allocations: 6.236 MB / 1.09 GB, free: 134.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00996/2.38, allocations: 2.767 MB / 1.093 GB, free: 134.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00126/2.381, allocations: 388.4 kB / 1.094 GB, free: 134.5 MB / 0.573 GB Notification: Performance of SimCode: time 1.282e-06/2.381, allocations: 0 / 1.094 GB, free: 134.5 MB / 0.573 GB Notification: Performance of Templates: time 0.112/2.493, allocations: 46.81 MB / 1.139 GB, free: 132.3 MB / 0.573 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