Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.CutForceAndTorque2,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.CutForceAndTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,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.CutForceAndTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001009/0.001009, allocations: 117.8 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.001019/0.001019, allocations: 210.8 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.329/1.329, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2054/0.2054, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 67.89 kB / 482 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2898, allocations: 62.44 MB / 0.5317 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.01732/0.3072, allocations: 16.28 MB / 0.5476 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01144/0.3187, allocations: 5.385 MB / 0.5528 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003215/0.3219, allocations: 131.6 kB / 0.5529 GB, free: 11.83 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01243/0.3344, allocations: 7.446 MB / 0.5602 GB, free: 4.359 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007697/0.3421, allocations: 2.918 MB / 0.5631 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003645/0.3458, allocations: 1.712 MB / 0.5647 GB, free: 15.71 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0108/0.3566, allocations: 8.402 MB / 0.5729 GB, free: 7.297 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01161/0.3683, allocations: 8.906 MB / 0.5816 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00556/0.3738, allocations: 3.369 MB / 0.5849 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006608/0.3805, allocations: 4.362 MB / 0.5892 GB, free: 6.539 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002175/0.3827, allocations: 0.7031 MB / 0.5899 GB, free: 5.836 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003797/0.3865, allocations: 1.526 MB / 0.5914 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004545/0.391, allocations: 4.096 MB / 0.5954 GB, free: 208 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006763/0.3978, allocations: 4.463 MB / 0.5997 GB, free: 11.71 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0146/0.4124, allocations: 13.59 MB / 0.613 GB, free: 14.07 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.4125, allocations: 0 / 0.613 GB, free: 14.07 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4125, allocations: 0 / 0.613 GB, free: 14.07 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004862/0.413, allocations: 0 / 0.613 GB, free: 14.07 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.0211/0.4341, allocations: 9.567 MB / 0.6223 GB, free: 4.418 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.4341, allocations: 8.031 kB / 0.6223 GB, free: 4.41 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/0.4445, allocations: 2.594 MB / 0.6249 GB, free: 1.801 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01031/0.4549, allocations: 4.925 MB / 0.6297 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004731/0.4554, allocations: 0.5085 MB / 0.6302 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00226/0.4576, allocations: 0.6441 MB / 0.6308 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03723/0.4949, allocations: 19.59 MB / 0.6499 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000286/0.4952, allocations: 75.34 kB / 0.65 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001768/0.497, allocations: 311.8 kB / 0.6503 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004697/0.5017, allocations: 3.305 MB / 0.6535 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03231/0.534, allocations: 15 MB / 0.6682 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5388/1.073, allocations: 71.13 MB / 0.7377 GB, free: 115.2 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01705/1.09, allocations: 6.449 MB / 0.744 GB, free: 114.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002393/1.092, allocations: 2.365 MB / 0.7463 GB, free: 114 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01347/1.106, allocations: 10.81 MB / 0.7568 GB, free: 108.2 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/1.106, allocations: 60.91 kB / 0.7569 GB, free: 108.1 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=212): time 4.018e-06/1.106, allocations: 0 / 0.7569 GB, free: 108.1 MB / 0.5607 GB Notification: Performance of matching and sorting (n=236): time 0.03967/1.146, allocations: 16.45 MB / 0.773 GB, free: 97.41 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/1.146, allocations: 156.2 kB / 0.7731 GB, free: 97.23 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006192/1.152, allocations: 6.623 MB / 0.7796 GB, free: 90.62 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0002064/1.152, allocations: 65.53 kB / 0.7796 GB, free: 90.55 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002052/1.154, allocations: 5.643 MB / 0.7851 GB, free: 84.91 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005043/1.155, allocations: 0.932 MB / 0.7861 GB, free: 83.98 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001502/1.156, allocations: 1.815 MB / 0.7878 GB, free: 82.16 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.379e-05/1.156, allocations: 307.5 kB / 0.7881 GB, free: 81.86 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002829/1.159, allocations: 2.536 MB / 0.7906 GB, free: 79.32 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004364/1.163, allocations: 8.239 MB / 0.7986 GB, free: 68.39 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008404/1.172, allocations: 11.72 MB / 0.8101 GB, free: 54.04 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.25e-05/1.172, allocations: 60 kB / 0.8101 GB, free: 53.98 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1193) (initialization): time 0.01333/1.185, allocations: 10.42 MB / 0.8203 GB, free: 43.56 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.147e-05/1.185, allocations: 96.03 kB / 0.8204 GB, free: 43.47 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001226/1.186, allocations: 200 kB / 0.8206 GB, free: 43.27 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001588/1.186, allocations: 268 kB / 0.8209 GB, free: 43.01 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005035/1.191, allocations: 2.074 MB / 0.8229 GB, free: 40.93 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001875/1.191, allocations: 394.5 kB / 0.8233 GB, free: 40.55 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004822/1.196, allocations: 435.8 kB / 0.8237 GB, free: 40.12 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004726/1.196, allocations: 0.5583 MB / 0.8242 GB, free: 39.57 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,cutForce1b.torqueArrow.twoHeadedArrow,cutForce1b.torqueArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.torqueArrow.twoHeadedArrow,cutForce2a.torqueArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.torqueArrow.twoHeadedArrow,cutForce1a.torqueArrow.headAtOrigin,cutForce1a.forceArrow.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[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.003897/1.2, allocations: 3.741 MB / 0.8279 GB, free: 35.81 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006231/1.201, allocations: 0.5591 MB / 0.8284 GB, free: 35.24 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009849/1.202, allocations: 0.6784 MB / 0.8291 GB, free: 34.55 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/1.202, allocations: 11.97 kB / 0.8291 GB, free: 34.54 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/1.202, allocations: 0 / 0.8291 GB, free: 34.54 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006383/1.202, allocations: 0.5756 MB / 0.8297 GB, free: 33.94 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004718/1.203, allocations: 39.94 kB / 0.8297 GB, free: 33.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001477/1.204, allocations: 111.9 kB / 0.8298 GB, free: 33.79 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/1.205, allocations: 117.8 kB / 0.8299 GB, free: 33.68 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003438/1.208, allocations: 2.834 MB / 0.8327 GB, free: 30.86 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002698/1.211, allocations: 3.261 MB / 0.8359 GB, free: 27.58 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001011/1.212, allocations: 1.136 MB / 0.837 GB, free: 26.45 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004883/1.217, allocations: 4.119 MB / 0.841 GB, free: 22.34 MB / 0.5607 GB Notification: Performance of Backend: time 6.91e-07/1.217, allocations: 0 / 0.841 GB, free: 22.34 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.008306/1.225, allocations: 5.098 MB / 0.846 GB, free: 17.31 MB / 0.5607 GB Notification: Performance of SimCode: time 0.02424/1.249, allocations: 16 MB / 0.8616 GB, free: 1.27 MB / 0.5607 GB Notification: Performance of Templates: time 0.111/1.36, allocations: 57.85 MB / 0.9181 GB, free: 7.703 MB / 0.6232 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque2/CutForceAndTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches