Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001434/0.001434, allocations: 200.8 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.788/1.788, allocations: 226.5 MB / 245.4 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000806/0.0008057, allocations: 97.05 kB / 297.5 MB, free: 6.695 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3592/0.3592, allocations: 44.83 MB / 394.3 MB, free: 35.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.0003232, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3159, allocations: 62.96 MB / 0.5184 GB, free: 37.59 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1398/0.4558, allocations: 108.2 MB / 0.6241 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/0.4562, allocations: 83.95 kB / 0.6242 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6968/1.153, allocations: 177.2 MB / 0.7973 GB, free: 45.28 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.966e-06/1.153, allocations: 0 / 0.7973 GB, free: 45.28 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006909/1.154, allocations: 176 kB / 0.7974 GB, free: 45.11 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.03304/1.187, allocations: 8.657 MB / 0.8059 GB, free: 36.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/1.187, allocations: 8.031 kB / 0.8059 GB, free: 36.35 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01807/1.205, allocations: 3.659 MB / 0.8095 GB, free: 32.67 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01925/1.224, allocations: 7.743 MB / 0.817 GB, free: 24.85 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00108/1.225, allocations: 0.6825 MB / 0.8177 GB, free: 24.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006754/1.232, allocations: 0.9063 MB / 0.8186 GB, free: 23.26 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06022/1.292, allocations: 21.17 MB / 0.8393 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007632/1.293, allocations: 103.2 kB / 0.8394 GB, free: 488 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005894/1.299, allocations: 431.8 kB / 0.8398 GB, free: 56 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00383/1.303, allocations: 1.87 MB / 0.8416 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06447/1.367, allocations: 16.51 MB / 0.8577 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8109/2.178, allocations: 83.46 MB / 0.9392 GB, free: 42.18 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01741/2.196, allocations: 6.332 MB / 0.9454 GB, free: 41.5 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004426/2.2, allocations: 2.329 MB / 0.9477 GB, free: 41.47 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02206/2.222, allocations: 10.81 MB / 0.9582 GB, free: 38.26 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.11e-05/2.223, allocations: 64.5 kB / 0.9583 GB, free: 38.22 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=212): time 6.573e-06/2.223, allocations: 0 / 0.9583 GB, free: 38.22 MB / 0.5262 GB Notification: Performance of matching and sorting (n=236): time 0.06098/2.284, allocations: 16.85 MB / 0.9748 GB, free: 33.23 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/2.284, allocations: 155.1 kB / 0.9749 GB, free: 33.06 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02632/2.31, allocations: 6.814 MB / 0.9816 GB, free: 32.5 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0005276/2.311, allocations: 59.48 kB / 0.9816 GB, free: 32.47 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.007572/2.318, allocations: 6.052 MB / 0.9875 GB, free: 29.15 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001716/2.32, allocations: 0.9329 MB / 0.9884 GB, free: 28.64 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001606/2.322, allocations: 179.3 kB / 0.9886 GB, free: 28.64 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.001535/2.323, allocations: 0.6739 MB / 0.9893 GB, free: 28.32 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008204/2.331, allocations: 2.491 MB / 0.9917 GB, free: 28.29 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01278/2.344, allocations: 8.27 MB / 0.9998 GB, free: 20.82 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01731/2.362, allocations: 11.64 MB / 1.011 GB, free: 11.77 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003846/2.362, allocations: 56.94 kB / 1.011 GB, free: 11.77 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1153) (initialization): time 0.0293/2.391, allocations: 10.38 MB / 1.021 GB, free: 7.887 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001892/2.392, allocations: 95.92 kB / 1.021 GB, free: 7.887 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003613/2.392, allocations: 205.1 kB / 1.022 GB, free: 7.887 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000405/2.392, allocations: 270.3 kB / 1.022 GB, free: 7.887 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008544/2.401, allocations: 2.161 MB / 1.024 GB, free: 7.621 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002766/2.401, allocations: 402.1 kB / 1.024 GB, free: 7.531 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008357/2.41, allocations: 0.6013 MB / 1.025 GB, free: 7.367 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001737/2.411, allocations: 0.5439 MB / 1.025 GB, free: 7.293 MB / 0.5262 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.00834/2.42, allocations: 3.954 MB / 1.029 GB, free: 5.535 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001203/2.421, allocations: 0.5789 MB / 1.03 GB, free: 5.215 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/2.423, allocations: 0.7014 MB / 1.031 GB, free: 4.867 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-05/2.423, allocations: 27.06 kB / 1.031 GB, free: 4.867 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.348e-05/2.423, allocations: 9.172 kB / 1.031 GB, free: 4.863 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.786e-05/2.423, allocations: 9.422 kB / 1.031 GB, free: 4.863 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03228/2.455, allocations: 22.69 MB / 1.053 GB, free: 7.828 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.273e-05/2.455, allocations: 47.06 kB / 1.053 GB, free: 7.785 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/2.457, allocations: 458.4 kB / 1.053 GB, free: 7.398 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.507e-05/2.457, allocations: 60 kB / 1.053 GB, free: 7.34 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000193/2.457, allocations: 99.47 kB / 1.053 GB, free: 7.246 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.174e-05/2.457, allocations: 86 kB / 1.054 GB, free: 7.172 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.554e-05/2.457, allocations: 71.69 kB / 1.054 GB, free: 7.102 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005978/2.463, allocations: 4.562 MB / 1.058 GB, free: 2.164 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001656/2.465, allocations: 0.6667 MB / 1.059 GB, free: 1.504 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006359/2.466, allocations: 109.1 kB / 1.059 GB, free: 1.406 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002283/2.468, allocations: 197.2 kB / 1.059 GB, free: 1.258 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003425/2.468, allocations: 310.7 kB / 1.059 GB, free: 1.012 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001797/2.468, allocations: 129.7 kB / 1.059 GB, free: 0.8906 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01752/2.486, allocations: 4.982 MB / 1.064 GB, free: 15.15 MB / 0.5574 GB Notification: Performance of sort global known variables: time 4.31e-07/2.486, allocations: 4 kB / 1.064 GB, free: 15.15 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.009927/2.496, allocations: 1.552 MB / 1.066 GB, free: 13.6 MB / 0.5574 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.0007327/2.497, allocations: 275 kB / 1.066 GB, free: 13.33 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.009951/2.507, allocations: 5.783 MB / 1.072 GB, free: 8.301 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.048e-05/2.507, allocations: 7.938 kB / 1.072 GB, free: 8.293 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.002061/2.509, allocations: 1.334 MB / 1.073 GB, free: 7.145 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04612/2.555, allocations: 0.9916 MB / 1.074 GB, free: 6.328 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04521/2.6, allocations: 21.23 MB / 1.095 GB, free: 2 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3041/2.904, allocations: 6.059 MB / 1.101 GB, free: 131.9 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00975/2.914, allocations: 2.766 MB / 1.103 GB, free: 131.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001647/2.916, allocations: 389.4 kB / 1.104 GB, free: 131.8 MB / 0.573 GB Notification: Performance of SimCode: time 1.873e-06/2.916, allocations: 0 / 1.104 GB, free: 131.8 MB / 0.573 GB Notification: Performance of Templates: time 0.1079/3.024, allocations: 47.05 MB / 1.15 GB, free: 129.7 MB / 0.573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque1/CutForceAndTorque1.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches