Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009698/0.0009698, allocations: 177.8 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 223.2 MB / 241 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008157/0.0008157, allocations: 101.5 kB / 292.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3163/0.3163, allocations: 44.22 MB / 387.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003693, allocations: 8 kB / 459.9 MB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3165, allocations: 61.9 MB / 0.5096 GB, free: 37.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1306/0.4472, allocations: 105.2 MB / 0.6123 GB, free: 5.902 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.4474, allocations: 83.95 kB / 0.6124 GB, free: 5.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1391/0.5865, allocations: 60.87 MB / 0.6718 GB, free: 8.609 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.817e-06/0.5866, allocations: 0 / 0.6718 GB, free: 8.609 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001176/0.5867, allocations: 71.94 kB / 0.6719 GB, free: 8.539 MB / 490.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.007782/0.5945, allocations: 2.982 MB / 0.6748 GB, free: 5.492 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.5945, allocations: 8.031 kB / 0.6748 GB, free: 5.484 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007352/0.6019, allocations: 1.875 MB / 0.6766 GB, free: 3.602 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004773/0.6067, allocations: 1.903 MB / 0.6785 GB, free: 1.648 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002644/0.607, allocations: 254.7 kB / 0.6787 GB, free: 1.398 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001582/0.6086, allocations: 331.9 kB / 0.679 GB, free: 1.074 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2519/0.8605, allocations: 7.323 MB / 0.6862 GB, free: 100.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.238e-05/0.8606, allocations: 17 kB / 0.6862 GB, free: 100.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003889/0.861, allocations: 151.2 kB / 0.6864 GB, free: 100.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008991/0.8619, allocations: 0.7064 MB / 0.687 GB, free: 100.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/0.8731, allocations: 6.279 MB / 0.6932 GB, free: 100.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02935/0.9025, allocations: 25.05 MB / 0.7176 GB, free: 86.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004549/0.9071, allocations: 2.205 MB / 0.7198 GB, free: 85.37 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007447/0.9146, allocations: 3.92 MB / 0.7236 GB, free: 83.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.9147, allocations: 38.95 kB / 0.7237 GB, free: 83.44 MB / 490.7 MB Notification: Performance of pre-optimization done (n=87): time 4.889e-06/0.9147, allocations: 0 / 0.7237 GB, free: 83.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=87): time 0.00651/0.9212, allocations: 2.51 MB / 0.7261 GB, free: 82.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.9213, allocations: 64.03 kB / 0.7262 GB, free: 82.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004481/0.9258, allocations: 1.859 MB / 0.728 GB, free: 81.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.053e-05/0.9259, allocations: 36.08 kB / 0.728 GB, free: 81.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00172/0.9276, allocations: 2.122 MB / 0.7301 GB, free: 80.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005101/0.9281, allocations: 346.3 kB / 0.7304 GB, free: 80.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002509/0.9284, allocations: 59.94 kB / 0.7305 GB, free: 80.05 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003132/0.9287, allocations: 446.8 kB / 0.7309 GB, free: 79.69 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001725/0.9305, allocations: 0.9038 MB / 0.7318 GB, free: 79.42 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002736/0.9332, allocations: 2.838 MB / 0.7346 GB, free: 76.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002255/0.9355, allocations: 1.61 MB / 0.7361 GB, free: 75.95 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.902e-05/0.9356, allocations: 20.34 kB / 0.7362 GB, free: 75.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.005299/0.9409, allocations: 3.648 MB / 0.7397 GB, free: 74.56 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.096e-05/0.9409, allocations: 37.75 kB / 0.7397 GB, free: 74.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.953e-05/0.941, allocations: 68.16 kB / 0.7398 GB, free: 74.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.516e-05/0.9411, allocations: 100.5 kB / 0.7399 GB, free: 74.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001798/0.943, allocations: 0.7045 MB / 0.7406 GB, free: 74.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.438e-05/0.9431, allocations: 132.3 kB / 0.7407 GB, free: 74.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002233/0.9453, allocations: 438.1 kB / 0.7411 GB, free: 74.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002503/0.9456, allocations: 196.2 kB / 0.7413 GB, free: 74.15 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 316 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (385): * Single equations (assignments): 382 * 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.002451/0.948, allocations: 1.561 MB / 0.7429 GB, free: 73.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003201/0.9483, allocations: 173.4 kB / 0.743 GB, free: 73.34 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004472/0.9488, allocations: 217.7 kB / 0.7432 GB, free: 73.22 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/0.9488, allocations: 11.89 kB / 0.7432 GB, free: 73.22 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.617e-05/0.9488, allocations: 0 / 0.7432 GB, free: 73.22 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.9489, allocations: 3.656 kB / 0.7432 GB, free: 73.22 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009244/0.9581, allocations: 5.08 MB / 0.7482 GB, free: 71.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-05/0.9582, allocations: 7.438 kB / 0.7482 GB, free: 71.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004366/0.9586, allocations: 118 kB / 0.7483 GB, free: 71.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.768e-05/0.9587, allocations: 10.53 kB / 0.7483 GB, free: 71.17 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-05/0.9587, allocations: 23.81 kB / 0.7484 GB, free: 71.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.201e-05/0.9587, allocations: 20.94 kB / 0.7484 GB, free: 71.16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.505e-06/0.9587, allocations: 17.16 kB / 0.7484 GB, free: 71.15 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.9604, allocations: 1.998 MB / 0.7503 GB, free: 69.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006605/0.9611, allocations: 293 kB / 0.7506 GB, free: 69.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003555/0.9615, allocations: 19.88 kB / 0.7506 GB, free: 69.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006792/0.9622, allocations: 35.08 kB / 0.7507 GB, free: 69.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.478e-05/0.9623, allocations: 71.66 kB / 0.7507 GB, free: 69.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.645e-05/0.9623, allocations: 34.06 kB / 0.7508 GB, free: 69.22 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002146/0.9645, allocations: 1.459 MB / 0.7522 GB, free: 68.69 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.9645, allocations: 0 / 0.7522 GB, free: 68.69 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002998/0.9675, allocations: 0.8201 MB / 0.753 GB, free: 68.43 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.0003611/0.9679, allocations: 160 kB / 0.7532 GB, free: 68.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002878/0.9708, allocations: 2.114 MB / 0.7552 GB, free: 67.62 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.9708, allocations: 3.938 kB / 0.7552 GB, free: 67.62 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005129/0.9713, allocations: 0.5 MB / 0.7557 GB, free: 67.47 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.9725, allocations: 268.1 kB / 0.756 GB, free: 67.37 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.9833, allocations: 7.218 MB / 0.763 GB, free: 63.34 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003551/0.9869, allocations: 2.662 MB / 0.7656 GB, free: 62.18 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002622/0.9895, allocations: 1.042 MB / 0.7666 GB, free: 62.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004071/0.9899, allocations: 135.8 kB / 0.7668 GB, free: 62.09 MB / 490.7 MB Notification: Performance of SimCode: time 9.52e-07/0.99, allocations: 4 kB / 0.7668 GB, free: 62.09 MB / 490.7 MB Notification: Performance of Templates: time 0.03078/1.021, allocations: 15.91 MB / 0.7823 GB, free: 55.77 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches