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.001065/0.001065, allocations: 107.8 kB / 18.45 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00115/0.00115, allocations: 209.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.229/1.229, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1856/0.1856, allocations: 46.1 MB / 344.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 75.88 kB / 482 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2874, allocations: 62.43 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01035/0.2978, allocations: 10.11 MB / 0.5415 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005926/0.3037, allocations: 3.081 MB / 0.5445 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.3049, allocations: 56.44 kB / 0.5446 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004409/0.3093, allocations: 2.61 MB / 0.5471 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002812/0.3122, allocations: 1.18 MB / 0.5483 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008692/0.313, allocations: 351.3 kB / 0.5486 GB, free: 320 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003239/0.3163, allocations: 2.539 MB / 0.5511 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002924/0.3192, allocations: 2.993 MB / 0.554 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.3206, allocations: 1.051 MB / 0.555 GB, free: 9.684 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001804/0.3224, allocations: 1.375 MB / 0.5564 GB, free: 8.305 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005495/0.323, allocations: 248 kB / 0.5566 GB, free: 8.062 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/0.3244, allocations: 0.7646 MB / 0.5574 GB, free: 7.297 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001157/0.3255, allocations: 1.333 MB / 0.5587 GB, free: 5.961 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.3269, allocations: 1.557 MB / 0.5602 GB, free: 4.395 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004802/0.3317, allocations: 5.108 MB / 0.5652 GB, free: 15.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3317, allocations: 0 / 0.5652 GB, free: 15.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3318, allocations: 4 kB / 0.5652 GB, free: 15.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001037/0.3319, allocations: 0 / 0.5652 GB, free: 15.27 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.005701/0.3376, allocations: 3.261 MB / 0.5684 GB, free: 11.94 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3376, allocations: 12.03 kB / 0.5684 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004674/0.3423, allocations: 1.607 MB / 0.57 GB, free: 10.31 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003335/0.3457, allocations: 1.5 MB / 0.5714 GB, free: 8.766 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.3458, allocations: 177 kB / 0.5716 GB, free: 8.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005865/0.3464, allocations: 235.8 kB / 0.5718 GB, free: 8.359 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01082/0.3573, allocations: 7.114 MB / 0.5788 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.255e-05/0.3573, allocations: 11.88 kB / 0.5788 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002812/0.3576, allocations: 111.9 kB / 0.5789 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001898/0.3595, allocations: 1.447 MB / 0.5803 GB, free: 15.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009839/0.3694, allocations: 5.948 MB / 0.5861 GB, free: 9.391 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02822/0.3976, allocations: 22.28 MB / 0.6079 GB, free: 2.531 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004336/0.402, allocations: 2.188 MB / 0.61 GB, free: 220 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009805/0.403, allocations: 0.7737 MB / 0.6108 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006501/0.4095, allocations: 3.844 MB / 0.6145 GB, free: 11.45 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/0.4096, allocations: 51.11 kB / 0.6146 GB, free: 11.39 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 3.456e-06/0.4096, allocations: 0 / 0.6146 GB, free: 11.39 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.005663/0.4153, allocations: 2.248 MB / 0.6168 GB, free: 9.133 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.4154, allocations: 59.97 kB / 0.6168 GB, free: 9.062 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002445/0.4178, allocations: 2.056 MB / 0.6188 GB, free: 7.008 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.139e-05/0.4179, allocations: 37.7 kB / 0.6189 GB, free: 6.965 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001163/0.4191, allocations: 2.023 MB / 0.6208 GB, free: 4.91 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.4193, allocations: 343.7 kB / 0.6212 GB, free: 4.57 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006998/0.42, allocations: 0.6545 MB / 0.6218 GB, free: 3.906 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.4202, allocations: 365.9 kB / 0.6221 GB, free: 3.543 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.4214, allocations: 0.9352 MB / 0.6231 GB, free: 2.605 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002338/0.4237, allocations: 2.876 MB / 0.6259 GB, free: 14.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004016/0.4277, allocations: 4.148 MB / 0.6299 GB, free: 9.656 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.51e-05/0.4278, allocations: 20 kB / 0.6299 GB, free: 9.637 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.005416/0.4332, allocations: 3.693 MB / 0.6335 GB, free: 5.941 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.964e-05/0.4333, allocations: 32 kB / 0.6336 GB, free: 5.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.206e-05/0.4334, allocations: 68 kB / 0.6336 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-05/0.4335, allocations: 92.81 kB / 0.6337 GB, free: 5.754 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001837/0.4353, allocations: 0.69 MB / 0.6344 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.051e-05/0.4354, allocations: 135.5 kB / 0.6345 GB, free: 4.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/0.4372, allocations: 439.2 kB / 0.6349 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002103/0.4374, allocations: 200 kB / 0.6351 GB, free: 4.301 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.001982/0.4394, allocations: 1.511 MB / 0.6366 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002227/0.4396, allocations: 165.8 kB / 0.6368 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003321/0.44, allocations: 214.1 kB / 0.637 GB, free: 2.402 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/0.44, allocations: 12 kB / 0.637 GB, free: 2.391 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.44, allocations: 4 kB / 0.637 GB, free: 2.387 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.577e-05/0.44, allocations: 3.984 kB / 0.637 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007028/0.4471, allocations: 4.932 MB / 0.6418 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/0.4471, allocations: 8 kB / 0.6418 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004221/0.4476, allocations: 119.8 kB / 0.6419 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.017e-05/0.4476, allocations: 16.06 kB / 0.6419 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.4476, allocations: 20 kB / 0.642 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.366e-05/0.4477, allocations: 19.92 kB / 0.642 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/0.4477, allocations: 11.94 kB / 0.642 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.4492, allocations: 1.41 MB / 0.6434 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000414/0.4496, allocations: 282.3 kB / 0.6436 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.4498, allocations: 31.91 kB / 0.6437 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005026/0.4503, allocations: 31.89 kB / 0.6437 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.301e-05/0.4504, allocations: 71.75 kB / 0.6438 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.562e-05/0.4504, allocations: 35.98 kB / 0.6438 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001862/0.4523, allocations: 1.444 MB / 0.6452 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4523, allocations: 0 / 0.6452 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002614/0.4549, allocations: 0.7698 MB / 0.646 GB, free: 8.863 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.0003205/0.4553, allocations: 150.9 kB / 0.6461 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002987/0.4583, allocations: 2.164 MB / 0.6482 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.4583, allocations: 4.812 kB / 0.6482 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005778/0.4589, allocations: 0.5001 MB / 0.6487 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.4602, allocations: 282.7 kB / 0.649 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009386/0.4696, allocations: 6.062 MB / 0.6549 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002333/0.472, allocations: 2.514 MB / 0.6574 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004868/0.4725, allocations: 159.4 kB / 0.6575 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of SimCode: time 1.002e-06/0.4725, allocations: 0 / 0.6575 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of Templates: time 0.04491/0.5174, allocations: 33.87 MB / 0.6906 GB, free: 11.05 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