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.001093/0.001093, allocations: 96.98 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 176.7 kB / 16.57 MB, free: 6.387 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.363/1.363, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3771/0.3771, allocations: 43.55 MB / 314.5 MB, free: 9.082 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.0004817/0.0004818, allocations: 16 kB / 383.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1257, allocations: 58.86 MB / 442.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.2764/0.4021, allocations: 46.77 MB / 489.5 MB, free: 21.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02444/0.4266, allocations: 10.39 MB / 499.9 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0186/0.4453, allocations: 219.8 kB / 0.4884 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009281/0.4546, allocations: 2.365 MB / 0.4907 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02388/0.4785, allocations: 6.664 MB / 0.4972 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002908/0.4815, allocations: 287.2 kB / 0.4975 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004195/0.4857, allocations: 1.577 MB / 0.499 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007374/0.4931, allocations: 3.885 MB / 0.5028 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002204/0.4953, allocations: 0.7105 MB / 0.5035 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002438/0.4978, allocations: 0.9501 MB / 0.5044 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001066/0.4989, allocations: 123.6 kB / 0.5046 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002149/0.501, allocations: 0.5338 MB / 0.5051 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003094/0.5042, allocations: 1.222 MB / 0.5063 GB, free: 7.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002488/0.5067, allocations: 0.6826 MB / 0.5069 GB, free: 6.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007522/0.5142, allocations: 4.645 MB / 0.5115 GB, free: 5.059 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5142, allocations: 1.219 kB / 0.5115 GB, free: 5.059 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.5143, allocations: 0 / 0.5115 GB, free: 5.059 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002885/0.5146, allocations: 0 / 0.5115 GB, free: 5.059 MB / 382.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.009902/0.5245, allocations: 3.133 MB / 0.5145 GB, free: 2.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.5245, allocations: 13.56 kB / 0.5145 GB, free: 2.797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008096/0.5326, allocations: 2.048 MB / 0.5165 GB, free: 1.762 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005255/0.5379, allocations: 1.619 MB / 0.5181 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002084/0.5381, allocations: 203.2 kB / 0.5183 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001591/0.5397, allocations: 265.8 kB / 0.5186 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01898/0.5587, allocations: 8.4 MB / 0.5268 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.347e-05/0.5589, allocations: 19.81 kB / 0.5268 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003497/0.5592, allocations: 123.9 kB / 0.5269 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002704/0.5619, allocations: 1.76 MB / 0.5286 GB, free: 7.738 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01596/0.5779, allocations: 7.061 MB / 0.5355 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0416/0.6196, allocations: 25.95 MB / 0.5609 GB, free: 6.066 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005258/0.6249, allocations: 2.548 MB / 0.5634 GB, free: 3.391 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00816/0.6331, allocations: 4.475 MB / 0.5677 GB, free: 14.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.6331, allocations: 43.56 kB / 0.5678 GB, free: 14.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=120): time 5.13e-06/0.6332, allocations: 4 kB / 0.5678 GB, free: 14.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=120): time 0.007014/0.6402, allocations: 2.987 MB / 0.5707 GB, free: 11.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.6402, allocations: 64.41 kB / 0.5708 GB, free: 11.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003322/0.6436, allocations: 2.245 MB / 0.5729 GB, free: 9.312 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.113e-05/0.6437, allocations: 41.7 kB / 0.573 GB, free: 9.266 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001434/0.6451, allocations: 2.31 MB / 0.5752 GB, free: 6.922 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003757/0.6455, allocations: 462 kB / 0.5757 GB, free: 6.465 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.6456, allocations: 72 kB / 0.5758 GB, free: 6.395 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002428/0.6459, allocations: 466 kB / 0.5762 GB, free: 5.934 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001601/0.6475, allocations: 1.116 MB / 0.5773 GB, free: 4.816 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002926/0.6504, allocations: 3.255 MB / 0.5805 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002628/0.653, allocations: 1.898 MB / 0.5823 GB, free: 14.6 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.321e-05/0.6531, allocations: 27.94 kB / 0.5823 GB, free: 14.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.006546/0.6596, allocations: 4.289 MB / 0.5865 GB, free: 10.27 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.655e-05/0.6597, allocations: 40.94 kB / 0.5866 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.28e-05/0.6598, allocations: 79.98 kB / 0.5867 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001039/0.6599, allocations: 112 kB / 0.5868 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002312/0.6623, allocations: 0.8187 MB / 0.5876 GB, free: 9.227 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001285/0.6624, allocations: 155.4 kB / 0.5877 GB, free: 9.074 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002489/0.6649, allocations: 498.7 kB / 0.5882 GB, free: 8.582 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002866/0.6652, allocations: 228 kB / 0.5884 GB, free: 8.359 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003428/0.6686, allocations: 1.706 MB / 0.5901 GB, free: 6.645 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003492/0.669, allocations: 197.5 kB / 0.5903 GB, free: 6.449 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002398/0.6714, allocations: 1.514 MB / 0.5917 GB, free: 4.926 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.403e-05/0.6714, allocations: 19.94 kB / 0.5917 GB, free: 4.906 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.6714, allocations: 3.953 kB / 0.5918 GB, free: 4.902 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.6715, allocations: 7.969 kB / 0.5918 GB, free: 4.895 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01175/0.6832, allocations: 7.358 MB / 0.5989 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.612e-05/0.6833, allocations: 12.94 kB / 0.599 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007374/0.684, allocations: 191.6 kB / 0.5991 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.137e-05/0.6841, allocations: 28 kB / 0.5992 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.847e-05/0.6842, allocations: 43.98 kB / 0.5992 GB, free: 12.99 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-05/0.6842, allocations: 19.94 kB / 0.5992 GB, free: 12.97 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.61e-05/0.6842, allocations: 31.86 kB / 0.5993 GB, free: 12.94 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003171/0.6874, allocations: 3.183 MB / 0.6024 GB, free: 9.133 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006861/0.6881, allocations: 333.9 kB / 0.6027 GB, free: 8.785 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002224/0.6883, allocations: 35.98 kB / 0.6027 GB, free: 8.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007481/0.6891, allocations: 51.88 kB / 0.6028 GB, free: 8.699 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.6892, allocations: 115.6 kB / 0.6029 GB, free: 8.586 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-05/0.6893, allocations: 51.98 kB / 0.6029 GB, free: 8.535 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002463/0.6918, allocations: 1.559 MB / 0.6045 GB, free: 6.961 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6918, allocations: 0 / 0.6045 GB, free: 6.961 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003528/0.6953, allocations: 0.9253 MB / 0.6054 GB, free: 6.031 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003749/0.6957, allocations: 170.8 kB / 0.6055 GB, free: 5.852 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00404/0.6998, allocations: 2.597 MB / 0.6081 GB, free: 3.273 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.6998, allocations: 4 kB / 0.6081 GB, free: 3.27 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009643/0.7008, allocations: 0.6912 MB / 0.6087 GB, free: 2.582 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.7021, allocations: 300.6 kB / 0.609 GB, free: 2.293 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01393/0.7161, allocations: 8.384 MB / 0.6172 GB, free: 9.699 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003182/0.7193, allocations: 2.903 MB / 0.62 GB, free: 6.77 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002886/0.7222, allocations: 1.171 MB / 0.6212 GB, free: 5.594 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000399/0.7226, allocations: 163.4 kB / 0.6213 GB, free: 5.434 MB / 494.1 MB Notification: Performance of SimCode: time 1.833e-06/0.7226, allocations: 4 kB / 0.6213 GB, free: 5.43 MB / 494.1 MB Notification: Performance of Templates: time 0.2483/0.971, allocations: 18.2 MB / 0.6391 GB, free: 140.6 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches