Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 113.6 kB / 17.09 MB, free: 5.93 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.0009926/0.0009926, allocations: 198.1 kB / 18.02 MB, free: 5.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.282/1.282, allocations: 205.1 MB / 223.9 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2038/0.2038, allocations: 43.53 MB / 314.8 MB, free: 444 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 77.59 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1096, allocations: 57.78 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01316/0.1228, allocations: 12.62 MB / 0.5009 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007573/0.1305, allocations: 3.361 MB / 0.5041 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002694/0.1332, allocations: 59.94 kB / 0.5042 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005223/0.1385, allocations: 2.644 MB / 0.5068 GB, free: 9.039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003672/0.1422, allocations: 1.358 MB / 0.5081 GB, free: 7.676 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.1433, allocations: 355.4 kB / 0.5084 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004066/0.1474, allocations: 2.87 MB / 0.5112 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00396/0.1513, allocations: 3.164 MB / 0.5143 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001759/0.1531, allocations: 1.199 MB / 0.5155 GB, free: 32 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002393/0.1555, allocations: 1.632 MB / 0.5171 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008639/0.1564, allocations: 296 kB / 0.5174 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001913/0.1583, allocations: 0.7763 MB / 0.5181 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001841/0.1602, allocations: 1.563 MB / 0.5197 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002087/0.1623, allocations: 1.833 MB / 0.5215 GB, free: 9.918 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005402/0.1677, allocations: 6.003 MB / 0.5273 GB, free: 3.895 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1677, allocations: 0 / 0.5273 GB, free: 3.895 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1677, allocations: 0 / 0.5273 GB, free: 3.895 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001353/0.1679, allocations: 0 / 0.5273 GB, free: 3.895 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.006508/0.1744, allocations: 3.74 MB / 0.531 GB, free: 92 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.1745, allocations: 15.89 kB / 0.531 GB, free: 76 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2319/0.4064, allocations: 1.712 MB / 0.5327 GB, free: 38.31 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004709/0.4111, allocations: 1.659 MB / 0.5343 GB, free: 37.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001757/0.4113, allocations: 203.4 kB / 0.5345 GB, free: 37.78 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005614/0.4119, allocations: 262.5 kB / 0.5347 GB, free: 37.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01354/0.4254, allocations: 8.371 MB / 0.5429 GB, free: 35.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.609e-05/0.4255, allocations: 19.25 kB / 0.5429 GB, free: 35.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002931/0.4258, allocations: 120 kB / 0.543 GB, free: 35.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002891/0.4287, allocations: 1.761 MB / 0.5448 GB, free: 34.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01476/0.4435, allocations: 7.039 MB / 0.5516 GB, free: 32.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02626/0.4698, allocations: 25.71 MB / 0.5767 GB, free: 8.629 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004239/0.4741, allocations: 2.541 MB / 0.5792 GB, free: 5.957 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/0.4751, allocations: 0.9772 MB / 0.5802 GB, free: 4.977 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005447/0.4805, allocations: 4.447 MB / 0.5845 GB, free: 400 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.4806, allocations: 39.56 kB / 0.5846 GB, free: 348 kB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 3.877e-06/0.4806, allocations: 0 / 0.5846 GB, free: 348 kB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.006694/0.4873, allocations: 2.734 MB / 0.5872 GB, free: 13.6 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.4873, allocations: 60.41 kB / 0.5873 GB, free: 13.53 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002671/0.49, allocations: 2.257 MB / 0.5895 GB, free: 11.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.608e-05/0.4901, allocations: 41.7 kB / 0.5895 GB, free: 11.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001512/0.4916, allocations: 2.321 MB / 0.5918 GB, free: 8.828 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003352/0.492, allocations: 462 kB / 0.5922 GB, free: 8.371 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008134/0.4928, allocations: 0.746 MB / 0.593 GB, free: 7.617 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.697e-05/0.4929, allocations: 305.1 kB / 0.5933 GB, free: 7.316 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001564/0.4945, allocations: 1.12 MB / 0.5943 GB, free: 6.195 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002798/0.4973, allocations: 3.287 MB / 0.5976 GB, free: 1.844 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004825/0.5021, allocations: 4.817 MB / 0.6023 GB, free: 11.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.014e-05/0.5022, allocations: 20 kB / 0.6023 GB, free: 11.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.005848/0.508, allocations: 4.324 MB / 0.6065 GB, free: 7.609 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.666e-05/0.5081, allocations: 43.47 kB / 0.6065 GB, free: 7.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-05/0.5081, allocations: 76 kB / 0.6066 GB, free: 7.496 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.04e-05/0.5082, allocations: 100 kB / 0.6067 GB, free: 7.398 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002235/0.5105, allocations: 0.8188 MB / 0.6075 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001033/0.5106, allocations: 147.4 kB / 0.6077 GB, free: 6.434 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/0.5125, allocations: 0.4912 MB / 0.6081 GB, free: 5.938 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002773/0.5128, allocations: 228 kB / 0.6083 GB, free: 5.715 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 347 * Number of states: 0 () * Number of discrete variables: 30 (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 (450): * Single equations (assignments): 445 * 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.002538/0.5153, allocations: 1.714 MB / 0.61 GB, free: 3.988 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002834/0.5156, allocations: 197.4 kB / 0.6102 GB, free: 3.793 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002544/0.5182, allocations: 1.518 MB / 0.6117 GB, free: 2.266 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.5182, allocations: 7.984 kB / 0.6117 GB, free: 2.258 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.5182, allocations: 0 / 0.6117 GB, free: 2.258 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003818/0.5186, allocations: 262.3 kB / 0.612 GB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/0.5188, allocations: 16 kB / 0.612 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000525/0.5193, allocations: 43.95 kB / 0.612 GB, free: 1.922 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.5195, allocations: 48.92 kB / 0.6121 GB, free: 1.875 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002194/0.5217, allocations: 1.411 MB / 0.6134 GB, free: 468 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001898/0.5236, allocations: 1.604 MB / 0.615 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007714/0.5244, allocations: 0.609 MB / 0.6156 GB, free: 14.22 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001797/0.5262, allocations: 1.394 MB / 0.617 GB, free: 12.81 MB / 462.1 MB Notification: Performance of Backend: time 3.61e-07/0.5262, allocations: 0 / 0.617 GB, free: 12.81 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003606/0.5298, allocations: 2.216 MB / 0.6191 GB, free: 10.61 MB / 462.1 MB Notification: Performance of SimCode: time 0.009542/0.5394, allocations: 6.799 MB / 0.6258 GB, free: 3.77 MB / 462.1 MB Notification: Performance of Templates: time 0.04745/0.5868, allocations: 25.51 MB / 0.6507 GB, free: 10.27 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches