Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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.CutForceAndTorque1,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.CutForceAndTorque1") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,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.CutForceAndTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001608/0.001608, allocations: 115.5 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.001933/0.001933, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1969/0.1969, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 79.88 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2957, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.01659/0.3123, allocations: 16.28 MB / 0.5476 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.3231, allocations: 5.381 MB / 0.5528 GB, free: 12.01 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001775/0.3249, allocations: 135.6 kB / 0.553 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01163/0.3365, allocations: 7.438 MB / 0.5602 GB, free: 4.414 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006641/0.3432, allocations: 2.932 MB / 0.5631 GB, free: 1.473 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00307/0.3463, allocations: 1.708 MB / 0.5647 GB, free: 15.76 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00974/0.3561, allocations: 8.401 MB / 0.573 GB, free: 7.344 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009335/0.3654, allocations: 8.91 MB / 0.5817 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0048/0.3703, allocations: 3.361 MB / 0.5849 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005759/0.376, allocations: 4.362 MB / 0.5892 GB, free: 6.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00155/0.3776, allocations: 0.707 MB / 0.5899 GB, free: 5.883 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002862/0.3805, allocations: 1.53 MB / 0.5914 GB, free: 4.352 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003298/0.3838, allocations: 4.088 MB / 0.5954 GB, free: 260 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004143/0.388, allocations: 4.467 MB / 0.5997 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01288/0.4009, allocations: 13.59 MB / 0.613 GB, free: 14.12 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4009, allocations: 0 / 0.613 GB, free: 14.12 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.4009, allocations: 4 kB / 0.613 GB, free: 14.12 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000407/0.4013, allocations: 0 / 0.613 GB, free: 14.12 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2873 * Number of variables: 2873 Notification: Performance of Generate backend data structure: time 0.01685/0.4182, allocations: 9.559 MB / 0.6223 GB, free: 4.473 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/0.4183, allocations: 12.03 kB / 0.6224 GB, free: 4.461 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01008/0.4283, allocations: 2.591 MB / 0.6249 GB, free: 1.855 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009149/0.4375, allocations: 4.932 MB / 0.6297 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003925/0.4379, allocations: 0.5007 MB / 0.6302 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001609/0.4396, allocations: 0.648 MB / 0.6308 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03454/0.4741, allocations: 19.59 MB / 0.65 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002824/0.4744, allocations: 79.33 kB / 0.65 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001724/0.4762, allocations: 307.8 kB / 0.6503 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004527/0.4807, allocations: 3.309 MB / 0.6536 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03194/0.5127, allocations: 14.99 MB / 0.6682 GB, free: 4.207 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5334/1.046, allocations: 71.13 MB / 0.7377 GB, free: 115.4 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01684/1.063, allocations: 6.392 MB / 0.7439 GB, free: 114.7 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002419/1.065, allocations: 2.356 MB / 0.7462 GB, free: 114.1 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01376/1.079, allocations: 10.82 MB / 0.7568 GB, free: 108.2 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/1.079, allocations: 63.89 kB / 0.7568 GB, free: 108.1 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=212): time 4.458e-06/1.079, allocations: 2.031 kB / 0.7568 GB, free: 108.1 MB / 0.5607 GB Notification: Performance of matching and sorting (n=236): time 0.03981/1.119, allocations: 16.45 MB / 0.7729 GB, free: 97.42 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/1.119, allocations: 157 kB / 0.773 GB, free: 97.24 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006392/1.126, allocations: 6.624 MB / 0.7795 GB, free: 90.63 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0002477/1.126, allocations: 60.98 kB / 0.7796 GB, free: 90.57 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002049/1.128, allocations: 5.659 MB / 0.7851 GB, free: 84.91 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005262/1.128, allocations: 0.9233 MB / 0.786 GB, free: 83.99 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001374/1.13, allocations: 1.82 MB / 0.7878 GB, free: 82.16 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.131e-05/1.13, allocations: 305.1 kB / 0.7881 GB, free: 81.86 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002757/1.133, allocations: 2.534 MB / 0.7905 GB, free: 79.32 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004328/1.137, allocations: 8.24 MB / 0.7986 GB, free: 68.39 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008477/1.145, allocations: 11.73 MB / 0.81 GB, free: 54.03 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.026e-05/1.146, allocations: 56 kB / 0.8101 GB, free: 53.98 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1193) (initialization): time 0.01254/1.158, allocations: 10.43 MB / 0.8203 GB, free: 43.55 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.181e-05/1.158, allocations: 95.94 kB / 0.8204 GB, free: 43.46 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001184/1.158, allocations: 200 kB / 0.8206 GB, free: 43.26 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001612/1.159, allocations: 268 kB / 0.8208 GB, free: 43 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005023/1.164, allocations: 2.075 MB / 0.8228 GB, free: 40.92 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000191/1.164, allocations: 402.5 kB / 0.8232 GB, free: 40.53 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00486/1.169, allocations: 423.6 kB / 0.8236 GB, free: 40.11 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004538/1.169, allocations: 0.5619 MB / 0.8242 GB, free: 39.55 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 923 * Number of states: 0 () * Number of discrete variables: 88 (cutForce2b.torqueArrow.twoHeadedArrow,cutForce2b.torqueArrow.headAtOrigin,cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce2a.torqueArrow.twoHeadedArrow,cutForce2a.torqueArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1b.torqueArrow.twoHeadedArrow,cutForce1b.torqueArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce1a.torqueArrow.twoHeadedArrow,cutForce1a.torqueArrow.headAtOrigin,cutForce1a.forceArrow.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],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): 1118 * Array equations: 11 * 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.0038/1.173, allocations: 3.734 MB / 0.8278 GB, free: 35.8 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006018/1.173, allocations: 0.559 MB / 0.8284 GB, free: 35.23 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009756/1.174, allocations: 0.6862 MB / 0.829 GB, free: 34.54 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/1.174, allocations: 11.97 kB / 0.8291 GB, free: 34.52 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/1.175, allocations: 0 / 0.8291 GB, free: 34.52 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006305/1.175, allocations: 0.5717 MB / 0.8296 GB, free: 33.93 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004678/1.176, allocations: 40 kB / 0.8296 GB, free: 33.89 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/1.177, allocations: 107.9 kB / 0.8298 GB, free: 33.78 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/1.177, allocations: 113.8 kB / 0.8299 GB, free: 33.67 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00337/1.181, allocations: 2.853 MB / 0.8326 GB, free: 30.84 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002701/1.183, allocations: 3.255 MB / 0.8358 GB, free: 27.57 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001045/1.184, allocations: 1.137 MB / 0.8369 GB, free: 26.43 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004613/1.189, allocations: 4.127 MB / 0.841 GB, free: 22.32 MB / 0.5607 GB Notification: Performance of Backend: time 3.61e-07/1.189, allocations: 0 / 0.841 GB, free: 22.32 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.007393/1.196, allocations: 5.092 MB / 0.8459 GB, free: 17.29 MB / 0.5607 GB Notification: Performance of SimCode: time 0.01938/1.216, allocations: 15.98 MB / 0.8615 GB, free: 1.281 MB / 0.5607 GB Notification: Performance of Templates: time 0.1123/1.328, allocations: 57.89 MB / 0.9181 GB, free: 7.664 MB / 0.6232 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque1/CutForceAndTorque1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches