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.001276/0.001276, allocations: 108.3 kB / 16.41 MB, free: 6.473 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.001519/0.001519, allocations: 188.1 kB / 17.34 MB, free: 5.754 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.586/1.586, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2249/0.2249, allocations: 43.53 MB / 314.1 MB, free: 460 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.001318/0.001318, allocations: 71.84 kB / 441.8 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1191, allocations: 57.79 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01336/0.1325, allocations: 12.6 MB / 0.5002 GB, free: 15.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008301/0.1409, allocations: 3.369 MB / 0.5035 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00278/0.1437, allocations: 67.88 kB / 0.5035 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004955/0.1488, allocations: 2.636 MB / 0.5061 GB, free: 9.062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003607/0.1524, allocations: 1.393 MB / 0.5075 GB, free: 7.664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009549/0.1534, allocations: 347.3 kB / 0.5078 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004011/0.1574, allocations: 2.89 MB / 0.5106 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003821/0.1612, allocations: 3.156 MB / 0.5137 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002263/0.1635, allocations: 1.203 MB / 0.5149 GB, free: 16 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003055/0.1666, allocations: 1.624 MB / 0.5165 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008285/0.1674, allocations: 299.9 kB / 0.5167 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001842/0.1693, allocations: 0.7763 MB / 0.5175 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001599/0.1709, allocations: 1.57 MB / 0.519 GB, free: 11.74 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002368/0.1733, allocations: 1.833 MB / 0.5208 GB, free: 9.898 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007992/0.1813, allocations: 5.999 MB / 0.5267 GB, free: 3.879 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.1813, allocations: 4 kB / 0.5267 GB, free: 3.875 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1814, allocations: 0 / 0.5267 GB, free: 3.875 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002102/0.1816, allocations: 4 kB / 0.5267 GB, free: 3.871 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.008816/0.1904, allocations: 3.74 MB / 0.5303 GB, free: 68 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.1905, allocations: 15.89 kB / 0.5304 GB, free: 52 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3097/0.5002, allocations: 1.707 MB / 0.532 GB, free: 38.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004161/0.5044, allocations: 1.657 MB / 0.5337 GB, free: 37.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000204/0.5046, allocations: 205.8 kB / 0.5338 GB, free: 37.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007431/0.5054, allocations: 262.7 kB / 0.5341 GB, free: 37.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01573/0.5211, allocations: 8.368 MB / 0.5423 GB, free: 35.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.479e-05/0.5212, allocations: 21.25 kB / 0.5423 GB, free: 35.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003157/0.5215, allocations: 121.1 kB / 0.5424 GB, free: 35.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003206/0.5248, allocations: 1.758 MB / 0.5441 GB, free: 34.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01649/0.5413, allocations: 7.044 MB / 0.551 GB, free: 32.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03798/0.5793, allocations: 25.71 MB / 0.5761 GB, free: 8.609 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005049/0.5844, allocations: 2.549 MB / 0.5786 GB, free: 5.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.5858, allocations: 0.9734 MB / 0.5795 GB, free: 4.953 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007348/0.5932, allocations: 4.45 MB / 0.5839 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.5933, allocations: 43.55 kB / 0.5839 GB, free: 316 kB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 5.67e-06/0.5933, allocations: 0 / 0.5839 GB, free: 316 kB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.007334/0.6007, allocations: 2.727 MB / 0.5866 GB, free: 13.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.6007, allocations: 64.41 kB / 0.5867 GB, free: 13.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004637/0.6054, allocations: 2.257 MB / 0.5889 GB, free: 11.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000128/0.6055, allocations: 41.7 kB / 0.5889 GB, free: 11.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001918/0.6075, allocations: 2.31 MB / 0.5912 GB, free: 8.812 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005412/0.608, allocations: 466 kB / 0.5916 GB, free: 8.352 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001184/0.6092, allocations: 0.746 MB / 0.5923 GB, free: 7.598 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.6093, allocations: 305.1 kB / 0.5926 GB, free: 7.297 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001927/0.6113, allocations: 1.12 MB / 0.5937 GB, free: 6.176 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003449/0.6147, allocations: 3.284 MB / 0.5969 GB, free: 1.828 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006014/0.6208, allocations: 4.821 MB / 0.6016 GB, free: 11.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.252e-05/0.6209, allocations: 24 kB / 0.6016 GB, free: 11.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.007744/0.6286, allocations: 4.332 MB / 0.6059 GB, free: 7.578 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.787e-05/0.6287, allocations: 36 kB / 0.6059 GB, free: 7.543 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001285/0.6289, allocations: 76 kB / 0.606 GB, free: 7.469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001243/0.629, allocations: 104 kB / 0.6061 GB, free: 7.367 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002541/0.6316, allocations: 0.8185 MB / 0.6069 GB, free: 6.551 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001683/0.6317, allocations: 147.4 kB / 0.607 GB, free: 6.406 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002779/0.6345, allocations: 0.4908 MB / 0.6075 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000367/0.6349, allocations: 220 kB / 0.6077 GB, free: 5.695 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.002722/0.6376, allocations: 1.722 MB / 0.6094 GB, free: 3.961 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005598/0.6382, allocations: 193.5 kB / 0.6096 GB, free: 3.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002981/0.6412, allocations: 1.518 MB / 0.6111 GB, free: 2.242 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.619e-05/0.6412, allocations: 12 kB / 0.6111 GB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.6413, allocations: 4 kB / 0.6111 GB, free: 2.227 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.6413, allocations: 3.984 kB / 0.6111 GB, free: 2.223 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01602/0.6573, allocations: 7.374 MB / 0.6183 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.367e-05/0.6574, allocations: 16 kB / 0.6183 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008846/0.6583, allocations: 191.6 kB / 0.6185 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.165e-05/0.6583, allocations: 20 kB / 0.6185 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/0.6585, allocations: 39.98 kB / 0.6185 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.016e-05/0.6585, allocations: 27.86 kB / 0.6186 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.811e-05/0.6586, allocations: 19.94 kB / 0.6186 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003391/0.662, allocations: 2.009 MB / 0.6205 GB, free: 8.051 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008668/0.6628, allocations: 318 kB / 0.6208 GB, free: 7.719 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006494/0.6635, allocations: 35.98 kB / 0.6209 GB, free: 7.684 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/0.6648, allocations: 55.78 kB / 0.6209 GB, free: 7.633 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/0.665, allocations: 111.5 kB / 0.621 GB, free: 7.523 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.6651, allocations: 59.92 kB / 0.6211 GB, free: 7.465 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003676/0.6688, allocations: 1.57 MB / 0.6226 GB, free: 5.879 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6688, allocations: 0 / 0.6226 GB, free: 5.879 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005717/0.6745, allocations: 0.9278 MB / 0.6235 GB, free: 4.949 MB / 462.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.0005678/0.6751, allocations: 169.4 kB / 0.6237 GB, free: 4.773 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00518/0.6803, allocations: 2.656 MB / 0.6263 GB, free: 2.141 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.546e-05/0.6803, allocations: 7.938 kB / 0.6263 GB, free: 2.133 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.6815, allocations: 0.6976 MB / 0.627 GB, free: 1.434 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/0.684, allocations: 332.1 kB / 0.6273 GB, free: 1.121 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/0.698, allocations: 6.922 MB / 0.6341 GB, free: 9.984 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00465/0.7027, allocations: 2.832 MB / 0.6368 GB, free: 7.125 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003242/0.7059, allocations: 1.17 MB / 0.638 GB, free: 5.953 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005873/0.7065, allocations: 163.4 kB / 0.6381 GB, free: 5.793 MB / 478.1 MB Notification: Performance of SimCode: time 1.684e-06/0.7066, allocations: 0 / 0.6381 GB, free: 5.793 MB / 478.1 MB Notification: Performance of Templates: time 0.04464/0.7512, allocations: 19.03 MB / 0.6567 GB, free: 2.773 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/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