Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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.CutForceAndTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009157/0.0009157, allocations: 179 kB / 18.09 MB, free: 3.754 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.323/1.323, allocations: 223.3 MB / 242.1 MB, free: 11.71 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.0008199/0.0008195, allocations: 95.19 kB / 293.3 MB, free: 10.81 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.3352/0.3352, allocations: 44.13 MB / 388.5 MB, free: 38.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005779/0.0005782, allocations: 12 kB / 461.1 MB, free: 1.344 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3349, allocations: 61.88 MB / 0.5107 GB, free: 38.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1318/0.4667, allocations: 107.5 MB / 0.6157 GB, free: 3.598 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.4671, allocations: 83.94 kB / 0.6158 GB, free: 3.52 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6395/1.107, allocations: 173.6 MB / 0.7852 GB, free: 59.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.597e-06/1.107, allocations: 0 / 0.7852 GB, free: 59.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004804/1.107, allocations: 172 kB / 0.7854 GB, free: 59.37 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: 3105 * Number of variables: 3105 Notification: Performance of Generate backend data structure: time 0.02555/1.133, allocations: 8.664 MB / 0.7939 GB, free: 50.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/1.133, allocations: 8.031 kB / 0.7939 GB, free: 50.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01939/1.152, allocations: 3.659 MB / 0.7975 GB, free: 46.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01564/1.168, allocations: 8.106 MB / 0.8054 GB, free: 38.74 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006414/1.169, allocations: 0.6903 MB / 0.806 GB, free: 38.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004225/1.173, allocations: 0.9102 MB / 0.8069 GB, free: 37.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04779/1.221, allocations: 21.17 MB / 0.8276 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007011/1.221, allocations: 95.31 kB / 0.8277 GB, free: 14.37 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005121/1.227, allocations: 439.7 kB / 0.8281 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002894/1.229, allocations: 1.862 MB / 0.8299 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0367/1.266, allocations: 16.52 MB / 0.8461 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6804/1.947, allocations: 83.46 MB / 0.9276 GB, free: 31.57 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0175/1.964, allocations: 6.319 MB / 0.9337 GB, free: 30.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003673/1.968, allocations: 2.334 MB / 0.936 GB, free: 30.87 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02084/1.989, allocations: 10.83 MB / 0.9466 GB, free: 43.62 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/1.989, allocations: 61.53 kB / 0.9467 GB, free: 43.58 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=212): time 5.44e-06/1.989, allocations: 2.812 kB / 0.9467 GB, free: 43.58 MB / 0.5262 GB Notification: Performance of matching and sorting (n=236): time 0.04733/2.036, allocations: 16.85 MB / 0.9631 GB, free: 38.59 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.375e-05/2.036, allocations: 156.6 kB / 0.9633 GB, free: 38.43 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01456/2.051, allocations: 6.81 MB / 0.9699 GB, free: 37.87 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0005902/2.052, allocations: 61.73 kB / 0.97 GB, free: 37.84 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.004857/2.056, allocations: 6.052 MB / 0.9759 GB, free: 34.52 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001374/2.058, allocations: 0.9338 MB / 0.9768 GB, free: 34.01 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008774/2.059, allocations: 175.5 kB / 0.977 GB, free: 34.01 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0005802/2.059, allocations: 0.6752 MB / 0.9776 GB, free: 33.68 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00509/2.064, allocations: 2.492 MB / 0.9801 GB, free: 33.66 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009343/2.074, allocations: 8.263 MB / 0.9881 GB, free: 25.84 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01292/2.087, allocations: 11.64 MB / 0.9995 GB, free: 16.16 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003083/2.087, allocations: 56.38 kB / 0.9996 GB, free: 16.16 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1153) (initialization): time 0.02391/2.111, allocations: 10.37 MB / 1.01 GB, free: 12.2 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003197/2.111, allocations: 96.16 kB / 1.01 GB, free: 12.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000461/2.112, allocations: 207.1 kB / 1.01 GB, free: 12.2 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004183/2.112, allocations: 276.6 kB / 1.01 GB, free: 12.2 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007619/2.12, allocations: 2.159 MB / 1.012 GB, free: 11.93 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006616/2.121, allocations: 401.7 kB / 1.013 GB, free: 11.84 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009145/2.13, allocations: 0.6041 MB / 1.013 GB, free: 11.68 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002329/2.132, allocations: 0.5455 MB / 1.014 GB, free: 11.61 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 939 * Number of states: 0 () * Number of discrete variables: 88 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueArrow.arrowLine.twoHeadedArrow,cutForce2b.torqueArrow.headAtOrigin,cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueArrow.arrowLine.twoHeadedArrow,cutForce2a.torqueArrow.headAtOrigin,cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueArrow.arrowLine.twoHeadedArrow,cutForce1b.torqueArrow.headAtOrigin,cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueArrow.arrowLine.twoHeadedArrow,cutForce1a.torqueArrow.headAtOrigin,cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1129): * Single equations (assignments): 1126 * 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.01112/2.143, allocations: 3.951 MB / 1.018 GB, free: 9.848 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001928/2.145, allocations: 0.5868 MB / 1.018 GB, free: 9.52 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002723/2.148, allocations: 0.7088 MB / 1.019 GB, free: 9.172 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.744e-05/2.148, allocations: 25.12 kB / 1.019 GB, free: 9.172 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.089e-05/2.148, allocations: 3.844 kB / 1.019 GB, free: 9.172 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.764e-05/2.148, allocations: 9.422 kB / 1.019 GB, free: 9.172 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03871/2.187, allocations: 22.77 MB / 1.041 GB, free: 11.26 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.439e-05/2.187, allocations: 44 kB / 1.041 GB, free: 11.22 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/2.188, allocations: 453.2 kB / 1.042 GB, free: 10.84 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.264e-05/2.189, allocations: 60 kB / 1.042 GB, free: 10.78 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001763/2.189, allocations: 104.1 kB / 1.042 GB, free: 10.68 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-05/2.189, allocations: 92.2 kB / 1.042 GB, free: 10.6 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.505e-05/2.189, allocations: 71.69 kB / 1.042 GB, free: 10.53 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006259/2.195, allocations: 4.56 MB / 1.046 GB, free: 5.602 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002026/2.197, allocations: 0.6683 MB / 1.047 GB, free: 4.938 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006908/2.198, allocations: 109.7 kB / 1.047 GB, free: 4.84 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002257/2.2, allocations: 207.5 kB / 1.047 GB, free: 4.68 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000363/2.2, allocations: 302.7 kB / 1.048 GB, free: 4.441 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001733/2.201, allocations: 130.5 kB / 1.048 GB, free: 4.32 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.008846/2.209, allocations: 4.275 MB / 1.052 GB, free: 0.8633 MB / 0.5418 GB Notification: Performance of sort global known variables: time 5.21e-07/2.21, allocations: 0 / 1.052 GB, free: 0.8633 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01469/2.224, allocations: 1.887 MB / 1.054 GB, free: 0 / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 205 * 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 (232): * Single equations (assignments): 229 * 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.0009117/2.225, allocations: 283.4 kB / 1.054 GB, free: 15.73 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.01046/2.236, allocations: 5.785 MB / 1.06 GB, free: 10.7 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.162e-05/2.236, allocations: 4 kB / 1.06 GB, free: 10.69 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.001912/2.238, allocations: 1.326 MB / 1.061 GB, free: 9.547 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04433/2.282, allocations: 0.989 MB / 1.062 GB, free: 8.73 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03888/2.321, allocations: 21.22 MB / 1.083 GB, free: 4.406 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3212/2.642, allocations: 6.104 MB / 1.089 GB, free: 136.5 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.009629/2.652, allocations: 2.765 MB / 1.091 GB, free: 136.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001578/2.653, allocations: 392.1 kB / 1.092 GB, free: 136.5 MB / 0.573 GB Notification: Performance of SimCode: time 1.623e-06/2.653, allocations: 3.594 kB / 1.092 GB, free: 136.5 MB / 0.573 GB Notification: Performance of Templates: time 0.1131/2.767, allocations: 47.05 MB / 1.138 GB, free: 134.4 MB / 0.573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque1/CutForceAndTorque1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches