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.001551/0.001551, allocations: 175.7 kB / 16.76 MB, free: 5.02 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.354/1.354, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0008451/0.0008452, allocations: 92.55 kB / 271.3 MB, free: 8.25 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.3282/0.3282, allocations: 43.56 MB / 363.1 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003522, allocations: 12 kB / 432.6 MB, free: 4.973 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1168, allocations: 58.84 MB / 491.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3415/0.4584, allocations: 105.4 MB / 0.5828 GB, free: 12.45 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.4587, allocations: 75.97 kB / 0.5829 GB, free: 12.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1532/0.612, allocations: 65.75 MB / 0.6471 GB, free: 10.22 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.612, allocations: 0 / 0.6471 GB, free: 10.22 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001049/0.6121, allocations: 68 kB / 0.6472 GB, free: 10.16 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.005537/0.6176, allocations: 3.162 MB / 0.6503 GB, free: 6.934 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.6177, allocations: 11.97 kB / 0.6503 GB, free: 6.922 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007643/0.6254, allocations: 1.934 MB / 0.6522 GB, free: 4.98 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004567/0.63, allocations: 2.079 MB / 0.6542 GB, free: 2.855 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002072/0.6302, allocations: 287.8 kB / 0.6545 GB, free: 2.574 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008052/0.631, allocations: 364.3 kB / 0.6548 GB, free: 2.219 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01303/0.644, allocations: 8.12 MB / 0.6628 GB, free: 9.703 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.069e-05/0.6441, allocations: 23.75 kB / 0.6628 GB, free: 9.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004307/0.6446, allocations: 167.9 kB / 0.6629 GB, free: 9.516 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009454/0.6455, allocations: 0.8144 MB / 0.6637 GB, free: 8.699 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01227/0.6578, allocations: 6.962 MB / 0.6705 GB, free: 1.723 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2214/0.8793, allocations: 27.58 MB / 0.6975 GB, free: 88.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004405/0.8837, allocations: 2.549 MB / 0.7 GB, free: 87.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/0.885, allocations: 0.9794 MB / 0.7009 GB, free: 87.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006638/0.8916, allocations: 4.445 MB / 0.7053 GB, free: 86.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.8917, allocations: 48.34 kB / 0.7053 GB, free: 86.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=120): time 4.488e-06/0.8917, allocations: 0 / 0.7053 GB, free: 86.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=120): time 0.006116/0.8978, allocations: 2.724 MB / 0.708 GB, free: 86.19 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.8979, allocations: 62.06 kB / 0.708 GB, free: 86.13 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002998/0.9009, allocations: 2.231 MB / 0.7102 GB, free: 85.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.081e-05/0.901, allocations: 45 kB / 0.7102 GB, free: 85.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001039/0.9021, allocations: 2.319 MB / 0.7125 GB, free: 84.75 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000365/0.9024, allocations: 459.7 kB / 0.713 GB, free: 84.49 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.9026, allocations: 73.98 kB / 0.713 GB, free: 84.49 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.9027, allocations: 464 kB / 0.7135 GB, free: 84.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/0.9042, allocations: 1.077 MB / 0.7145 GB, free: 84.17 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002255/0.9064, allocations: 3.228 MB / 0.7177 GB, free: 81.04 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003939/0.9104, allocations: 4.717 MB / 0.7223 GB, free: 77.31 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-05/0.9104, allocations: 26.41 kB / 0.7223 GB, free: 77.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=471) (initialization): time 0.006252/0.9167, allocations: 4.212 MB / 0.7264 GB, free: 75.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.489e-05/0.9168, allocations: 41.25 kB / 0.7265 GB, free: 75.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.911e-05/0.9169, allocations: 75.94 kB / 0.7265 GB, free: 75.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001169/0.917, allocations: 101.2 kB / 0.7266 GB, free: 75.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002445/0.9195, allocations: 0.8148 MB / 0.7274 GB, free: 75.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001407/0.9196, allocations: 148.5 kB / 0.7276 GB, free: 75.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/0.9218, allocations: 493.7 kB / 0.728 GB, free: 75.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003457/0.9221, allocations: 223.4 kB / 0.7282 GB, free: 75.21 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.003168/0.9253, allocations: 1.701 MB / 0.7299 GB, free: 74.42 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004425/0.9258, allocations: 201.9 kB / 0.7301 GB, free: 74.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002928/0.9287, allocations: 1.507 MB / 0.7316 GB, free: 73.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-05/0.9287, allocations: 12.5 kB / 0.7316 GB, free: 73.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.9288, allocations: 3.938 kB / 0.7316 GB, free: 73.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.9288, allocations: 6.141 kB / 0.7316 GB, free: 73.75 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01275/0.9415, allocations: 7.391 MB / 0.7388 GB, free: 70.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/0.9416, allocations: 19.47 kB / 0.7388 GB, free: 70.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006601/0.9423, allocations: 191.5 kB / 0.739 GB, free: 70.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.49e-05/0.9423, allocations: 18.78 kB / 0.739 GB, free: 70.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.966e-05/0.9424, allocations: 35.28 kB / 0.7391 GB, free: 70.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.781e-05/0.9424, allocations: 33.22 kB / 0.7391 GB, free: 70.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/0.9424, allocations: 23 kB / 0.7391 GB, free: 70.77 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.9444, allocations: 1.995 MB / 0.7411 GB, free: 69.51 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004821/0.9449, allocations: 334.8 kB / 0.7414 GB, free: 69.26 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/0.9451, allocations: 35.47 kB / 0.7414 GB, free: 69.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007005/0.9458, allocations: 52.09 kB / 0.7415 GB, free: 69.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.9459, allocations: 116.4 kB / 0.7416 GB, free: 69.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.358e-05/0.946, allocations: 51.48 kB / 0.7416 GB, free: 69.18 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002688/0.9487, allocations: 1.558 MB / 0.7431 GB, free: 68.61 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.9487, allocations: 0 / 0.7431 GB, free: 68.61 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004505/0.9532, allocations: 0.931 MB / 0.7441 GB, free: 68.32 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.0004324/0.9537, allocations: 178.1 kB / 0.7442 GB, free: 68.19 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005114/0.9588, allocations: 2.552 MB / 0.7467 GB, free: 67.36 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.9588, allocations: 0 / 0.7467 GB, free: 67.36 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001235/0.9601, allocations: 0.6972 MB / 0.7474 GB, free: 67.14 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008363/0.9684, allocations: 318.2 kB / 0.7477 GB, free: 67.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0184/0.9869, allocations: 8.411 MB / 0.7559 GB, free: 62.21 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005391/0.9923, allocations: 2.828 MB / 0.7587 GB, free: 61.01 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00478/0.9971, allocations: 1.172 MB / 0.7598 GB, free: 60.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000698/0.9978, allocations: 163.8 kB / 0.76 GB, free: 60.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.372e-06/0.9979, allocations: 0 / 0.76 GB, free: 60.9 MB / 490.7 MB Notification: Performance of Templates: time 0.05069/1.049, allocations: 18.42 MB / 0.778 GB, free: 59.91 MB / 490.7 MB 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/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_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches