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.001011/0.001011, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.282/1.282, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007846/0.0007848, allocations: 93.42 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2018/0.2018, allocations: 45.14 MB / 383.7 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.358e-05/2.36e-05, allocations: 0 / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1007, allocations: 63.25 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3885/0.4893, allocations: 107.5 MB / 0.6094 GB, free: 11.32 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/0.4896, allocations: 75.03 kB / 0.6094 GB, free: 11.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6929/1.182, allocations: 178.6 MB / 0.7838 GB, free: 98.64 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.944e-06/1.183, allocations: 3.188 kB / 0.7838 GB, free: 98.64 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003909/1.183, allocations: 172.3 kB / 0.784 GB, free: 98.64 MB / 0.5261 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.02225/1.205, allocations: 8.423 MB / 0.7922 GB, free: 95.44 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/1.205, allocations: 7.781 kB / 0.7922 GB, free: 95.44 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01766/1.223, allocations: 3.779 MB / 0.7959 GB, free: 94.84 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01902/1.242, allocations: 8.544 MB / 0.8042 GB, free: 93.85 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006374/1.243, allocations: 299.4 kB / 0.8045 GB, free: 93.85 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005515/1.248, allocations: 0.5324 MB / 0.805 GB, free: 93.84 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02171/1.27, allocations: 12.33 MB / 0.8171 GB, free: 93.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03439/1.304, allocations: 17.87 MB / 0.8345 GB, free: 89.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003274/1.305, allocations: 97.11 kB / 0.8346 GB, free: 89.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001856/1.307, allocations: 48.28 kB / 0.8347 GB, free: 89.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002503/1.309, allocations: 1.871 MB / 0.8365 GB, free: 89.32 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.103/1.412, allocations: 84.43 MB / 0.9189 GB, free: 20.51 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003406/1.416, allocations: 2.706 MB / 0.9216 GB, free: 17.95 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001554/1.417, allocations: 1.3 MB / 0.9229 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.584e-05/1.417, allocations: 37.14 kB / 0.9229 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/1.417, allocations: 67.62 kB / 0.923 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=206): time 4.679e-06/1.417, allocations: 3.938 kB / 0.923 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=218): time 0.0238/1.441, allocations: 12.06 MB / 0.9347 GB, free: 5.785 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/1.441, allocations: 153.8 kB / 0.9349 GB, free: 5.605 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00758/1.449, allocations: 5.156 MB / 0.9399 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004358/1.449, allocations: 29.7 kB / 0.94 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004515/1.454, allocations: 6.099 MB / 0.9459 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001203/1.455, allocations: 0.8549 MB / 0.9467 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003512/1.455, allocations: 4 kB / 0.9467 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0004766/1.456, allocations: 0.6824 MB / 0.9474 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003171/1.459, allocations: 2.167 MB / 0.9495 GB, free: 8.281 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3258/1.785, allocations: 7.986 MB / 0.9573 GB, free: 96.71 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007366/1.792, allocations: 4.092 MB / 0.9613 GB, free: 96.69 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001843/1.792, allocations: 60.19 kB / 0.9614 GB, free: 96.69 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1171) (initialization): time 0.0184/1.811, allocations: 8.839 MB / 0.97 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001538/1.811, allocations: 95.38 kB / 0.9701 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003245/1.811, allocations: 211.9 kB / 0.9703 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004832/1.812, allocations: 306.8 kB / 0.9706 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007787/1.82, allocations: 2.193 MB / 0.9727 GB, free: 96.44 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003023/1.82, allocations: 410.7 kB / 0.9731 GB, free: 96.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008765/1.829, allocations: 445.3 kB / 0.9736 GB, free: 96.35 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001745/1.83, allocations: 0.5615 MB / 0.9741 GB, free: 96.35 MB / 0.5417 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 (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 () * 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.001433/1.832, allocations: 0.633 MB / 0.9747 GB, free: 96.03 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001315/1.833, allocations: 0.5352 MB / 0.9752 GB, free: 96.03 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/1.835, allocations: 0.639 MB / 0.9759 GB, free: 95.97 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-05/1.835, allocations: 24.19 kB / 0.9759 GB, free: 95.97 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.995e-05/1.835, allocations: 1.281 kB / 0.9759 GB, free: 95.97 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.54e-05/1.835, allocations: 9.328 kB / 0.9759 GB, free: 95.97 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02594/1.861, allocations: 19.07 MB / 0.9945 GB, free: 93.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.905e-05/1.861, allocations: 40.97 kB / 0.9946 GB, free: 93.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/1.862, allocations: 421.6 kB / 0.995 GB, free: 93.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.268e-05/1.862, allocations: 60.36 kB / 0.995 GB, free: 93.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001334/1.863, allocations: 64.75 kB / 0.9951 GB, free: 93.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.436e-05/1.863, allocations: 78.61 kB / 0.9952 GB, free: 93.78 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-05/1.863, allocations: 60.44 kB / 0.9952 GB, free: 93.77 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005557/1.868, allocations: 10.89 MB / 1.006 GB, free: 83.91 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001536/1.87, allocations: 0.6106 MB / 1.006 GB, free: 83.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005541/1.87, allocations: 60.47 kB / 1.007 GB, free: 83.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002328/1.873, allocations: 161.5 kB / 1.007 GB, free: 83.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003105/1.873, allocations: 271.8 kB / 1.007 GB, free: 83.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001944/1.873, allocations: 126.4 kB / 1.007 GB, free: 83.54 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.007699/1.881, allocations: 3.435 MB / 1.01 GB, free: 83.32 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.8e-07/1.881, allocations: 0 / 1.01 GB, free: 83.32 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0101/1.891, allocations: 1.338 MB / 1.012 GB, free: 83.32 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (214): * Single equations (assignments): 211 * 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.0005964/1.892, allocations: 215.5 kB / 1.012 GB, free: 83.2 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008234/1.9, allocations: 5.098 MB / 1.017 GB, free: 82.68 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.19e-05/1.9, allocations: 8.156 kB / 1.017 GB, free: 82.68 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001682/1.902, allocations: 1.171 MB / 1.018 GB, free: 82.57 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00436/1.906, allocations: 0.8009 MB / 1.019 GB, free: 82.54 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02811/1.934, allocations: 14.11 MB / 1.033 GB, free: 78.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01247/1.947, allocations: 6.209 MB / 1.039 GB, free: 77.28 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.008736/1.955, allocations: 2.795 MB / 1.041 GB, free: 77.04 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00137/1.957, allocations: 359.6 kB / 1.042 GB, free: 77.04 MB / 0.5417 GB Notification: Performance of SimCode: time 1.593e-06/1.957, allocations: 4 kB / 1.042 GB, free: 77.04 MB / 0.5417 GB Notification: Performance of Templates: time 0.0858/2.043, allocations: 39.45 MB / 1.08 GB, free: 64.2 MB / 0.5417 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/jenkins/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