Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001278/0.001278, allocations: 107.4 kB / 17.98 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001327, allocations: 213.8 kB / 18.92 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 247.1 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2348/0.2348, allocations: 46.12 MB / 344.5 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 77.47 kB / 417.8 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1332, allocations: 62.45 MB / 480.2 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.3205/0.4538, allocations: 37.84 MB / 0.5059 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01672/0.4706, allocations: 7.582 MB / 0.5133 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008576/0.4792, allocations: 156.1 kB / 0.5135 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005114/0.4844, allocations: 2.535 MB / 0.5159 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003338/0.4878, allocations: 1.1 MB / 0.517 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009787/0.4888, allocations: 330.6 kB / 0.5173 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004142/0.4929, allocations: 2.561 MB / 0.5198 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004115/0.4971, allocations: 3.155 MB / 0.5229 GB, free: 7.387 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001936/0.499, allocations: 1.06 MB / 0.5239 GB, free: 7.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002108/0.5012, allocations: 1.503 MB / 0.5254 GB, free: 6.516 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005998/0.5018, allocations: 254.8 kB / 0.5257 GB, free: 6.516 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/0.5035, allocations: 0.7584 MB / 0.5264 GB, free: 6.387 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00142/0.5049, allocations: 1.348 MB / 0.5277 GB, free: 5.879 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001541/0.5065, allocations: 1.559 MB / 0.5292 GB, free: 4.758 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004303/0.5108, allocations: 4.1 MB / 0.5332 GB, free: 2.348 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.5108, allocations: 0 / 0.5332 GB, free: 2.348 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5108, allocations: 0 / 0.5332 GB, free: 2.348 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001753/0.511, allocations: 1.375 kB / 0.5332 GB, free: 2.348 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.007752/0.5188, allocations: 3.273 MB / 0.5364 GB, free: 36 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.5188, allocations: 9.406 kB / 0.5364 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00522/0.5241, allocations: 1.607 MB / 0.538 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003489/0.5276, allocations: 1.476 MB / 0.5395 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/0.5278, allocations: 179 kB / 0.5396 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000725/0.5285, allocations: 236.1 kB / 0.5399 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01501/0.5435, allocations: 7.116 MB / 0.5468 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.471e-05/0.5437, allocations: 11.88 kB / 0.5468 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004531/0.5441, allocations: 109.2 kB / 0.5469 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002481/0.5466, allocations: 1.444 MB / 0.5483 GB, free: 6.871 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01376/0.5604, allocations: 5.946 MB / 0.5541 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03768/0.5981, allocations: 22.45 MB / 0.5761 GB, free: 10.03 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005426/0.6036, allocations: 2.193 MB / 0.5782 GB, free: 7.715 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00125/0.6049, allocations: 0.7684 MB / 0.579 GB, free: 6.941 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007233/0.6121, allocations: 3.851 MB / 0.5827 GB, free: 2.977 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/0.6122, allocations: 43.11 kB / 0.5828 GB, free: 2.926 MB / 430.1 MB Notification: Performance of pre-optimization done (n=87): time 3.727e-06/0.6122, allocations: 0 / 0.5828 GB, free: 2.926 MB / 430.1 MB Notification: Performance of matching and sorting (n=87): time 0.006608/0.6188, allocations: 2.24 MB / 0.5849 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/0.6189, allocations: 63.91 kB / 0.585 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00354/0.6225, allocations: 2.052 MB / 0.587 GB, free: 14.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.6226, allocations: 37.7 kB / 0.587 GB, free: 14.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001736/0.6244, allocations: 2.035 MB / 0.589 GB, free: 12.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004498/0.6248, allocations: 341.8 kB / 0.5894 GB, free: 12.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009206/0.6257, allocations: 0.6571 MB / 0.59 GB, free: 11.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.626, allocations: 353.9 kB / 0.5903 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/0.6274, allocations: 0.9391 MB / 0.5913 GB, free: 10.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003214/0.6307, allocations: 2.868 MB / 0.5941 GB, free: 6.348 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005561/0.6362, allocations: 4.155 MB / 0.5981 GB, free: 1.234 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.872e-05/0.6363, allocations: 20 kB / 0.5981 GB, free: 1.215 MB / 446.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.007331/0.6437, allocations: 3.707 MB / 0.6017 GB, free: 13.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.519e-05/0.6438, allocations: 36 kB / 0.6018 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001014/0.6439, allocations: 68 kB / 0.6018 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001067/0.644, allocations: 88 kB / 0.6019 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002212/0.6462, allocations: 0.694 MB / 0.6026 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001369/0.6464, allocations: 131.5 kB / 0.6027 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002388/0.6488, allocations: 431.8 kB / 0.6031 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003946/0.6492, allocations: 200 kB / 0.6033 GB, free: 11.87 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (382): * Single equations (assignments): 377 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00294/0.6521, allocations: 1.502 MB / 0.6048 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003565/0.6525, allocations: 169.8 kB / 0.605 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000455/0.653, allocations: 210.2 kB / 0.6052 GB, free: 9.98 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.487e-05/0.653, allocations: 12 kB / 0.6052 GB, free: 9.969 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/0.653, allocations: 0 / 0.6052 GB, free: 9.969 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.653, allocations: 3.984 kB / 0.6052 GB, free: 9.965 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008945/0.662, allocations: 4.939 MB / 0.61 GB, free: 4.875 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.819e-05/0.6621, allocations: 11.94 kB / 0.61 GB, free: 4.863 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004977/0.6626, allocations: 123.7 kB / 0.6101 GB, free: 4.742 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.565e-05/0.6626, allocations: 12.72 kB / 0.6101 GB, free: 4.73 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.886e-05/0.6627, allocations: 30.41 kB / 0.6102 GB, free: 4.703 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.279e-05/0.6627, allocations: 12 kB / 0.6102 GB, free: 4.691 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.228e-05/0.6627, allocations: 15.94 kB / 0.6102 GB, free: 4.676 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.6646, allocations: 1.402 MB / 0.6116 GB, free: 3.152 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000508/0.6651, allocations: 286.4 kB / 0.6118 GB, free: 2.852 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002008/0.6653, allocations: 23.98 kB / 0.6119 GB, free: 2.828 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005442/0.6658, allocations: 31.89 kB / 0.6119 GB, free: 2.797 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.666, allocations: 71.69 kB / 0.612 GB, free: 2.727 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.573e-05/0.666, allocations: 38.17 kB / 0.612 GB, free: 2.691 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002426/0.6685, allocations: 1.44 MB / 0.6134 GB, free: 1.23 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6685, allocations: 0 / 0.6134 GB, free: 1.23 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003157/0.6717, allocations: 0.7697 MB / 0.6142 GB, free: 468 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003811/0.6721, allocations: 154.3 kB / 0.6143 GB, free: 304 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004116/0.6762, allocations: 2.37 MB / 0.6166 GB, free: 13.94 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.557e-06/0.6762, allocations: 5.875 kB / 0.6166 GB, free: 13.93 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006762/0.6769, allocations: 0.5009 MB / 0.6171 GB, free: 13.43 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/0.6786, allocations: 274.1 kB / 0.6174 GB, free: 13.18 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/0.6921, allocations: 7.592 MB / 0.6248 GB, free: 5.449 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003201/0.6953, allocations: 2.518 MB / 0.6273 GB, free: 2.902 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005509/0.6959, allocations: 167.3 kB / 0.6274 GB, free: 2.738 MB / 478.1 MB Notification: Performance of SimCode: time 1.182e-06/0.6959, allocations: 0 / 0.6274 GB, free: 2.738 MB / 478.1 MB Notification: Performance of Templates: time 0.0599/0.7558, allocations: 33.5 MB / 0.6601 GB, free: 1.297 MB / 0.4981 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches