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.001595/0.001595, allocations: 103.1 kB / 16.93 MB, free: 5.684 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.001597/0.001598, allocations: 186.4 kB / 17.86 MB, free: 5.164 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.429/1.429, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.2583/0.2583, allocations: 43.51 MB / 314.6 MB, free: 0.5547 MB / 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.00152/0.00152, allocations: 76.89 kB / 383.4 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09989/0.1014, allocations: 57.79 MB / 441.2 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.0114/0.1129, allocations: 12.6 MB / 453.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007526/0.1205, allocations: 3.353 MB / 457.1 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002427/0.1229, allocations: 67.88 kB / 457.2 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004811/0.1278, allocations: 2.648 MB / 459.9 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003481/0.1313, allocations: 1.358 MB / 461.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009486/0.1323, allocations: 355.3 kB / 461.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003732/0.136, allocations: 2.866 MB / 464.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003431/0.1395, allocations: 3.176 MB / 467.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001758/0.1413, allocations: 1.199 MB / 468.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002124/0.1434, allocations: 1.628 MB / 470.4 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005769/0.144, allocations: 300 kB / 470.7 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.1454, allocations: 0.7802 MB / 471.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001283/0.1467, allocations: 1.551 MB / 473 MB, free: 6.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001852/0.1486, allocations: 1.833 MB / 474.9 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00603/0.1546, allocations: 5.783 MB / 480.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.1547, allocations: 3.984 kB / 480.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1547, allocations: 0 / 480.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001634/0.1548, allocations: 0 / 480.7 MB, free: 15.28 MB / 366.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.007285/0.1621, allocations: 3.756 MB / 484.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.1622, allocations: 11.89 kB / 484.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005863/0.1681, allocations: 1.712 MB / 486.1 MB, free: 9.727 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003444/0.1715, allocations: 1.64 MB / 487.8 MB, free: 8.039 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001778/0.1718, allocations: 213.1 kB / 488 MB, free: 7.828 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007273/0.1725, allocations: 255.9 kB / 488.2 MB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01314/0.1857, allocations: 8.37 MB / 496.6 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.07e-05/0.1858, allocations: 15.88 kB / 496.6 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003275/0.1861, allocations: 123.9 kB / 496.8 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002629/0.1887, allocations: 1.764 MB / 498.5 MB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01382/0.2026, allocations: 7.039 MB / 0.4937 GB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03778/0.2404, allocations: 25.91 MB / 0.519 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005591/0.246, allocations: 2.549 MB / 0.5215 GB, free: 8.688 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001508/0.2476, allocations: 0.9695 MB / 0.5224 GB, free: 7.711 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007748/0.2554, allocations: 4.455 MB / 0.5268 GB, free: 3.105 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.2554, allocations: 43.55 kB / 0.5268 GB, free: 3.051 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 4.508e-06/0.2555, allocations: 0 / 0.5268 GB, free: 3.051 MB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.007197/0.2627, allocations: 2.719 MB / 0.5295 GB, free: 332 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.2627, allocations: 68.34 kB / 0.5296 GB, free: 252 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2277/0.4905, allocations: 2.259 MB / 0.5318 GB, free: 89.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002039/0.4907, allocations: 41.08 kB / 0.5318 GB, free: 89.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001399/0.4921, allocations: 2.314 MB / 0.5341 GB, free: 88.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005575/0.4927, allocations: 461.5 kB / 0.5345 GB, free: 87.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009909/0.4937, allocations: 0.7491 MB / 0.5352 GB, free: 87.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.693e-05/0.4938, allocations: 306.3 kB / 0.5355 GB, free: 87.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00182/0.4956, allocations: 1.125 MB / 0.5366 GB, free: 87.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002456/0.4981, allocations: 3.283 MB / 0.5398 GB, free: 84.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00474/0.5028, allocations: 4.82 MB / 0.5445 GB, free: 80.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-05/0.5029, allocations: 22.22 kB / 0.5446 GB, free: 80.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.007755/0.5107, allocations: 4.325 MB / 0.5488 GB, free: 78.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.373e-05/0.5108, allocations: 38.12 kB / 0.5488 GB, free: 78.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001124/0.5109, allocations: 75.91 kB / 0.5489 GB, free: 78.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001746/0.5111, allocations: 101.1 kB / 0.549 GB, free: 78.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002286/0.5134, allocations: 0.8136 MB / 0.5498 GB, free: 78.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001212/0.5135, allocations: 152.2 kB / 0.5499 GB, free: 78.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002383/0.5159, allocations: 0.4896 MB / 0.5504 GB, free: 78.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003414/0.5163, allocations: 226.2 kB / 0.5506 GB, free: 78.04 MB / 414.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.002313/0.5186, allocations: 1.705 MB / 0.5523 GB, free: 77.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002821/0.5189, allocations: 192.9 kB / 0.5525 GB, free: 77.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/0.521, allocations: 1.518 MB / 0.554 GB, free: 76.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/0.521, allocations: 25.72 kB / 0.554 GB, free: 76.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.521, allocations: 0 / 0.554 GB, free: 76.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.521, allocations: 7.734 kB / 0.554 GB, free: 76.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00959/0.5306, allocations: 7.365 MB / 0.5612 GB, free: 72.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/0.5307, allocations: 16 kB / 0.5612 GB, free: 72.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007167/0.5314, allocations: 200.3 kB / 0.5614 GB, free: 71.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.735e-05/0.5315, allocations: 20 kB / 0.5614 GB, free: 71.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.878e-05/0.5315, allocations: 35.8 kB / 0.5614 GB, free: 71.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.878e-05/0.5316, allocations: 27.72 kB / 0.5615 GB, free: 71.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.169e-05/0.5316, allocations: 21.94 kB / 0.5615 GB, free: 71.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/0.5336, allocations: 2.005 MB / 0.5634 GB, free: 69.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005143/0.5341, allocations: 325.9 kB / 0.5638 GB, free: 69.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/0.5344, allocations: 35.05 kB / 0.5638 GB, free: 69.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007476/0.5351, allocations: 55.86 kB / 0.5638 GB, free: 69.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.5353, allocations: 118.2 kB / 0.564 GB, free: 69.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.5e-05/0.5354, allocations: 44 kB / 0.564 GB, free: 69.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001816/0.5372, allocations: 1.578 MB / 0.5655 GB, free: 67.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5372, allocations: 0 / 0.5655 GB, free: 67.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003202/0.5404, allocations: 0.9246 MB / 0.5664 GB, free: 66.59 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 95 * Array equations: 3 * 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 Backend phase and start with SimCode phase: time 0.0003518/0.5408, allocations: 173.4 kB / 0.5666 GB, free: 66.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003868/0.5447, allocations: 2.898 MB / 0.5694 GB, free: 63.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/0.5447, allocations: 0 / 0.5694 GB, free: 63.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008277/0.5455, allocations: 0.6959 MB / 0.5701 GB, free: 62.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/0.5474, allocations: 329.6 kB / 0.5704 GB, free: 62.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/0.5592, allocations: 7.439 MB / 0.5777 GB, free: 54.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002249/0.5615, allocations: 2.832 MB / 0.5805 GB, free: 52.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000615/0.5622, allocations: 195.4 kB / 0.5806 GB, free: 51.86 MB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.5622, allocations: 0 / 0.5806 GB, free: 51.86 MB / 414.1 MB Notification: Performance of Templates: time 0.04935/0.6115, allocations: 39.52 MB / 0.6192 GB, free: 12.38 MB / 414.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