Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 113.9 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 186.1 kB / 19.39 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2046/0.2046, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 55.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3598, allocations: 60.82 MB / 0.5196 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.01869/0.3786, allocations: 17.04 MB / 0.5362 GB, free: 7.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01544/0.394, allocations: 5.51 MB / 0.5416 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005251/0.3993, allocations: 136.4 kB / 0.5417 GB, free: 2.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01514/0.4145, allocations: 7.534 MB / 0.5491 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008917/0.4235, allocations: 3.216 MB / 0.5522 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003986/0.4275, allocations: 1.728 MB / 0.5539 GB, free: 8.816 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01109/0.4386, allocations: 8.524 MB / 0.5622 GB, free: 288 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01166/0.4503, allocations: 9.062 MB / 0.5711 GB, free: 7.121 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006329/0.4566, allocations: 3.49 MB / 0.5745 GB, free: 3.621 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007809/0.4645, allocations: 4.533 MB / 0.5789 GB, free: 15.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002733/0.4672, allocations: 0.7344 MB / 0.5796 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004999/0.4723, allocations: 1.572 MB / 0.5812 GB, free: 12.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006247/0.4785, allocations: 4.329 MB / 0.5854 GB, free: 8.414 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008685/0.4873, allocations: 4.742 MB / 0.59 GB, free: 3.645 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01991/0.5072, allocations: 14.52 MB / 0.6042 GB, free: 5.07 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.5073, allocations: 4 kB / 0.6042 GB, free: 5.066 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.5073, allocations: 4 kB / 0.6042 GB, free: 5.062 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005572/0.5078, allocations: 0 / 0.6042 GB, free: 5.062 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3105 * Number of variables: 3105 Notification: Performance of Generate backend data structure: time 0.0256/0.5334, allocations: 10.06 MB / 0.614 GB, free: 10.91 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.5335, allocations: 12.03 kB / 0.6141 GB, free: 10.89 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0122/0.5457, allocations: 2.804 MB / 0.6168 GB, free: 8.074 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01241/0.5582, allocations: 5.206 MB / 0.6219 GB, free: 2.789 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005259/0.5587, allocations: 0.5247 MB / 0.6224 GB, free: 2.262 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002343/0.5611, allocations: 0.6715 MB / 0.6231 GB, free: 1.59 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04594/0.607, allocations: 21.12 MB / 0.6437 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003402/0.6074, allocations: 79.23 kB / 0.6437 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002388/0.6098, allocations: 323.7 kB / 0.6441 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006434/0.6163, allocations: 3.787 MB / 0.6478 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03683/0.6531, allocations: 16.26 MB / 0.6636 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6393/1.293, allocations: 74.71 MB / 0.7366 GB, free: 118.1 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01877/1.311, allocations: 6.45 MB / 0.7429 GB, free: 117.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003024/1.314, allocations: 2.36 MB / 0.7452 GB, free: 117.1 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01648/1.331, allocations: 10.97 MB / 0.7559 GB, free: 111.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/1.331, allocations: 50.72 kB / 0.756 GB, free: 111.7 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=212): time 4.669e-06/1.331, allocations: 0 / 0.756 GB, free: 111.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=236): time 0.04233/1.373, allocations: 16.88 MB / 0.7724 GB, free: 102.6 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/1.373, allocations: 152.6 kB / 0.7726 GB, free: 102.4 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00758/1.381, allocations: 6.796 MB / 0.7792 GB, free: 97.7 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003084/1.381, allocations: 61.7 kB / 0.7793 GB, free: 97.63 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002364/1.384, allocations: 5.985 MB / 0.7851 GB, free: 91.64 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006355/1.384, allocations: 0.9318 MB / 0.786 GB, free: 90.72 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001611/1.386, allocations: 1.871 MB / 0.7879 GB, free: 88.84 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.995e-05/1.386, allocations: 301.1 kB / 0.7881 GB, free: 88.54 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003002/1.389, allocations: 2.574 MB / 0.7907 GB, free: 85.96 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005058/1.394, allocations: 8.423 MB / 0.7989 GB, free: 74.79 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00981/1.404, allocations: 11.96 MB / 0.8106 GB, free: 60.14 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001932/1.404, allocations: 64 kB / 0.8106 GB, free: 60.07 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1217) (initialization): time 0.01712/1.421, allocations: 10.63 MB / 0.821 GB, free: 49.45 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.783e-05/1.421, allocations: 96 kB / 0.8211 GB, free: 49.35 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001733/1.422, allocations: 208 kB / 0.8213 GB, free: 49.15 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001889/1.422, allocations: 275.9 kB / 0.8216 GB, free: 48.88 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006163/1.428, allocations: 2.121 MB / 0.8236 GB, free: 46.75 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002737/1.428, allocations: 403.2 kB / 0.824 GB, free: 46.36 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0076/1.436, allocations: 447.5 kB / 0.8244 GB, free: 45.92 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001217/1.437, allocations: 0.5659 MB / 0.825 GB, free: 45.35 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 947 * Number of states: 0 () * Number of discrete variables: 88 (cutForce2b.torqueArrow.arrowLine.twoHeadedArrow,cutForce2b.torqueArrow.headAtOrigin,cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.torqueArrow.arrowLine.twoHeadedArrow,cutForce1b.torqueArrow.headAtOrigin,cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.torqueArrow.arrowLine.twoHeadedArrow,cutForce2a.torqueArrow.headAtOrigin,cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.torqueArrow.arrowLine.twoHeadedArrow,cutForce1a.torqueArrow.headAtOrigin,cutForce1a.forceArrow.arrowLine.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 (1153): * Single equations (assignments): 1142 * 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.006254/1.443, allocations: 3.972 MB / 0.8289 GB, free: 41.36 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001007/1.444, allocations: 0.5707 MB / 0.8294 GB, free: 40.79 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/1.446, allocations: 0.6913 MB / 0.8301 GB, free: 40.08 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/1.446, allocations: 11.95 kB / 0.8301 GB, free: 40.07 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/1.446, allocations: 4 kB / 0.8301 GB, free: 40.07 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/1.447, allocations: 0.5832 MB / 0.8307 GB, free: 39.46 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005416/1.447, allocations: 36 kB / 0.8307 GB, free: 39.42 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001596/1.449, allocations: 111.9 kB / 0.8308 GB, free: 39.31 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/1.449, allocations: 117.8 kB / 0.8309 GB, free: 39.2 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003617/1.453, allocations: 2.845 MB / 0.8337 GB, free: 36.38 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003043/1.456, allocations: 3.263 MB / 0.8369 GB, free: 33.09 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001033/1.457, allocations: 1.14 MB / 0.838 GB, free: 31.95 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005573/1.462, allocations: 4.217 MB / 0.8421 GB, free: 27.76 MB / 0.5607 GB Notification: Performance of Backend: time 6.31e-07/1.462, allocations: 0 / 0.8421 GB, free: 27.76 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01007/1.473, allocations: 5.198 MB / 0.8472 GB, free: 22.63 MB / 0.5607 GB Notification: Performance of SimCode: time 0.02843/1.501, allocations: 16.95 MB / 0.8638 GB, free: 5.648 MB / 0.5607 GB Notification: Performance of Templates: time 0.1184/1.619, allocations: 57.86 MB / 0.9203 GB, free: 12.11 MB / 0.6232 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches