Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009645/0.0009645, allocations: 202.4 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.269/1.269, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007787/0.0007788, allocations: 91.67 kB / 286.7 MB, free: 5.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1832/0.1832, allocations: 45.14 MB / 383.8 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.707e-05/1.706e-05, allocations: 7.938 kB / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0926/0.09263, allocations: 63.24 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3692/0.4619, allocations: 105.5 MB / 0.6074 GB, free: 13.23 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/0.4622, allocations: 79.14 kB / 0.6075 GB, free: 13.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1417/0.604, allocations: 60.82 MB / 0.6669 GB, free: 8.777 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.604, allocations: 0 / 0.6669 GB, free: 8.777 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001296/0.6041, allocations: 64 kB / 0.6669 GB, free: 8.715 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.006617/0.6108, allocations: 2.873 MB / 0.6697 GB, free: 5.781 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.6108, allocations: 12.03 kB / 0.6698 GB, free: 5.77 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00728/0.6181, allocations: 1.879 MB / 0.6716 GB, free: 3.883 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003458/0.6216, allocations: 1.887 MB / 0.6734 GB, free: 1.949 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.495e-05/0.6217, allocations: 111.9 kB / 0.6735 GB, free: 1.84 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00045/0.6222, allocations: 192 kB / 0.6737 GB, free: 1.652 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006845/0.629, allocations: 4.803 MB / 0.6784 GB, free: 12.84 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008549/0.6376, allocations: 6.633 MB / 0.6849 GB, free: 5.84 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.24e-05/0.6376, allocations: 19.81 kB / 0.6849 GB, free: 5.82 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003138/0.638, allocations: 11.95 kB / 0.6849 GB, free: 5.809 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008201/0.6388, allocations: 0.7051 MB / 0.6856 GB, free: 5.102 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02765/0.6665, allocations: 24.33 MB / 0.7094 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.6681, allocations: 1.473 MB / 0.7108 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006275/0.6688, allocations: 0.5468 MB / 0.7113 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.154e-05/0.6689, allocations: 12.77 kB / 0.7114 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.6689, allocations: 43.34 kB / 0.7114 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=99): time 2.935e-06/0.6689, allocations: 0 / 0.7114 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of matching and sorting (n=99): time 0.003521/0.6724, allocations: 1.557 MB / 0.7129 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.6725, allocations: 60.19 kB / 0.713 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001986/0.6745, allocations: 1.646 MB / 0.7146 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/0.6745, allocations: 25.7 kB / 0.7146 GB, free: 6.531 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001155/0.6757, allocations: 2.147 MB / 0.7167 GB, free: 4.352 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000284/0.676, allocations: 367.2 kB / 0.7171 GB, free: 3.988 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-05/0.6761, allocations: 3.938 kB / 0.7171 GB, free: 3.984 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002694/0.6763, allocations: 0.498 MB / 0.7175 GB, free: 3.477 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.6775, allocations: 0.8929 MB / 0.7184 GB, free: 2.582 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002292/0.6798, allocations: 2.936 MB / 0.7213 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001933/0.6817, allocations: 1.648 MB / 0.7229 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.167e-05/0.6818, allocations: 24 kB / 0.7229 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=437) (initialization): time 0.004639/0.6864, allocations: 3.379 MB / 0.7262 GB, free: 9.547 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.108e-05/0.6865, allocations: 40.25 kB / 0.7263 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-05/0.6866, allocations: 79.92 kB / 0.7263 GB, free: 9.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.753e-05/0.6867, allocations: 108 kB / 0.7264 GB, free: 9.324 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001985/0.6886, allocations: 0.7447 MB / 0.7272 GB, free: 8.578 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.963e-05/0.6887, allocations: 143.4 kB / 0.7273 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.6904, allocations: 375.4 kB / 0.7277 GB, free: 8.066 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002336/0.6907, allocations: 208 kB / 0.7279 GB, free: 7.863 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 337 * Number of states: 0 () * Number of discrete variables: 34 (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.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (413): * Single equations (assignments): 410 * 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 prepare postOptimizeDAE: time 0.0003427/0.691, allocations: 300.3 kB / 0.7281 GB, free: 7.559 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.6912, allocations: 165.8 kB / 0.7283 GB, free: 7.395 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001737/0.6929, allocations: 1.243 MB / 0.7295 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-05/0.693, allocations: 12 kB / 0.7295 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.693, allocations: 4 kB / 0.7295 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.693, allocations: 3.984 kB / 0.7295 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00634/0.6994, allocations: 4.562 MB / 0.734 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.6994, allocations: 8 kB / 0.734 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005039/0.6999, allocations: 151.9 kB / 0.7341 GB, free: 1.219 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-05/0.6999, allocations: 12 kB / 0.7342 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.996e-05/0.7, allocations: 16 kB / 0.7342 GB, free: 1.191 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.581e-05/0.7, allocations: 19.92 kB / 0.7342 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/0.7, allocations: 11.94 kB / 0.7342 GB, free: 1.16 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001851/0.7019, allocations: 2.125 MB / 0.7363 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002561/0.7021, allocations: 246.7 kB / 0.7365 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.7023, allocations: 12 kB / 0.7365 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004938/0.7028, allocations: 27.92 kB / 0.7365 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.772e-05/0.7029, allocations: 75.75 kB / 0.7366 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-05/0.703, allocations: 39.98 kB / 0.7367 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001329/0.7043, allocations: 1.095 MB / 0.7377 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7043, allocations: 0 / 0.7377 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00288/0.7072, allocations: 0.7729 MB / 0.7385 GB, free: 12.41 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 71 * 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.0003327/0.7075, allocations: 154.8 kB / 0.7386 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002993/0.7106, allocations: 2.1 MB / 0.7407 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.7106, allocations: 4 kB / 0.7407 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006161/0.7112, allocations: 0.5502 MB / 0.7412 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000974/0.7122, allocations: 207.3 kB / 0.7414 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00888/0.7211, allocations: 4.965 MB / 0.7463 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002622/0.7237, allocations: 2.675 MB / 0.7489 GB, free: 1.582 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002607/0.7263, allocations: 1.136 MB / 0.75 GB, free: 448 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/0.7266, allocations: 127.4 kB / 0.7501 GB, free: 320 kB / 0.5261 GB Notification: Performance of SimCode: time 4.81e-07/0.7266, allocations: 4 kB / 0.7501 GB, free: 316 kB / 0.5261 GB Notification: Performance of Templates: time 0.2945/1.021, allocations: 12.71 MB / 0.7625 GB, free: 149.9 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches