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.001617/0.001617, allocations: 121.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002022/0.002022, allocations: 199.9 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2206/0.2206, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 71.88 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3769, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01174/0.3887, allocations: 10.11 MB / 0.5409 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008273/0.397, allocations: 3.073 MB / 0.5439 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002485/0.3995, allocations: 52.72 kB / 0.5439 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005033/0.4046, allocations: 2.619 MB / 0.5465 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004042/0.4087, allocations: 1.2 MB / 0.5476 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.4097, allocations: 347.3 kB / 0.548 GB, free: 288 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003599/0.4134, allocations: 2.551 MB / 0.5505 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003215/0.4166, allocations: 2.986 MB / 0.5534 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001471/0.4181, allocations: 1.052 MB / 0.5544 GB, free: 9.648 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.4197, allocations: 1.375 MB / 0.5557 GB, free: 8.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004184/0.4201, allocations: 252 kB / 0.556 GB, free: 8.023 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.4216, allocations: 0.7568 MB / 0.5567 GB, free: 7.266 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001232/0.4228, allocations: 1.344 MB / 0.558 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001411/0.4243, allocations: 1.553 MB / 0.5596 GB, free: 4.355 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005049/0.4293, allocations: 5.104 MB / 0.5645 GB, free: 15.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.4293, allocations: 4 kB / 0.5645 GB, free: 15.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4294, allocations: 3.938 kB / 0.5645 GB, free: 15.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.245e-05/0.4295, allocations: 0 / 0.5645 GB, free: 15.23 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.005299/0.4348, allocations: 3.257 MB / 0.5677 GB, free: 11.9 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.4348, allocations: 16.03 kB / 0.5677 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004995/0.4398, allocations: 1.603 MB / 0.5693 GB, free: 10.28 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003188/0.443, allocations: 1.496 MB / 0.5708 GB, free: 8.734 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.4432, allocations: 180.9 kB / 0.5709 GB, free: 8.555 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004509/0.4436, allocations: 227.8 kB / 0.5712 GB, free: 8.332 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01109/0.4547, allocations: 7.121 MB / 0.5781 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.105e-05/0.4548, allocations: 15.88 kB / 0.5781 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002735/0.4551, allocations: 103.9 kB / 0.5782 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002219/0.4573, allocations: 1.443 MB / 0.5796 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01366/0.471, allocations: 5.952 MB / 0.5854 GB, free: 9.359 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03846/0.5095, allocations: 22.28 MB / 0.6072 GB, free: 2.5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004824/0.5144, allocations: 2.196 MB / 0.6094 GB, free: 180 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.5155, allocations: 0.7724 MB / 0.6101 GB, free: 15.4 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00697/0.5225, allocations: 3.86 MB / 0.6139 GB, free: 11.39 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.5226, allocations: 43.12 kB / 0.6139 GB, free: 11.34 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 3.357e-06/0.5226, allocations: 0 / 0.6139 GB, free: 11.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.006208/0.5288, allocations: 2.248 MB / 0.6161 GB, free: 9.09 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.5289, allocations: 55.97 kB / 0.6162 GB, free: 9.023 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004078/0.533, allocations: 2.06 MB / 0.6182 GB, free: 6.965 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001848/0.5332, allocations: 33.7 kB / 0.6182 GB, free: 6.926 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002153/0.5354, allocations: 2.03 MB / 0.6202 GB, free: 4.863 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00053/0.5359, allocations: 343.7 kB / 0.6205 GB, free: 4.523 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001267/0.5372, allocations: 0.6545 MB / 0.6212 GB, free: 3.859 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.5374, allocations: 357.9 kB / 0.6215 GB, free: 3.504 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/0.5389, allocations: 0.9352 MB / 0.6224 GB, free: 2.566 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002838/0.5418, allocations: 2.876 MB / 0.6252 GB, free: 14.72 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004742/0.5465, allocations: 4.15 MB / 0.6293 GB, free: 9.613 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.077e-05/0.5466, allocations: 20 kB / 0.6293 GB, free: 9.594 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006391/0.553, allocations: 3.701 MB / 0.6329 GB, free: 5.891 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.469e-05/0.5531, allocations: 36 kB / 0.6329 GB, free: 5.855 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001239/0.5533, allocations: 68 kB / 0.633 GB, free: 5.789 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000106/0.5534, allocations: 92.75 kB / 0.6331 GB, free: 5.699 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002086/0.5555, allocations: 0.6784 MB / 0.6338 GB, free: 5.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001354/0.5556, allocations: 143.4 kB / 0.6339 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002391/0.558, allocations: 439.2 kB / 0.6343 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003545/0.5584, allocations: 196 kB / 0.6345 GB, free: 4.254 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.002483/0.5609, allocations: 1.499 MB / 0.636 GB, free: 2.742 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003251/0.5612, allocations: 169.8 kB / 0.6361 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004532/0.5617, allocations: 214.1 kB / 0.6363 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-05/0.5617, allocations: 12 kB / 0.6363 GB, free: 2.352 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.5617, allocations: 4 kB / 0.6363 GB, free: 2.348 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.5617, allocations: 7.922 kB / 0.6364 GB, free: 2.344 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009457/0.5712, allocations: 4.931 MB / 0.6412 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.057e-05/0.5713, allocations: 9 kB / 0.6412 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005039/0.5718, allocations: 123.7 kB / 0.6413 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.339e-05/0.5718, allocations: 12 kB / 0.6413 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.867e-05/0.5719, allocations: 24 kB / 0.6413 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.626e-05/0.5719, allocations: 15.92 kB / 0.6413 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-06/0.5719, allocations: 8 kB / 0.6414 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/0.5737, allocations: 1.413 MB / 0.6427 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007076/0.5745, allocations: 286.3 kB / 0.643 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000426/0.5749, allocations: 19.94 kB / 0.643 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008064/0.5757, allocations: 39.88 kB / 0.6431 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.5758, allocations: 75.69 kB / 0.6431 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-05/0.5759, allocations: 35.98 kB / 0.6432 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00294/0.5789, allocations: 1.448 MB / 0.6446 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5789, allocations: 0 / 0.6446 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00343/0.5823, allocations: 0.762 MB / 0.6453 GB, free: 8.824 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.0004355/0.5828, allocations: 154.9 kB / 0.6455 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003642/0.5864, allocations: 2.169 MB / 0.6476 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.5864, allocations: 0 / 0.6476 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006529/0.5871, allocations: 0.5009 MB / 0.6481 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.5888, allocations: 276.5 kB / 0.6483 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.5997, allocations: 5.713 MB / 0.6539 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003527/0.6033, allocations: 2.51 MB / 0.6564 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002465/0.6058, allocations: 1.024 MB / 0.6574 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004888/0.6063, allocations: 135.4 kB / 0.6575 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of SimCode: time 2.395e-06/0.6063, allocations: 4 kB / 0.6575 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of Templates: time 0.03804/0.6444, allocations: 17.06 MB / 0.6742 GB, free: 11.14 MB / 0.5294 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches