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.001295/0.001295, allocations: 173.9 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 221.5 MB / 230.7 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008546/0.0008544, allocations: 92.3 kB / 281.6 MB, free: 5.32 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.1793/0.1793, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.306e-05/1.306e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.13, allocations: 61.93 MB / 0.4947 GB, free: 1.238 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4593/0.5894, allocations: 104.4 MB / 0.5967 GB, free: 8.016 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.5897, allocations: 79.95 kB / 0.5967 GB, free: 7.938 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1492/0.739, allocations: 59.43 MB / 0.6548 GB, free: 12.11 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.739, allocations: 0 / 0.6548 GB, free: 12.11 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001845/0.7392, allocations: 64 kB / 0.6548 GB, free: 12.05 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: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.009627/0.7489, allocations: 2.877 MB / 0.6577 GB, free: 9.109 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.918e-05/0.7489, allocations: 11.98 kB / 0.6577 GB, free: 9.098 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009018/0.758, allocations: 1.879 MB / 0.6595 GB, free: 7.211 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005362/0.7634, allocations: 1.891 MB / 0.6613 GB, free: 5.27 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002758/0.7637, allocations: 108 kB / 0.6614 GB, free: 5.164 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001737/0.7654, allocations: 192 kB / 0.6616 GB, free: 4.977 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01085/0.7763, allocations: 4.803 MB / 0.6663 GB, free: 172 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0192/0.7955, allocations: 6.645 MB / 0.6728 GB, free: 9.152 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002112/0.7958, allocations: 11.88 kB / 0.6728 GB, free: 9.141 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00188/0.7977, allocations: 12 kB / 0.6728 GB, free: 9.129 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001418/0.7992, allocations: 0.6973 MB / 0.6735 GB, free: 8.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03843/0.8376, allocations: 24.33 MB / 0.6973 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/0.8399, allocations: 1.481 MB / 0.6987 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008288/0.8408, allocations: 0.5391 MB / 0.6992 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.297e-05/0.8408, allocations: 20.61 kB / 0.6993 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.8409, allocations: 47.34 kB / 0.6993 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=99): time 3.687e-06/0.8409, allocations: 0 / 0.6993 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=99): time 0.004249/0.8452, allocations: 1.546 MB / 0.7008 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.8452, allocations: 60.19 kB / 0.7009 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00372/0.849, allocations: 1.642 MB / 0.7025 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001084/0.8491, allocations: 33.7 kB / 0.7025 GB, free: 9.855 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001884/0.851, allocations: 2.135 MB / 0.7046 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005061/0.8515, allocations: 383.1 kB / 0.705 GB, free: 7.309 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.8517, allocations: 0 / 0.705 GB, free: 7.309 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003974/0.8521, allocations: 0.4902 MB / 0.7054 GB, free: 6.809 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/0.8536, allocations: 0.889 MB / 0.7063 GB, free: 5.918 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002661/0.8562, allocations: 2.944 MB / 0.7092 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002264/0.8585, allocations: 1.641 MB / 0.7108 GB, free: 304 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.602e-05/0.8586, allocations: 20 kB / 0.7108 GB, free: 284 kB / 0.5105 GB Notification: Performance of matching and sorting (n=437) (initialization): time 0.3165/1.175, allocations: 3.383 MB / 0.7141 GB, free: 143 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.947e-05/1.175, allocations: 38.5 kB / 0.7142 GB, free: 143 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001276/1.175, allocations: 73.12 kB / 0.7142 GB, free: 143 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001694/1.176, allocations: 112.1 kB / 0.7143 GB, free: 143 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002488/1.178, allocations: 0.7471 MB / 0.7151 GB, free: 143 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001601/1.178, allocations: 143.7 kB / 0.7152 GB, free: 143 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002449/1.181, allocations: 377.1 kB / 0.7156 GB, free: 143 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004834/1.181, allocations: 205.7 kB / 0.7157 GB, free: 143 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.0005689/1.182, allocations: 307.3 kB / 0.716 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003379/1.182, allocations: 170 kB / 0.7162 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002141/1.184, allocations: 1.239 MB / 0.7174 GB, free: 142.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-05/1.184, allocations: 12.08 kB / 0.7174 GB, free: 142.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/1.184, allocations: 0 / 0.7174 GB, free: 142.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/1.184, allocations: 4.578 kB / 0.7174 GB, free: 142.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008487/1.193, allocations: 4.566 MB / 0.7219 GB, free: 142 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-05/1.193, allocations: 9.906 kB / 0.7219 GB, free: 142 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005742/1.193, allocations: 133.8 kB / 0.722 GB, free: 142 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.206e-05/1.193, allocations: 13.16 kB / 0.722 GB, free: 142 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.808e-05/1.194, allocations: 19.42 kB / 0.7221 GB, free: 142 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.787e-05/1.194, allocations: 19.11 kB / 0.7221 GB, free: 142 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/1.194, allocations: 13.38 kB / 0.7221 GB, free: 142 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002214/1.196, allocations: 2.116 MB / 0.7242 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004389/1.196, allocations: 252.6 kB / 0.7244 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001907/1.196, allocations: 13.42 kB / 0.7244 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005459/1.197, allocations: 24.06 kB / 0.7244 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/1.197, allocations: 78.33 kB / 0.7245 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-05/1.197, allocations: 36.64 kB / 0.7245 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001816/1.199, allocations: 1.095 MB / 0.7256 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/1.199, allocations: 0 / 0.7256 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003416/1.202, allocations: 0.7789 MB / 0.7264 GB, free: 140.2 MB / 0.5105 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.0003404/1.203, allocations: 149.3 kB / 0.7265 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003554/1.206, allocations: 2.098 MB / 0.7286 GB, free: 140 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/1.206, allocations: 1.219 kB / 0.7286 GB, free: 140 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007588/1.207, allocations: 0.5576 MB / 0.7291 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/1.209, allocations: 207.2 kB / 0.7293 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/1.22, allocations: 4.968 MB / 0.7342 GB, free: 138.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004224/1.225, allocations: 2.676 MB / 0.7368 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002613/1.227, allocations: 1.133 MB / 0.7379 GB, free: 137.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002608/1.228, allocations: 132.1 kB / 0.738 GB, free: 137.8 MB / 0.5105 GB Notification: Performance of SimCode: time 6.91e-07/1.228, allocations: 0 / 0.738 GB, free: 137.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.02555/1.253, allocations: 12.72 MB / 0.7504 GB, free: 137.2 MB / 0.5105 GB 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