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.001288/0.001288, allocations: 121.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001326/0.001326, allocations: 212.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.25/1.25, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1891/0.1891, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 75.88 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2962, allocations: 62.43 MB / 0.5316 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.009801/0.3061, allocations: 10.11 MB / 0.5415 GB, free: 5.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005808/0.3119, allocations: 3.077 MB / 0.5445 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001322/0.3132, allocations: 51.97 kB / 0.5446 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00424/0.3175, allocations: 2.61 MB / 0.5471 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002648/0.3202, allocations: 1.199 MB / 0.5483 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007492/0.321, allocations: 359.3 kB / 0.5486 GB, free: 276 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002701/0.3237, allocations: 2.536 MB / 0.5511 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002676/0.3264, allocations: 2.993 MB / 0.554 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.3274, allocations: 1.055 MB / 0.5551 GB, free: 9.637 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001344/0.3288, allocations: 1.375 MB / 0.5564 GB, free: 8.258 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003819/0.3292, allocations: 252 kB / 0.5567 GB, free: 8.012 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.3303, allocations: 0.7645 MB / 0.5574 GB, free: 7.246 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009656/0.3313, allocations: 1.337 MB / 0.5587 GB, free: 5.906 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001185/0.3325, allocations: 1.553 MB / 0.5602 GB, free: 4.344 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004299/0.3368, allocations: 5.104 MB / 0.5652 GB, free: 15.22 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3368, allocations: 4 kB / 0.5652 GB, free: 15.22 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3368, allocations: 0 / 0.5652 GB, free: 15.22 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000103/0.3369, allocations: 0 / 0.5652 GB, free: 15.22 MB / 430.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.004768/0.3417, allocations: 3.269 MB / 0.5684 GB, free: 11.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.3418, allocations: 8.031 kB / 0.5684 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004362/0.3461, allocations: 1.603 MB / 0.57 GB, free: 10.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002302/0.3484, allocations: 1.5 MB / 0.5714 GB, free: 8.719 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000176/0.3486, allocations: 177 kB / 0.5716 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003622/0.349, allocations: 235.8 kB / 0.5718 GB, free: 8.312 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01002/0.359, allocations: 7.117 MB / 0.5788 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.12e-05/0.3591, allocations: 11.88 kB / 0.5788 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002698/0.3594, allocations: 111.9 kB / 0.5789 GB, free: 0.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00185/0.3612, allocations: 1.443 MB / 0.5803 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009724/0.371, allocations: 5.952 MB / 0.5861 GB, free: 9.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02416/0.3952, allocations: 22.28 MB / 0.6079 GB, free: 2.488 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004004/0.3992, allocations: 2.199 MB / 0.61 GB, free: 168 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009002/0.4001, allocations: 0.7659 MB / 0.6108 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005572/0.4057, allocations: 3.848 MB / 0.6145 GB, free: 11.4 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.4058, allocations: 47.12 kB / 0.6146 GB, free: 11.34 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 2.715e-06/0.4058, allocations: 0 / 0.6146 GB, free: 11.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.005396/0.4112, allocations: 2.244 MB / 0.6168 GB, free: 9.094 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.4112, allocations: 63.97 kB / 0.6168 GB, free: 9.02 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002592/0.4138, allocations: 2.052 MB / 0.6188 GB, free: 6.969 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.938e-05/0.4139, allocations: 41.64 kB / 0.6189 GB, free: 6.922 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001071/0.415, allocations: 2.027 MB / 0.6209 GB, free: 4.863 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/0.4152, allocations: 343.7 kB / 0.6212 GB, free: 4.523 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006806/0.4159, allocations: 0.6545 MB / 0.6218 GB, free: 3.859 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.416, allocations: 365.9 kB / 0.6222 GB, free: 3.496 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.4172, allocations: 0.9313 MB / 0.6231 GB, free: 2.562 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002127/0.4193, allocations: 2.872 MB / 0.6259 GB, free: 14.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003604/0.4229, allocations: 4.154 MB / 0.6299 GB, free: 9.613 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.609e-05/0.423, allocations: 20 kB / 0.63 GB, free: 9.594 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.004633/0.4276, allocations: 3.701 MB / 0.6336 GB, free: 5.887 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.503e-05/0.4277, allocations: 32.97 kB / 0.6336 GB, free: 5.855 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-05/0.4277, allocations: 68 kB / 0.6337 GB, free: 5.789 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.95e-05/0.4278, allocations: 92 kB / 0.6338 GB, free: 5.699 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/0.4295, allocations: 0.6901 MB / 0.6344 GB, free: 5.008 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.119e-05/0.4296, allocations: 135.4 kB / 0.6346 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.4312, allocations: 439.2 kB / 0.635 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000228/0.4314, allocations: 196 kB / 0.6352 GB, free: 4.25 MB / 494.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.001802/0.4332, allocations: 1.507 MB / 0.6366 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/0.4334, allocations: 165.8 kB / 0.6368 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003072/0.4338, allocations: 214.2 kB / 0.637 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/0.4338, allocations: 11.98 kB / 0.637 GB, free: 2.344 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.4338, allocations: 0 / 0.637 GB, free: 2.344 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.4338, allocations: 0 / 0.637 GB, free: 2.344 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006363/0.4402, allocations: 4.936 MB / 0.6418 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.4402, allocations: 8.156 kB / 0.6418 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004093/0.4406, allocations: 119.8 kB / 0.642 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.297e-05/0.4406, allocations: 15.98 kB / 0.642 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-05/0.4407, allocations: 20 kB / 0.642 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.138e-05/0.4407, allocations: 19.88 kB / 0.642 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/0.4407, allocations: 15.92 kB / 0.642 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.4421, allocations: 1.413 MB / 0.6434 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003419/0.4425, allocations: 282.3 kB / 0.6437 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.4426, allocations: 20 kB / 0.6437 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004678/0.4431, allocations: 35.88 kB / 0.6437 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.196e-05/0.4432, allocations: 79.62 kB / 0.6438 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-05/0.4433, allocations: 32 kB / 0.6438 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001664/0.445, allocations: 1.448 MB / 0.6452 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.445, allocations: 0 / 0.6452 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002302/0.4473, allocations: 0.7697 MB / 0.646 GB, free: 8.812 MB / 0.4981 GB 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.0002673/0.4475, allocations: 143 kB / 0.6461 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002822/0.4504, allocations: 2.176 MB / 0.6483 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.4504, allocations: 4 kB / 0.6483 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005357/0.4509, allocations: 0.5018 MB / 0.6488 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.4521, allocations: 278.9 kB / 0.649 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007608/0.4597, allocations: 6.07 MB / 0.6549 GB, free: 15.51 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00218/0.4619, allocations: 2.514 MB / 0.6574 GB, free: 12.97 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003661/0.4623, allocations: 155.4 kB / 0.6575 GB, free: 12.82 MB / 0.5138 GB Notification: Performance of SimCode: time 8.31e-07/0.4623, allocations: 0 / 0.6575 GB, free: 12.82 MB / 0.5138 GB Notification: Performance of Templates: time 0.04698/0.5093, allocations: 33.87 MB / 0.6906 GB, free: 11 MB / 0.545 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