Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001413/0.001413, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.119/2.119, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001074/0.001073, allocations: 92.05 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2891/0.2891, allocations: 43.5 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.76e-05/1.771e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4215, allocations: 58.85 MB / 477.1 MB, free: 5.258 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2058/0.6274, allocations: 104.2 MB / 0.5677 GB, free: 11.04 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/0.6277, allocations: 71.97 kB / 0.5677 GB, free: 10.97 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.9509/1.579, allocations: 155.5 MB / 0.7196 GB, free: 87.92 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.484e-06/1.579, allocations: 7.938 kB / 0.7196 GB, free: 87.91 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0004561/1.579, allocations: 156 kB / 0.7198 GB, free: 87.76 MB / 475.1 MB 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.02978/1.609, allocations: 7.74 MB / 0.7273 GB, free: 79.96 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.52e-05/1.609, allocations: 12.03 kB / 0.7273 GB, free: 79.95 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0308/1.64, allocations: 3.628 MB / 0.7309 GB, free: 76.3 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03224/1.672, allocations: 9.552 MB / 0.7402 GB, free: 66.76 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005638/1.673, allocations: 264 kB / 0.7405 GB, free: 66.5 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004302/1.677, allocations: 480.9 kB / 0.7409 GB, free: 66.04 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02867/1.706, allocations: 11.16 MB / 0.7518 GB, free: 54.86 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04525/1.751, allocations: 16.34 MB / 0.7678 GB, free: 37.04 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005305/1.752, allocations: 103.1 kB / 0.7679 GB, free: 36.93 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004069/1.756, allocations: 44 kB / 0.7679 GB, free: 36.89 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004627/1.76, allocations: 1.781 MB / 0.7697 GB, free: 35.11 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9003/2.661, allocations: 79.77 MB / 0.8476 GB, free: 67.14 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006999/2.668, allocations: 2.983 MB / 0.8505 GB, free: 66.48 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003145/2.671, allocations: 1.414 MB / 0.8518 GB, free: 66.45 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002082/2.671, allocations: 41.02 kB / 0.8519 GB, free: 66.44 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.453e-05/2.671, allocations: 65.23 kB / 0.852 GB, free: 66.4 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=232): time 5.961e-06/2.671, allocations: 0 / 0.852 GB, free: 66.4 MB / 0.4953 GB Notification: Performance of matching and sorting (n=244): time 0.04621/2.718, allocations: 11.46 MB / 0.8631 GB, free: 62.12 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.961e-05/2.718, allocations: 152.1 kB / 0.8633 GB, free: 61.96 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01549/2.733, allocations: 5.051 MB / 0.8682 GB, free: 61.47 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 0.0006097/2.734, allocations: 25.7 kB / 0.8682 GB, free: 61.44 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 0.005038/2.739, allocations: 5.522 MB / 0.8736 GB, free: 58.24 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 0.001554/2.741, allocations: 0.9344 MB / 0.8745 GB, free: 57.72 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001124/2.742, allocations: 1.969 kB / 0.8745 GB, free: 57.72 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 0.0009349/2.743, allocations: 0.6915 MB / 0.8752 GB, free: 57.39 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006272/2.749, allocations: 2.246 MB / 0.8774 GB, free: 57.36 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01041/2.76, allocations: 8.024 MB / 0.8853 GB, free: 49.82 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00962/2.769, allocations: 4.182 MB / 0.8893 GB, free: 49.79 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002806/2.77, allocations: 58.97 kB / 0.8894 GB, free: 49.79 MB / 0.4953 GB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.02496/2.794, allocations: 8.794 MB / 0.898 GB, free: 49.16 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001761/2.795, allocations: 94 kB / 0.8981 GB, free: 49.16 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003506/2.795, allocations: 216.5 kB / 0.8983 GB, free: 49.16 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003674/2.795, allocations: 303.1 kB / 0.8986 GB, free: 49.16 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01421/2.81, allocations: 2.234 MB / 0.9007 GB, free: 48.96 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003772/2.81, allocations: 412.5 kB / 0.9011 GB, free: 48.87 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01207/2.822, allocations: 454.8 kB / 0.9016 GB, free: 48.85 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002367/2.825, allocations: 0.5602 MB / 0.9021 GB, free: 48.85 MB / 0.4953 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.003372/2.828, allocations: 0.6121 MB / 0.9027 GB, free: 48.36 MB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00151/2.83, allocations: 0.535 MB / 0.9032 GB, free: 48.07 MB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0071/2.837, allocations: 2.398 MB / 0.9056 GB, free: 47.18 MB / 0.4953 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.412e-05/2.837, allocations: 30.92 kB / 0.9056 GB, free: 47.17 MB / 0.4953 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.956e-05/2.837, allocations: 2.375 kB / 0.9056 GB, free: 47.17 MB / 0.4953 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.982e-05/2.837, allocations: 13.84 kB / 0.9056 GB, free: 47.17 MB / 0.4953 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05272/2.89, allocations: 23.01 MB / 0.9281 GB, free: 37.55 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.627e-05/2.89, allocations: 48 kB / 0.9281 GB, free: 37.5 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003415/2.893, allocations: 489.8 kB / 0.9286 GB, free: 37.09 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.251e-05/2.893, allocations: 68 kB / 0.9287 GB, free: 37.02 MB / 0.4953 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003219/2.894, allocations: 71.52 kB / 0.9287 GB, free: 36.96 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.96e-05/2.894, allocations: 94.33 kB / 0.9288 GB, free: 36.88 MB / 0.4953 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.787e-05/2.894, allocations: 79.62 kB / 0.9289 GB, free: 36.8 MB / 0.4953 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00951/2.903, allocations: 12.61 MB / 0.9412 GB, free: 22.04 MB / 0.4953 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002187/2.906, allocations: 0.6252 MB / 0.9418 GB, free: 21.41 MB / 0.4953 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001888/2.907, allocations: 75.72 kB / 0.9419 GB, free: 21.35 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005407/2.913, allocations: 158.5 kB / 0.9421 GB, free: 21.24 MB / 0.4953 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008632/2.914, allocations: 319.6 kB / 0.9424 GB, free: 20.98 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003053/2.914, allocations: 136.3 kB / 0.9425 GB, free: 20.86 MB / 0.4953 GB Notification: Performance of sorting global known variables: time 0.008721/2.923, allocations: 3.397 MB / 0.9458 GB, free: 17.92 MB / 0.4953 GB Notification: Performance of sort global known variables: time 9.12e-07/2.923, allocations: 0 / 0.9458 GB, free: 17.92 MB / 0.4953 GB Notification: Performance of remove unused functions: time 0.01216/2.935, allocations: 1.271 MB / 0.947 GB, free: 16.65 MB / 0.4953 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.001009/2.936, allocations: 241.5 kB / 0.9473 GB, free: 16.42 MB / 0.4953 GB Notification: Performance of simCode: created initialization part: time 0.01156/2.948, allocations: 5.289 MB / 0.9524 GB, free: 11.64 MB / 0.4953 GB Notification: Performance of simCode: created event and clocks part: time 4.53e-05/2.948, allocations: 8.562 kB / 0.9525 GB, free: 11.64 MB / 0.4953 GB Notification: Performance of simCode: created simulation system equations: time 0.002783/2.951, allocations: 1.286 MB / 0.9537 GB, free: 10.5 MB / 0.4953 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006452/2.957, allocations: 0.7082 MB / 0.9544 GB, free: 9.906 MB / 0.4953 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04098/2.998, allocations: 14.44 MB / 0.9685 GB, free: 12.33 MB / 0.5109 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01529/3.013, allocations: 5.709 MB / 0.9741 GB, free: 8.176 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002331/3.016, allocations: 452.2 kB / 0.9745 GB, free: 7.75 MB / 0.5109 GB Notification: Performance of SimCode: time 1.092e-06/3.016, allocations: 0 / 0.9745 GB, free: 7.75 MB / 0.5109 GB Notification: Performance of Templates: time 0.6056/3.621, allocations: 88.22 MB / 1.061 GB, free: 149.7 MB / 0.5734 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches