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.0009157/0.0009157, allocations: 183 kB / 13.19 MB, free: 2.129 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.233/1.233, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0007723/0.0007723, allocations: 86.55 kB / 267 MB, free: 9.285 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.3164/0.3164, allocations: 43.46 MB / 358.6 MB, free: 52.29 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.57e-05/2.572e-05, allocations: 0 / 425.3 MB, free: 8.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.106, allocations: 58.85 MB / 484.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3365/0.4425, allocations: 105.1 MB / 0.5755 GB, free: 15.88 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/0.4428, allocations: 85.83 kB / 0.5755 GB, free: 15.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1496/0.5924, allocations: 66.59 MB / 0.6406 GB, free: 12.81 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5925, allocations: 0 / 0.6406 GB, free: 12.81 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001178/0.5926, allocations: 71.94 kB / 0.6406 GB, free: 12.74 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.008354/0.601, allocations: 3.135 MB / 0.6437 GB, free: 9.551 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.601, allocations: 12.03 kB / 0.6437 GB, free: 9.539 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008275/0.6093, allocations: 1.937 MB / 0.6456 GB, free: 7.594 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005225/0.6146, allocations: 2.051 MB / 0.6476 GB, free: 5.496 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002611/0.6149, allocations: 279.4 kB / 0.6479 GB, free: 5.223 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001475/0.6163, allocations: 367.9 kB / 0.6482 GB, free: 4.863 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01584/0.6322, allocations: 8.07 MB / 0.6561 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.282e-05/0.6323, allocations: 15.88 kB / 0.6561 GB, free: 12.39 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004745/0.6328, allocations: 171.9 kB / 0.6563 GB, free: 12.22 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00103/0.6338, allocations: 0.8104 MB / 0.6571 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01313/0.647, allocations: 6.913 MB / 0.6638 GB, free: 4.484 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2766/0.9236, allocations: 27.62 MB / 0.6908 GB, free: 87.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004883/0.9285, allocations: 2.533 MB / 0.6933 GB, free: 86.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/0.93, allocations: 0.9544 MB / 0.6942 GB, free: 86.53 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007595/0.9376, allocations: 4.482 MB / 0.6986 GB, free: 85.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.9376, allocations: 42.97 kB / 0.6986 GB, free: 85.37 MB / 490.7 MB Notification: Performance of pre-optimization done (n=120): time 2.755e-06/0.9377, allocations: 0 / 0.6986 GB, free: 85.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=120): time 0.005306/0.943, allocations: 2.104 MB / 0.7007 GB, free: 85.22 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.943, allocations: 62.34 kB / 0.7007 GB, free: 85.16 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003479/0.9465, allocations: 1.985 MB / 0.7027 GB, free: 84.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.065e-05/0.9466, allocations: 42.45 kB / 0.7027 GB, free: 84.85 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001459/0.9481, allocations: 2.317 MB / 0.705 GB, free: 83.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003514/0.9484, allocations: 464.4 kB / 0.7054 GB, free: 83.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.9486, allocations: 73.25 kB / 0.7055 GB, free: 83.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.9488, allocations: 470.2 kB / 0.7059 GB, free: 83.26 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/0.9501, allocations: 1.047 MB / 0.707 GB, free: 83.25 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001933/0.952, allocations: 3.186 MB / 0.7101 GB, free: 80.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001903/0.954, allocations: 1.85 MB / 0.7119 GB, free: 80.48 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.111e-05/0.954, allocations: 23.03 kB / 0.7119 GB, free: 80.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=471) (initialization): time 0.005082/0.9591, allocations: 4.151 MB / 0.716 GB, free: 79.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.953e-05/0.9592, allocations: 38.84 kB / 0.716 GB, free: 79.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.819e-05/0.9593, allocations: 79.16 kB / 0.7161 GB, free: 79.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001194/0.9594, allocations: 111.2 kB / 0.7162 GB, free: 79.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00228/0.9617, allocations: 0.8132 MB / 0.717 GB, free: 79.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001448/0.9618, allocations: 150.5 kB / 0.7171 GB, free: 79.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00232/0.9642, allocations: 499.7 kB / 0.7176 GB, free: 79.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003137/0.9645, allocations: 218.2 kB / 0.7178 GB, free: 79.39 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 () * 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.0003766/0.9649, allocations: 390.3 kB / 0.7182 GB, free: 79.06 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000231/0.9651, allocations: 194.1 kB / 0.7184 GB, free: 78.96 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/0.9674, allocations: 1.481 MB / 0.7198 GB, free: 78.42 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.396e-05/0.9674, allocations: 13.75 kB / 0.7198 GB, free: 78.42 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.9674, allocations: 0 / 0.7198 GB, free: 78.42 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.9674, allocations: 4.75 kB / 0.7198 GB, free: 78.42 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0111/0.9785, allocations: 7.366 MB / 0.727 GB, free: 75.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.857e-05/0.9786, allocations: 13.44 kB / 0.727 GB, free: 75.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007298/0.9793, allocations: 196.7 kB / 0.7272 GB, free: 75.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-05/0.9794, allocations: 22.39 kB / 0.7272 GB, free: 75.48 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.993e-05/0.9794, allocations: 37.95 kB / 0.7273 GB, free: 75.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-05/0.9795, allocations: 27.94 kB / 0.7273 GB, free: 75.46 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.618e-05/0.9795, allocations: 24.38 kB / 0.7273 GB, free: 75.46 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002498/0.982, allocations: 3.152 MB / 0.7304 GB, free: 72.64 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005039/0.9825, allocations: 333.4 kB / 0.7307 GB, free: 72.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002/0.9827, allocations: 46.38 kB / 0.7308 GB, free: 72.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007299/0.9835, allocations: 51.25 kB / 0.7308 GB, free: 72.36 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.9836, allocations: 110.2 kB / 0.7309 GB, free: 72.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-05/0.9837, allocations: 53.44 kB / 0.731 GB, free: 72.31 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002101/0.9858, allocations: 1.54 MB / 0.7325 GB, free: 71.73 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.9858, allocations: 2.625 kB / 0.7325 GB, free: 71.73 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003071/0.9889, allocations: 0.927 MB / 0.7334 GB, free: 71.44 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 () * 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.0003011/0.9892, allocations: 168.9 kB / 0.7335 GB, free: 71.31 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003231/0.9925, allocations: 2.512 MB / 0.736 GB, free: 70.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.9925, allocations: 0.875 kB / 0.736 GB, free: 70.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007458/0.9932, allocations: 0.6834 MB / 0.7367 GB, free: 70.27 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.9945, allocations: 282.2 kB / 0.7369 GB, free: 70.16 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009109/1.004, allocations: 5.677 MB / 0.7425 GB, free: 67.71 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002603/1.006, allocations: 2.901 MB / 0.7453 GB, free: 66.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002924/1.009, allocations: 1.172 MB / 0.7464 GB, free: 66.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003868/1.01, allocations: 162.6 kB / 0.7466 GB, free: 66.39 MB / 490.7 MB Notification: Performance of SimCode: time 1.383e-06/1.01, allocations: 0 / 0.7466 GB, free: 66.39 MB / 490.7 MB Notification: Performance of Templates: time 0.03215/1.042, allocations: 18.38 MB / 0.7645 GB, free: 65.37 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/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