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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 182.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.676/1.676, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008578/0.000858, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2037/0.2037, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003118/0.0003119, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.119, allocations: 58.85 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4182/0.5372, allocations: 105.2 MB / 0.5815 GB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/0.5376, allocations: 82.73 kB / 0.5816 GB, free: 10.76 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1614/0.699, allocations: 66.52 MB / 0.6465 GB, free: 264 kB / 442.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.699, allocations: 0 / 0.6465 GB, free: 264 kB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001297/0.6992, allocations: 72 kB / 0.6466 GB, free: 192 kB / 442.7 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.00993/0.7091, allocations: 3.238 MB / 0.6498 GB, free: 12.89 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.7092, allocations: 12.03 kB / 0.6498 GB, free: 12.88 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008718/0.7179, allocations: 1.957 MB / 0.6517 GB, free: 10.91 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00672/0.7247, allocations: 2.044 MB / 0.6537 GB, free: 8.82 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003278/0.7251, allocations: 291.4 kB / 0.654 GB, free: 8.535 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002182/0.7273, allocations: 367.9 kB / 0.6543 GB, free: 8.176 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0181/0.7454, allocations: 8.15 MB / 0.6623 GB, free: 15.63 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-05/0.7455, allocations: 11.88 kB / 0.6623 GB, free: 15.62 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005638/0.7461, allocations: 171.8 kB / 0.6625 GB, free: 15.45 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001109/0.7472, allocations: 0.8182 MB / 0.6633 GB, free: 14.63 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01384/0.7611, allocations: 7.017 MB / 0.6701 GB, free: 7.602 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04475/0.8059, allocations: 27.61 MB / 0.6971 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005413/0.8113, allocations: 2.569 MB / 0.6996 GB, free: 8.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00819/0.8195, allocations: 4.47 MB / 0.7039 GB, free: 3.953 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.8196, allocations: 47.56 kB / 0.704 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=120): time 3.957e-06/0.8196, allocations: 0 / 0.704 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of matching and sorting (n=120): time 0.007295/0.8269, allocations: 2.987 MB / 0.7069 GB, free: 0.8477 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.827, allocations: 60.41 kB / 0.707 GB, free: 0.7773 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2556/1.083, allocations: 1.998 MB / 0.7089 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000286/1.083, allocations: 41.11 kB / 0.709 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001943/1.085, allocations: 2.315 MB / 0.7112 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008214/1.086, allocations: 462.4 kB / 0.7117 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001913/1.086, allocations: 71.91 kB / 0.7117 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000397/1.086, allocations: 463.1 kB / 0.7122 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00201/1.088, allocations: 1.083 MB / 0.7132 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002915/1.091, allocations: 3.209 MB / 0.7164 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002751/1.094, allocations: 1.857 MB / 0.7182 GB, free: 132 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.365e-05/1.094, allocations: 28.33 kB / 0.7182 GB, free: 132 MB / 0.4948 GB Notification: Performance of matching and sorting (n=471) (initialization): time 0.007609/1.102, allocations: 4.221 MB / 0.7223 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.632e-05/1.102, allocations: 36.91 kB / 0.7224 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001133/1.102, allocations: 76.94 kB / 0.7224 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001575/1.102, allocations: 111 kB / 0.7225 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003036/1.105, allocations: 0.8137 MB / 0.7233 GB, free: 131.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002155/1.105, allocations: 149.5 kB / 0.7235 GB, free: 131.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003155/1.109, allocations: 490.8 kB / 0.7239 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004831/1.109, allocations: 220.3 kB / 0.7241 GB, free: 131.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 345 * 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 (447): * Single equations (assignments): 444 * 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.004183/1.113, allocations: 1.711 MB / 0.7258 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005142/1.114, allocations: 200.9 kB / 0.726 GB, free: 131.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00265/1.116, allocations: 1.51 MB / 0.7275 GB, free: 131 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-05/1.117, allocations: 16.89 kB / 0.7275 GB, free: 131 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.912e-06/1.117, allocations: 0 / 0.7275 GB, free: 131 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/1.117, allocations: 6.297 kB / 0.7275 GB, free: 131 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/1.127, allocations: 7.392 MB / 0.7347 GB, free: 130 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/1.127, allocations: 10.91 kB / 0.7347 GB, free: 130 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006982/1.128, allocations: 189.1 kB / 0.7349 GB, free: 129.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.84e-05/1.128, allocations: 19.91 kB / 0.7349 GB, free: 129.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.125e-05/1.128, allocations: 44.61 kB / 0.735 GB, free: 129.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.921e-05/1.128, allocations: 32.23 kB / 0.735 GB, free: 129.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-05/1.128, allocations: 19.53 kB / 0.735 GB, free: 129.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002485/1.131, allocations: 3.185 MB / 0.7381 GB, free: 127.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006112/1.131, allocations: 329.7 kB / 0.7385 GB, free: 127.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002045/1.132, allocations: 44.09 kB / 0.7385 GB, free: 127.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007211/1.132, allocations: 55.66 kB / 0.7385 GB, free: 127.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/1.132, allocations: 111.7 kB / 0.7387 GB, free: 127.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.14e-05/1.133, allocations: 52.67 kB / 0.7387 GB, free: 127.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00194/1.135, allocations: 1.558 MB / 0.7402 GB, free: 127.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/1.135, allocations: 0 / 0.7402 GB, free: 127.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003466/1.138, allocations: 0.931 MB / 0.7411 GB, free: 127 MB / 0.4948 GB 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.0003495/1.138, allocations: 171.8 kB / 0.7413 GB, free: 126.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003777/1.142, allocations: 2.565 MB / 0.7438 GB, free: 126.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.106e-06/1.142, allocations: 3.938 kB / 0.7438 GB, free: 126.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008087/1.143, allocations: 0.6893 MB / 0.7445 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/1.144, allocations: 290.6 kB / 0.7448 GB, free: 126 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/1.158, allocations: 8.387 MB / 0.7529 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003008/1.161, allocations: 2.91 MB / 0.7558 GB, free: 120 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002965/1.164, allocations: 1.169 MB / 0.7569 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003729/1.164, allocations: 165.8 kB / 0.7571 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.633e-06/1.164, allocations: 0 / 0.7571 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.03425/1.199, allocations: 18.38 MB / 0.775 GB, free: 118.8 MB / 0.4948 GB 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches