Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001524/0.001524, allocations: 181.9 kB / 16.4 MB, free: 5.723 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.995/1.995, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001175/0.001175, allocations: 97.16 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5004/0.5004, allocations: 43.55 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004698/0.0004698, allocations: 19.98 kB / 431.4 MB, free: 5.938 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1289, allocations: 58.85 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.484/0.613, allocations: 105.2 MB / 0.5815 GB, free: 13.29 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/0.6134, allocations: 83.95 kB / 0.5815 GB, free: 13.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2814/0.8948, allocations: 66.53 MB / 0.6465 GB, free: 10.29 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.856e-06/0.8949, allocations: 0 / 0.6465 GB, free: 10.29 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001807/0.8951, allocations: 64 kB / 0.6466 GB, free: 10.22 MB / 474.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.01238/0.9075, allocations: 3.256 MB / 0.6498 GB, free: 6.906 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.9075, allocations: 8.031 kB / 0.6498 GB, free: 6.898 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01583/0.9234, allocations: 1.937 MB / 0.6517 GB, free: 4.953 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007244/0.9307, allocations: 2.051 MB / 0.6537 GB, free: 2.855 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000419/0.9311, allocations: 283.4 kB / 0.6539 GB, free: 2.578 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002146/0.9333, allocations: 363.9 kB / 0.6543 GB, free: 2.223 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02715/0.9605, allocations: 8.151 MB / 0.6622 GB, free: 9.676 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001669/0.9607, allocations: 19.81 kB / 0.6623 GB, free: 9.656 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001373/0.9621, allocations: 167.9 kB / 0.6624 GB, free: 9.492 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001847/0.964, allocations: 0.8144 MB / 0.6632 GB, free: 8.676 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02254/0.9865, allocations: 7.029 MB / 0.6701 GB, free: 1.633 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3902/1.377, allocations: 27.61 MB / 0.697 GB, free: 87.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008894/1.386, allocations: 2.549 MB / 0.6995 GB, free: 87.01 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0133/1.399, allocations: 4.489 MB / 0.7039 GB, free: 85.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/1.399, allocations: 42.91 kB / 0.704 GB, free: 85.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=120): time 5.26e-06/1.399, allocations: 0 / 0.704 GB, free: 85.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=120): time 0.01308/1.412, allocations: 2.982 MB / 0.7069 GB, free: 85.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/1.412, allocations: 65.31 kB / 0.7069 GB, free: 85.33 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004977/1.417, allocations: 2 MB / 0.7089 GB, free: 85.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002313/1.418, allocations: 44.03 kB / 0.7089 GB, free: 85.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001758/1.419, allocations: 2.312 MB / 0.7112 GB, free: 83.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006752/1.42, allocations: 468.1 kB / 0.7116 GB, free: 83.64 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004054/1.421, allocations: 74.58 kB / 0.7117 GB, free: 83.64 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000277/1.421, allocations: 469 kB / 0.7121 GB, free: 83.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002859/1.424, allocations: 1.074 MB / 0.7132 GB, free: 83.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00426/1.428, allocations: 3.215 MB / 0.7163 GB, free: 80.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004323/1.432, allocations: 1.863 MB / 0.7182 GB, free: 79.93 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.457e-05/1.433, allocations: 20.72 kB / 0.7182 GB, free: 79.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=471) (initialization): time 0.01124/1.444, allocations: 4.158 MB / 0.7222 GB, free: 78.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.352e-05/1.444, allocations: 41.52 kB / 0.7223 GB, free: 78.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001556/1.444, allocations: 76.64 kB / 0.7223 GB, free: 78.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001647/1.444, allocations: 114.8 kB / 0.7225 GB, free: 78.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005586/1.45, allocations: 0.8122 MB / 0.7232 GB, free: 78.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002039/1.45, allocations: 151.8 kB / 0.7234 GB, free: 78.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004023/1.454, allocations: 493 kB / 0.7239 GB, free: 78.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000929/1.455, allocations: 221.3 kB / 0.7241 GB, free: 78.05 MB / 490.7 MB 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.00477/1.46, allocations: 1.708 MB / 0.7257 GB, free: 77.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004955/1.46, allocations: 193.7 kB / 0.7259 GB, free: 77.15 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004498/1.465, allocations: 1.514 MB / 0.7274 GB, free: 76.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.241e-05/1.465, allocations: 13.89 kB / 0.7274 GB, free: 76.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/1.465, allocations: 0 / 0.7274 GB, free: 76.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.183e-05/1.465, allocations: 7.031 kB / 0.7274 GB, free: 76.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02266/1.488, allocations: 7.39 MB / 0.7346 GB, free: 73.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.341e-05/1.488, allocations: 11.97 kB / 0.7347 GB, free: 73.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001616/1.489, allocations: 198 kB / 0.7348 GB, free: 73.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.754e-05/1.49, allocations: 22.56 kB / 0.7349 GB, free: 73.65 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001597/1.49, allocations: 38.23 kB / 0.7349 GB, free: 73.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.549e-05/1.49, allocations: 30.73 kB / 0.7349 GB, free: 73.63 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.691e-05/1.49, allocations: 28.48 kB / 0.735 GB, free: 73.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004319/1.494, allocations: 3.178 MB / 0.7381 GB, free: 70.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009008/1.495, allocations: 334.5 kB / 0.7384 GB, free: 70.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007116/1.496, allocations: 39.23 kB / 0.7384 GB, free: 70.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001702/1.498, allocations: 50.88 kB / 0.7385 GB, free: 70.49 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003017/1.498, allocations: 113.2 kB / 0.7386 GB, free: 70.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/1.498, allocations: 51.17 kB / 0.7386 GB, free: 70.45 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003596/1.502, allocations: 1.559 MB / 0.7401 GB, free: 69.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.853e-06/1.502, allocations: 4 kB / 0.7401 GB, free: 69.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00487/1.507, allocations: 0.9312 MB / 0.7411 GB, free: 69.59 MB / 490.7 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.0006243/1.507, allocations: 172.7 kB / 0.7412 GB, free: 69.46 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006071/1.513, allocations: 2.556 MB / 0.7437 GB, free: 68.63 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-05/1.513, allocations: 256 / 0.7437 GB, free: 68.63 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001739/1.515, allocations: 0.7021 MB / 0.7444 GB, free: 68.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/1.517, allocations: 304.5 kB / 0.7447 GB, free: 68.29 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01939/1.537, allocations: 8.789 MB / 0.7533 GB, free: 63.24 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006144/1.543, allocations: 2.904 MB / 0.7561 GB, free: 62.03 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/1.544, allocations: 188.6 kB / 0.7563 GB, free: 62.02 MB / 490.7 MB Notification: Performance of SimCode: time 1.683e-06/1.544, allocations: 0 / 0.7563 GB, free: 62.02 MB / 490.7 MB Notification: Performance of Templates: time 0.0743/1.618, allocations: 38.53 MB / 0.7939 GB, free: 47.53 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches