Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.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.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.723/1.723, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008304/0.0008303, allocations: 82.62 kB / 261.7 MB, free: 1.625 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.2266/0.2266, allocations: 43.5 MB / 353.2 MB, free: 268 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.693e-05/1.691e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.134, allocations: 58.86 MB / 477.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4182/0.5523, allocations: 104.2 MB / 0.5677 GB, free: 7.551 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001874/0.5525, allocations: 76.69 kB / 0.5678 GB, free: 7.516 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6848/1.237, allocations: 155.5 MB / 0.7196 GB, free: 91.69 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.433e-06/1.237, allocations: 0 / 0.7196 GB, free: 91.69 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004448/1.238, allocations: 158.4 kB / 0.7198 GB, free: 91.68 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.02592/1.264, allocations: 7.75 MB / 0.7273 GB, free: 88.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/1.264, allocations: 11.56 kB / 0.7274 GB, free: 88.82 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01931/1.283, allocations: 3.629 MB / 0.7309 GB, free: 88.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02/1.303, allocations: 9.553 MB / 0.7402 GB, free: 87.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004568/1.304, allocations: 262.1 kB / 0.7405 GB, free: 87.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003432/1.307, allocations: 474.6 kB / 0.7409 GB, free: 87.31 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01952/1.327, allocations: 11.17 MB / 0.7518 GB, free: 87.27 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03895/1.366, allocations: 16.33 MB / 0.7678 GB, free: 83.24 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004869/1.366, allocations: 95.73 kB / 0.7679 GB, free: 83.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0039/1.37, allocations: 44 kB / 0.7679 GB, free: 83.23 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002945/1.373, allocations: 1.786 MB / 0.7697 GB, free: 83.22 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08478/1.458, allocations: 79.8 MB / 0.8476 GB, free: 28.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003733/1.462, allocations: 2.972 MB / 0.8505 GB, free: 26.81 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/1.463, allocations: 1.41 MB / 0.8519 GB, free: 25.54 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/1.463, allocations: 40.78 kB / 0.8519 GB, free: 25.51 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/1.463, allocations: 64.5 kB / 0.852 GB, free: 25.44 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=232): time 3.947e-06/1.463, allocations: 0 / 0.852 GB, free: 25.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=244): time 0.02379/1.487, allocations: 11.47 MB / 0.8632 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/1.487, allocations: 159.4 kB / 0.8633 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006897/1.494, allocations: 5.041 MB / 0.8682 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005134/1.495, allocations: 25.7 kB / 0.8683 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002781/1.497, allocations: 5.689 MB / 0.8738 GB, free: 5.301 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001056/1.498, allocations: 0.9326 MB / 0.8747 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003728/1.499, allocations: 0 / 0.8747 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000407/1.499, allocations: 0.688 MB / 0.8754 GB, free: 3.883 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002902/1.502, allocations: 2.256 MB / 0.8776 GB, free: 1.863 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007958/1.51, allocations: 8.078 MB / 0.8855 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007323/1.517, allocations: 4.179 MB / 0.8896 GB, free: 3.922 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001615/1.518, allocations: 63.95 kB / 0.8896 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.3272/1.845, allocations: 8.984 MB / 0.8984 GB, free: 90.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001665/1.845, allocations: 96.62 kB / 0.8985 GB, free: 90.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003935/1.845, allocations: 210.4 kB / 0.8987 GB, free: 90.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004321/1.846, allocations: 303 kB / 0.899 GB, free: 90.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008481/1.854, allocations: 2.234 MB / 0.9012 GB, free: 90.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005271/1.855, allocations: 408.8 kB / 0.9016 GB, free: 90.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008798/1.864, allocations: 453.6 kB / 0.902 GB, free: 90.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001733/1.865, allocations: 0.5568 MB / 0.9025 GB, free: 90.48 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 951 * Number of states: 0 () * Number of discrete variables: 60 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1161): * Single equations (assignments): 1158 * 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.00129/1.867, allocations: 0.6167 MB / 0.9031 GB, free: 90.37 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001087/1.868, allocations: 0.5346 MB / 0.9037 GB, free: 90.37 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004099/1.872, allocations: 2.4 MB / 0.906 GB, free: 90.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.455e-05/1.872, allocations: 26.86 kB / 0.906 GB, free: 90.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/1.872, allocations: 3.781 kB / 0.906 GB, free: 90.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.652e-05/1.872, allocations: 16.44 kB / 0.9061 GB, free: 90.23 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02831/1.9, allocations: 23 MB / 0.9285 GB, free: 88.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.627e-05/1.901, allocations: 52.31 kB / 0.9286 GB, free: 88.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001683/1.902, allocations: 496.8 kB / 0.929 GB, free: 88.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.048e-05/1.902, allocations: 70.94 kB / 0.9291 GB, free: 88.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001632/1.902, allocations: 70.89 kB / 0.9292 GB, free: 88.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.913e-05/1.903, allocations: 93.19 kB / 0.9293 GB, free: 88.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.483e-05/1.903, allocations: 72.91 kB / 0.9293 GB, free: 88.05 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006937/1.91, allocations: 12.62 MB / 0.9417 GB, free: 76.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002232/1.912, allocations: 0.6181 MB / 0.9423 GB, free: 75.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007515/1.913, allocations: 73.64 kB / 0.9423 GB, free: 75.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002662/1.915, allocations: 153 kB / 0.9425 GB, free: 75.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003163/1.916, allocations: 317.4 kB / 0.9428 GB, free: 75.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002018/1.916, allocations: 139.2 kB / 0.9429 GB, free: 75.82 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005367/1.921, allocations: 3.402 MB / 0.9462 GB, free: 75.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.9e-07/1.921, allocations: 0 / 0.9462 GB, free: 75.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008863/1.93, allocations: 1.277 MB / 0.9475 GB, free: 75.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 216 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (252): * Single equations (assignments): 249 * 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.0006076/1.931, allocations: 221.6 kB / 0.9477 GB, free: 75.51 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009034/1.94, allocations: 5.285 MB / 0.9529 GB, free: 75.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-05/1.94, allocations: 21.59 kB / 0.9529 GB, free: 75.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001871/1.942, allocations: 1.291 MB / 0.9541 GB, free: 75.44 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00506/1.947, allocations: 0.6991 MB / 0.9548 GB, free: 75.41 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02926/1.976, allocations: 13.58 MB / 0.9681 GB, free: 71.04 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007408/1.983, allocations: 5.709 MB / 0.9737 GB, free: 70.16 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007046/1.991, allocations: 2.844 MB / 0.9764 GB, free: 70.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008742/1.991, allocations: 364.5 kB / 0.9768 GB, free: 70.09 MB / 0.5105 GB Notification: Performance of SimCode: time 1.432e-06/1.991, allocations: 0 / 0.9768 GB, free: 70.09 MB / 0.5105 GB Notification: Performance of Templates: time 0.07755/2.069, allocations: 38.53 MB / 1.014 GB, free: 56.14 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches