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.001784/0.001784, allocations: 112.6 kB / 17.08 MB, free: 5.984 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.001853/0.001853, allocations: 195 kB / 18.01 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.654/1.654, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2341/0.2341, allocations: 43.53 MB / 314.8 MB, free: 464 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.002017/0.002017, allocations: 71.89 kB / 442.5 MB, free: 5.699 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1336, allocations: 57.79 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01529/0.1489, allocations: 12.61 MB / 0.5008 GB, free: 15.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00915/0.1581, allocations: 3.361 MB / 0.5041 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002446/0.1606, allocations: 63.94 kB / 0.5042 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005465/0.1661, allocations: 2.671 MB / 0.5068 GB, free: 9.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004177/0.1703, allocations: 1.397 MB / 0.5082 GB, free: 7.648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.1714, allocations: 343.3 kB / 0.5085 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004643/0.176, allocations: 2.874 MB / 0.5113 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004945/0.181, allocations: 3.164 MB / 0.5144 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003108/0.1841, allocations: 1.203 MB / 0.5156 GB, free: 8 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002836/0.187, allocations: 1.628 MB / 0.5171 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006693/0.1877, allocations: 296 kB / 0.5174 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001691/0.1894, allocations: 0.7802 MB / 0.5182 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001594/0.191, allocations: 1.566 MB / 0.5197 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00183/0.1928, allocations: 1.833 MB / 0.5215 GB, free: 9.891 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007035/0.1999, allocations: 6.023 MB / 0.5274 GB, free: 3.844 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.1999, allocations: 8 kB / 0.5274 GB, free: 3.836 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1999, allocations: 0 / 0.5274 GB, free: 3.836 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001771/0.2001, allocations: 0 / 0.5274 GB, free: 3.836 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.3092/0.5093, allocations: 3.837 MB / 0.5311 GB, free: 37.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.926e-05/0.5094, allocations: 12.92 kB / 0.5312 GB, free: 37.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007287/0.5167, allocations: 1.736 MB / 0.5329 GB, free: 37.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004865/0.5216, allocations: 1.663 MB / 0.5345 GB, free: 37.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002627/0.5219, allocations: 209 kB / 0.5347 GB, free: 37.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00108/0.523, allocations: 261.5 kB / 0.5349 GB, free: 37.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02115/0.5441, allocations: 8.365 MB / 0.5431 GB, free: 34.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001986/0.5444, allocations: 22.62 kB / 0.5431 GB, free: 34.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001359/0.5458, allocations: 123.3 kB / 0.5432 GB, free: 34.51 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003866/0.5496, allocations: 1.762 MB / 0.545 GB, free: 34.19 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01892/0.5686, allocations: 7.032 MB / 0.5518 GB, free: 31.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0358/0.6045, allocations: 25.78 MB / 0.577 GB, free: 8.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005073/0.6096, allocations: 2.549 MB / 0.5795 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/0.6109, allocations: 0.9695 MB / 0.5804 GB, free: 4.367 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006765/0.6176, allocations: 4.469 MB / 0.5848 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.002e-05/0.6177, allocations: 43.56 kB / 0.5848 GB, free: 15.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=120): time 4.609e-06/0.6177, allocations: 0 / 0.5848 GB, free: 15.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=120): time 0.007576/0.6253, allocations: 2.732 MB / 0.5875 GB, free: 13.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.351e-05/0.6254, allocations: 64.41 kB / 0.5876 GB, free: 12.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003792/0.6292, allocations: 2.269 MB / 0.5898 GB, free: 10.63 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.577e-05/0.6293, allocations: 41.7 kB / 0.5898 GB, free: 10.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002002/0.6313, allocations: 2.406 MB / 0.5922 GB, free: 8.156 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005156/0.6319, allocations: 488.3 kB / 0.5926 GB, free: 7.676 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001074/0.6329, allocations: 0.7466 MB / 0.5934 GB, free: 6.922 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.6332, allocations: 305.1 kB / 0.5937 GB, free: 6.621 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002068/0.6352, allocations: 1.124 MB / 0.5948 GB, free: 5.496 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004537/0.6398, allocations: 3.287 MB / 0.598 GB, free: 1.145 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006762/0.6466, allocations: 4.817 MB / 0.6027 GB, free: 11.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-05/0.6466, allocations: 24 kB / 0.6027 GB, free: 11.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.007511/0.6542, allocations: 4.334 MB / 0.6069 GB, free: 6.898 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.798e-05/0.6542, allocations: 36 kB / 0.607 GB, free: 6.863 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.881e-05/0.6543, allocations: 80 kB / 0.607 GB, free: 6.785 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001088/0.6544, allocations: 100 kB / 0.6071 GB, free: 6.688 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002466/0.6569, allocations: 0.8188 MB / 0.6079 GB, free: 5.867 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000123/0.6571, allocations: 147.4 kB / 0.6081 GB, free: 5.723 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002451/0.6595, allocations: 0.5117 MB / 0.6086 GB, free: 5.211 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003273/0.6599, allocations: 220 kB / 0.6088 GB, free: 4.996 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.003096/0.663, allocations: 1.718 MB / 0.6105 GB, free: 3.266 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004226/0.6634, allocations: 202.6 kB / 0.6107 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002894/0.6663, allocations: 1.522 MB / 0.6121 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.482e-05/0.6663, allocations: 12 kB / 0.6122 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.6664, allocations: 0 / 0.6122 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/0.6664, allocations: 7.969 kB / 0.6122 GB, free: 1.516 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01372/0.6801, allocations: 7.379 MB / 0.6194 GB, free: 9.871 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.489e-05/0.6802, allocations: 16 kB / 0.6194 GB, free: 9.855 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008461/0.681, allocations: 195.6 kB / 0.6196 GB, free: 9.664 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.638e-05/0.6811, allocations: 20 kB / 0.6196 GB, free: 9.645 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/0.6812, allocations: 39.98 kB / 0.6196 GB, free: 9.605 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.52e-05/0.6812, allocations: 23.88 kB / 0.6197 GB, free: 9.582 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.129e-05/0.6813, allocations: 19.94 kB / 0.6197 GB, free: 9.562 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003288/0.6846, allocations: 2.018 MB / 0.6216 GB, free: 7.336 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007435/0.6853, allocations: 335.2 kB / 0.622 GB, free: 6.988 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002333/0.6856, allocations: 35.98 kB / 0.622 GB, free: 6.953 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008051/0.6864, allocations: 55.91 kB / 0.622 GB, free: 6.898 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/0.6866, allocations: 119.5 kB / 0.6222 GB, free: 6.781 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.6867, allocations: 47.98 kB / 0.6222 GB, free: 6.734 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00259/0.6893, allocations: 1.574 MB / 0.6237 GB, free: 5.145 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6893, allocations: 0 / 0.6237 GB, free: 5.145 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004002/0.6933, allocations: 0.9343 MB / 0.6247 GB, free: 4.207 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.0005066/0.6938, allocations: 170.7 kB / 0.6248 GB, free: 4.027 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004936/0.6988, allocations: 2.66 MB / 0.6274 GB, free: 1.383 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.751e-05/0.6988, allocations: 4 kB / 0.6274 GB, free: 1.379 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.7, allocations: 0.6972 MB / 0.6281 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/0.702, allocations: 330 kB / 0.6284 GB, free: 380 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01339/0.7154, allocations: 7.029 MB / 0.6353 GB, free: 9.117 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003907/0.7194, allocations: 2.828 MB / 0.638 GB, free: 6.262 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002987/0.7224, allocations: 1.171 MB / 0.6392 GB, free: 5.09 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004646/0.7229, allocations: 163.4 kB / 0.6393 GB, free: 4.93 MB / 478.1 MB Notification: Performance of SimCode: time 1.403e-06/0.7229, allocations: 0 / 0.6393 GB, free: 4.93 MB / 478.1 MB Notification: Performance of Templates: time 0.05003/0.7729, allocations: 19.15 MB / 0.658 GB, free: 1.789 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 -s cvode -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