Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0012/0.0012, allocations: 196.6 kB / 18.1 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 226.5 MB / 245.4 MB, free: 6.371 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008539/0.0008536, allocations: 98.94 kB / 297.5 MB, free: 6.648 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3781/0.3781, allocations: 44.83 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002949/0.0002951, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3344, allocations: 62.97 MB / 0.5184 GB, free: 37.36 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1337/0.4681, allocations: 108.2 MB / 0.6241 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.4684, allocations: 87.94 kB / 0.6242 GB, free: 12.94 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6849/1.153, allocations: 175.9 MB / 0.796 GB, free: 47.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.09e-06/1.153, allocations: 0 / 0.796 GB, free: 47.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0008229/1.154, allocations: 176 kB / 0.7962 GB, free: 47.42 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.03698/1.191, allocations: 8.668 MB / 0.8046 GB, free: 38.65 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.973e-05/1.191, allocations: 8.031 kB / 0.8046 GB, free: 38.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01954/1.211, allocations: 3.659 MB / 0.8082 GB, free: 34.97 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01939/1.23, allocations: 7.736 MB / 0.8158 GB, free: 27.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000794/1.231, allocations: 0.6864 MB / 0.8164 GB, free: 26.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005433/1.237, allocations: 0.8985 MB / 0.8173 GB, free: 25.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05855/1.295, allocations: 21.18 MB / 0.838 GB, free: 2.883 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007688/1.296, allocations: 95.3 kB / 0.8381 GB, free: 2.789 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005657/1.302, allocations: 435.7 kB / 0.8385 GB, free: 2.363 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004147/1.306, allocations: 1.862 MB / 0.8403 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0595/1.365, allocations: 16.52 MB / 0.8564 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7569/2.122, allocations: 83.47 MB / 0.938 GB, free: 43.67 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01683/2.139, allocations: 6.385 MB / 0.9442 GB, free: 43 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003862/2.143, allocations: 2.339 MB / 0.9465 GB, free: 42.97 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02202/2.165, allocations: 10.82 MB / 0.957 GB, free: 39.75 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.103e-05/2.165, allocations: 57.09 kB / 0.9571 GB, free: 39.71 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=212): time 5.36e-06/2.165, allocations: 3.938 kB / 0.9571 GB, free: 39.71 MB / 0.5262 GB Notification: Performance of matching and sorting (n=236): time 0.05039/2.216, allocations: 16.86 MB / 0.9736 GB, free: 34.71 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/2.216, allocations: 156.9 kB / 0.9737 GB, free: 34.55 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0133/2.229, allocations: 6.808 MB / 0.9804 GB, free: 34.01 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.000476/2.23, allocations: 64.77 kB / 0.9804 GB, free: 33.98 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.004583/2.234, allocations: 6.038 MB / 0.9863 GB, free: 30.68 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001178/2.236, allocations: 0.9328 MB / 0.9872 GB, free: 30.16 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005238/2.236, allocations: 176.3 kB / 0.9874 GB, free: 30.16 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0004054/2.237, allocations: 0.6815 MB / 0.9881 GB, free: 29.84 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004185/2.241, allocations: 2.49 MB / 0.9905 GB, free: 29.81 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006835/2.248, allocations: 8.265 MB / 0.9986 GB, free: 22.34 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01254/2.26, allocations: 11.64 MB / 1.01 GB, free: 13.37 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002609/2.26, allocations: 56.44 kB / 1.01 GB, free: 13.37 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1153) (initialization): time 0.03048/2.291, allocations: 10.38 MB / 1.02 GB, free: 9.555 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009268/2.292, allocations: 93.53 kB / 1.02 GB, free: 9.555 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001038/2.293, allocations: 207 kB / 1.02 GB, free: 9.555 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000833/2.294, allocations: 273.6 kB / 1.021 GB, free: 9.555 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0119/2.306, allocations: 2.158 MB / 1.023 GB, free: 9.289 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008/2.307, allocations: 412.6 kB / 1.023 GB, free: 9.195 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01264/2.319, allocations: 0.5939 MB / 1.024 GB, free: 9.035 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002614/2.322, allocations: 0.5435 MB / 1.024 GB, free: 8.965 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 (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.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],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.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],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.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],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[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.01358/2.336, allocations: 3.959 MB / 1.028 GB, free: 7.203 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002093/2.338, allocations: 0.5769 MB / 1.029 GB, free: 6.883 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003145/2.341, allocations: 0.7081 MB / 1.029 GB, free: 6.535 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-05/2.341, allocations: 26.59 kB / 1.029 GB, free: 6.535 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-05/2.341, allocations: 0 / 1.029 GB, free: 6.535 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.512e-05/2.341, allocations: 9.938 kB / 1.029 GB, free: 6.535 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04537/2.386, allocations: 19.51 MB / 1.048 GB, free: 10.51 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001918/2.387, allocations: 52 kB / 1.049 GB, free: 10.46 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002515/2.389, allocations: 0.5018 MB / 1.049 GB, free: 10.02 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001018/2.389, allocations: 76.06 kB / 1.049 GB, free: 9.941 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002991/2.39, allocations: 115.6 kB / 1.049 GB, free: 9.832 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001021/2.39, allocations: 105.6 kB / 1.049 GB, free: 9.742 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.03e-05/2.39, allocations: 83.62 kB / 1.049 GB, free: 9.66 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007011/2.397, allocations: 4.863 MB / 1.054 GB, free: 4.242 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002995/2.4, allocations: 0.6908 MB / 1.055 GB, free: 3.559 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001093/2.401, allocations: 122.9 kB / 1.055 GB, free: 3.449 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002769/2.404, allocations: 194.3 kB / 1.055 GB, free: 3.297 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004254/2.404, allocations: 368.6 kB / 1.055 GB, free: 3.004 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002116/2.405, allocations: 146.8 kB / 1.056 GB, free: 2.863 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01158/2.416, allocations: 4.329 MB / 1.06 GB, free: 15.54 MB / 0.5574 GB Notification: Performance of sort global known variables: time 9.42e-07/2.416, allocations: 0 / 1.06 GB, free: 15.54 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01203/2.428, allocations: 1.555 MB / 1.061 GB, free: 13.99 MB / 0.5574 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 () * Number of clocked 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.001053/2.429, allocations: 300.8 kB / 1.062 GB, free: 13.69 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.01219/2.442, allocations: 5.766 MB / 1.067 GB, free: 8.656 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 4.871e-05/2.442, allocations: 11.94 kB / 1.067 GB, free: 8.645 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.002708/2.444, allocations: 1.335 MB / 1.069 GB, free: 7.477 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05427/2.499, allocations: 1.024 MB / 1.07 GB, free: 6.633 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04363/2.542, allocations: 21.5 MB / 1.091 GB, free: 1.887 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01306/2.555, allocations: 6.09 MB / 1.097 GB, free: 13.38 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 0.008989/2.564, allocations: 2.783 MB / 1.099 GB, free: 11.64 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/2.566, allocations: 397.8 kB / 1.1 GB, free: 11.26 MB / 0.5887 GB Notification: Performance of SimCode: time 7.41e-07/2.566, allocations: 0 / 1.1 GB, free: 11.26 MB / 0.5887 GB Notification: Performance of Templates: time 0.3872/2.953, allocations: 47.35 MB / 1.146 GB, free: 139.4 MB / 0.5887 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque2/CutForceAndTorque2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches