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.001107/0.001107, allocations: 110.5 kB / 17.09 MB, free: 5.988 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.001158/0.001158, allocations: 196.3 kB / 18.02 MB, free: 5.066 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.327/1.327, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.2031/0.2031, allocations: 43.52 MB / 314.8 MB, free: 452 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.0015/0.0015, allocations: 77.45 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1047, 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.01305/0.1178, allocations: 12.6 MB / 0.5008 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007261/0.1251, allocations: 3.369 MB / 0.5041 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/0.1271, allocations: 63.94 kB / 0.5042 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005125/0.1323, allocations: 2.644 MB / 0.5068 GB, free: 9.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003838/0.1361, allocations: 1.389 MB / 0.5081 GB, free: 7.652 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.1372, allocations: 347.4 kB / 0.5085 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003804/0.141, allocations: 2.882 MB / 0.5113 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003776/0.1448, allocations: 3.16 MB / 0.5144 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001776/0.1466, allocations: 1.203 MB / 0.5155 GB, free: 4 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002222/0.1488, allocations: 1.624 MB / 0.5171 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007379/0.1496, allocations: 296 kB / 0.5174 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001663/0.1513, allocations: 0.7802 MB / 0.5182 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001699/0.153, allocations: 1.57 MB / 0.5197 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002478/0.1555, allocations: 1.829 MB / 0.5215 GB, free: 9.891 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006132/0.1616, allocations: 6.003 MB / 0.5274 GB, free: 3.867 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1616, allocations: 4 kB / 0.5274 GB, free: 3.863 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1616, allocations: 0 / 0.5274 GB, free: 3.863 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002185/0.1619, allocations: 0 / 0.5274 GB, free: 3.863 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.007617/0.1695, allocations: 3.74 MB / 0.531 GB, free: 60 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.1696, allocations: 19.83 kB / 0.531 GB, free: 40 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2239/0.3934, allocations: 1.704 MB / 0.5327 GB, free: 38.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003411/0.3969, allocations: 1.657 MB / 0.5343 GB, free: 37.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.397, allocations: 205.1 kB / 0.5345 GB, free: 37.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004597/0.3975, allocations: 263.7 kB / 0.5348 GB, free: 37.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01269/0.4102, allocations: 8.368 MB / 0.5429 GB, free: 35.1 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.825e-05/0.4103, allocations: 18.69 kB / 0.5429 GB, free: 35.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003076/0.4106, allocations: 125.3 kB / 0.5431 GB, free: 35.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002974/0.4136, allocations: 1.756 MB / 0.5448 GB, free: 34.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01496/0.4286, allocations: 7.04 MB / 0.5517 GB, free: 32.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02889/0.4575, allocations: 25.71 MB / 0.5768 GB, free: 8.625 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004576/0.4621, allocations: 2.549 MB / 0.5793 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/0.4632, allocations: 0.9695 MB / 0.5802 GB, free: 4.973 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006345/0.4696, allocations: 4.45 MB / 0.5845 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.4696, allocations: 47.5 kB / 0.5846 GB, free: 332 kB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 2.785e-06/0.4696, allocations: 4 kB / 0.5846 GB, free: 328 kB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.007171/0.4768, allocations: 2.723 MB / 0.5873 GB, free: 13.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.4769, allocations: 60.41 kB / 0.5873 GB, free: 13.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003309/0.4802, allocations: 2.257 MB / 0.5895 GB, free: 11.22 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.134e-05/0.4803, allocations: 37.7 kB / 0.5896 GB, free: 11.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001612/0.4819, allocations: 2.321 MB / 0.5918 GB, free: 8.824 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004939/0.4824, allocations: 466 kB / 0.5923 GB, free: 8.363 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001015/0.4834, allocations: 0.746 MB / 0.593 GB, free: 7.609 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.4836, allocations: 301.1 kB / 0.5933 GB, free: 7.312 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/0.4854, allocations: 1.124 MB / 0.5944 GB, free: 6.188 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003221/0.4886, allocations: 3.287 MB / 0.5976 GB, free: 1.836 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005515/0.4942, allocations: 4.821 MB / 0.6023 GB, free: 11.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.09e-05/0.4942, allocations: 20 kB / 0.6023 GB, free: 11.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.007415/0.5017, allocations: 4.324 MB / 0.6065 GB, free: 7.598 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.262e-05/0.5018, allocations: 40 kB / 0.6066 GB, free: 7.559 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001073/0.5019, allocations: 79.98 kB / 0.6067 GB, free: 7.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001085/0.502, allocations: 100 kB / 0.6067 GB, free: 7.383 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002496/0.5045, allocations: 0.8149 MB / 0.6075 GB, free: 6.566 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001219/0.5046, allocations: 151.4 kB / 0.6077 GB, free: 6.418 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002351/0.507, allocations: 0.4908 MB / 0.6082 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003045/0.5073, allocations: 225 kB / 0.6084 GB, free: 5.703 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.002573/0.5099, allocations: 1.714 MB / 0.6101 GB, free: 3.977 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000346/0.5103, allocations: 197.4 kB / 0.6102 GB, free: 3.781 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002578/0.5128, allocations: 1.518 MB / 0.6117 GB, free: 2.254 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.5129, allocations: 3.984 kB / 0.6117 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.5129, allocations: 0 / 0.6117 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005155/0.5134, allocations: 262.3 kB / 0.612 GB, free: 1.973 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002919/0.5137, allocations: 16 kB / 0.612 GB, free: 1.957 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007055/0.5144, allocations: 39.91 kB / 0.612 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.5146, allocations: 56.92 kB / 0.6121 GB, free: 1.863 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002391/0.517, allocations: 1.415 MB / 0.6135 GB, free: 452 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002198/0.5192, allocations: 1.592 MB / 0.615 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008261/0.52, allocations: 0.6207 MB / 0.6156 GB, free: 14.21 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002175/0.5222, allocations: 1.394 MB / 0.617 GB, free: 12.79 MB / 462.1 MB Notification: Performance of Backend: time 3.61e-07/0.5222, allocations: 0 / 0.617 GB, free: 12.79 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004309/0.5265, allocations: 2.212 MB / 0.6191 GB, free: 10.61 MB / 462.1 MB Notification: Performance of SimCode: time 0.01172/0.5383, allocations: 6.811 MB / 0.6258 GB, free: 3.754 MB / 462.1 MB Notification: Performance of Templates: time 0.05214/0.5905, allocations: 25.62 MB / 0.6508 GB, free: 10.15 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