Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009261/0.0009262, allocations: 184.2 kB / 7.806 MB, free: 1.203 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9942/0.9942, allocations: 205.2 MB / 213.4 MB, free: 8.562 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007935/0.0007935, allocations: 100.1 kB / 261.4 MB, free: 5.113 MB / 210.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.149/0.149, allocations: 43.48 MB / 352.9 MB, free: 11.34 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 6.483e-06/6.523e-06, allocations: 0 / 417.7 MB, free: 68.18 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08543/0.08545, allocations: 58.84 MB / 476.6 MB, free: 9.277 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2604/0.3459, allocations: 106.3 MB / 0.5692 GB, free: 6.199 MB / 386.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001857/0.3461, allocations: 79.77 kB / 0.5693 GB, free: 6.16 MB / 386.8 MB Notification: Performance of FrontEnd: time 0.5891/0.9352, allocations: 194.1 MB / 0.7588 GB, free: 87.87 MB / 498.8 MB Notification: Performance of Transformations before backend: time 0.0003054/0.9356, allocations: 194.6 kB / 0.759 GB, free: 87.87 MB / 498.8 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.02299/0.9586, allocations: 9.297 MB / 0.7681 GB, free: 84.12 MB / 498.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.9586, allocations: 11.81 kB / 0.7681 GB, free: 84.12 MB / 498.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01856/0.9772, allocations: 3.397 MB / 0.7714 GB, free: 83.39 MB / 498.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02341/1.001, allocations: 10.69 MB / 0.7818 GB, free: 82.19 MB / 498.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006768/1.001, allocations: 348.9 kB / 0.7822 GB, free: 82.19 MB / 498.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004731/1.006, allocations: 0.6067 MB / 0.7827 GB, free: 82.18 MB / 498.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02922/1.035, allocations: 15.06 MB / 0.7975 GB, free: 73.38 MB / 498.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03898/1.074, allocations: 21.24 MB / 0.8182 GB, free: 51.44 MB / 498.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003806/1.075, allocations: 95.16 kB / 0.8183 GB, free: 51.35 MB / 498.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003889/1.079, allocations: 48 kB / 0.8183 GB, free: 51.3 MB / 498.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003457/1.082, allocations: 2.41 MB / 0.8207 GB, free: 48.89 MB / 498.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2498/1.332, allocations: 95.42 MB / 0.9139 GB, free: 103.3 MB / 0.5027 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00517/1.337, allocations: 4.104 MB / 0.9179 GB, free: 102.6 MB / 0.5027 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002322/1.34, allocations: 2.149 MB / 0.92 GB, free: 102.6 MB / 0.5027 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01506/1.355, allocations: 9.989 MB / 0.9297 GB, free: 100.8 MB / 0.5027 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/1.355, allocations: 64.69 kB / 0.9298 GB, free: 100.7 MB / 0.5027 GB Notification: Performance of pre-optimization done (n=288): time 4.829e-06/1.355, allocations: 0 / 0.9298 GB, free: 100.7 MB / 0.5027 GB Notification: Performance of matching and sorting (n=288): time 0.01603/1.371, allocations: 6.289 MB / 0.9359 GB, free: 100.4 MB / 0.5027 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/1.371, allocations: 155.4 kB / 0.9361 GB, free: 100.2 MB / 0.5027 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006769/1.378, allocations: 5.89 MB / 0.9418 GB, free: 99.66 MB / 0.5027 GB Notification: Performance of collectPreVariables (initialization): time 0.0001438/1.378, allocations: 25.7 kB / 0.9419 GB, free: 99.63 MB / 0.5027 GB Notification: Performance of collectInitialEqns (initialization): time 0.002676/1.38, allocations: 6.524 MB / 0.9482 GB, free: 96.08 MB / 0.5027 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006348/1.381, allocations: 1.096 MB / 0.9493 GB, free: 95.46 MB / 0.5027 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003198/1.381, allocations: 0 / 0.9493 GB, free: 95.46 MB / 0.5027 GB Notification: Performance of setup shared object (initialization): time 0.0005062/1.382, allocations: 0.7709 MB / 0.95 GB, free: 95.14 MB / 0.5027 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003506/1.385, allocations: 2.897 MB / 0.9529 GB, free: 95.11 MB / 0.5027 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005662/1.391, allocations: 9.738 MB / 0.9624 GB, free: 86.17 MB / 0.5027 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006257/1.397, allocations: 5.264 MB / 0.9675 GB, free: 86.13 MB / 0.5027 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001301/1.398, allocations: 73 kB / 0.9676 GB, free: 86.13 MB / 0.5027 GB Notification: Performance of matching and sorting (n=1429) (initialization): time 0.01779/1.415, allocations: 11.05 MB / 0.9784 GB, free: 83.15 MB / 0.5027 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/1.415, allocations: 3.938 kB / 0.9784 GB, free: 83.15 MB / 0.5027 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005098/1.416, allocations: 245.9 kB / 0.9786 GB, free: 83.15 MB / 0.5027 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004548/1.416, allocations: 363 kB / 0.979 GB, free: 83.15 MB / 0.5027 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008962/1.425, allocations: 2.662 MB / 0.9816 GB, free: 82.82 MB / 0.5027 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003348/1.426, allocations: 483.5 kB / 0.982 GB, free: 82.72 MB / 0.5027 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009253/1.435, allocations: 1.363 MB / 0.9834 GB, free: 81.98 MB / 0.5027 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001642/1.437, allocations: 0.6692 MB / 0.984 GB, free: 81.9 MB / 0.5027 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1127 * Number of states: 0 () * Number of discrete variables: 72 (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.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[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 (1405): * Single equations (assignments): 1402 * 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.002412/1.439, allocations: 0.7137 MB / 0.9847 GB, free: 81.32 MB / 0.5027 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001502/1.441, allocations: 0.6156 MB / 0.9853 GB, free: 80.98 MB / 0.5027 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006673/1.447, allocations: 3.41 MB / 0.9886 GB, free: 79.76 MB / 0.5027 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.526e-05/1.447, allocations: 26.59 kB / 0.9887 GB, free: 79.76 MB / 0.5027 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/1.447, allocations: 5.828 kB / 0.9887 GB, free: 79.76 MB / 0.5027 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.763e-05/1.447, allocations: 14.03 kB / 0.9887 GB, free: 79.76 MB / 0.5027 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06327/1.511, allocations: 58.8 MB / 1.046 GB, free: 32.84 MB / 0.5027 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-05/1.511, allocations: 55.94 kB / 1.046 GB, free: 32.79 MB / 0.5027 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002275/1.513, allocations: 0.5551 MB / 1.047 GB, free: 32.32 MB / 0.5027 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.065e-05/1.513, allocations: 80 kB / 1.047 GB, free: 32.24 MB / 0.5027 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002091/1.513, allocations: 94.64 kB / 1.047 GB, free: 32.16 MB / 0.5027 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.321e-05/1.513, allocations: 102 kB / 1.047 GB, free: 32.07 MB / 0.5027 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.089e-05/1.513, allocations: 87.62 kB / 1.047 GB, free: 31.98 MB / 0.5027 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006844/1.52, allocations: 15.95 MB / 1.063 GB, free: 13.77 MB / 0.5027 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/1.521, allocations: 0.7288 MB / 1.063 GB, free: 13.04 MB / 0.5027 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007443/1.522, allocations: 91 kB / 1.063 GB, free: 12.96 MB / 0.5027 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002886/1.525, allocations: 193.2 kB / 1.064 GB, free: 12.81 MB / 0.5027 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003139/1.525, allocations: 313.4 kB / 1.064 GB, free: 12.56 MB / 0.5027 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002107/1.526, allocations: 159.2 kB / 1.064 GB, free: 12.42 MB / 0.5027 GB Notification: Performance of sort global known variables: time 0.004833/1.53, allocations: 3.943 MB / 1.068 GB, free: 9.016 MB / 0.5027 GB Notification: Performance of remove unused functions: time 0.008504/1.539, allocations: 2.45 MB / 1.07 GB, free: 6.559 MB / 0.5027 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 245 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 269 * 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.0004423/1.539, allocations: 247.8 kB / 1.071 GB, free: 6.316 MB / 0.5027 GB Notification: Performance of simCode: created initialization part: time 0.008102/1.547, allocations: 6.892 MB / 1.077 GB, free: 100 kB / 0.5027 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/1.547, allocations: 8.5 kB / 1.077 GB, free: 92 kB / 0.5027 GB Notification: Performance of simCode: created simulation system equations: time 0.137/1.685, allocations: 1.79 MB / 1.079 GB, free: 138.5 MB / 0.5027 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003573/1.688, allocations: 0.7653 MB / 1.08 GB, free: 138.5 MB / 0.5027 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02734/1.715, allocations: 17.13 MB / 1.096 GB, free: 133.5 MB / 0.5027 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008499/1.724, allocations: 7.598 MB / 1.104 GB, free: 132.5 MB / 0.5027 GB Notification: Performance of SimCode: time 5.81e-07/1.724, allocations: 0 / 1.104 GB, free: 132.5 MB / 0.5027 GB Notification: Performance of Templates: time 0.1046/1.829, allocations: 56.33 MB / 1.159 GB, free: 126.4 MB / 0.5027 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque1/CutForceAndTorque1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches