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.002214/0.002214, allocations: 186.5 kB / 16.41 MB, free: 5.727 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.902/1.902, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001127/0.001127, allocations: 89.45 kB / 270.9 MB, free: 8.395 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.7591/0.7591, allocations: 43.57 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004565/0.0004564, allocations: 15.94 kB / 431.4 MB, free: 5.953 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1243, allocations: 58.84 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5021/0.6265, allocations: 105 MB / 0.5812 GB, free: 13.57 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/0.6269, allocations: 83.95 kB / 0.5813 GB, free: 13.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9878/1.615, allocations: 159.1 MB / 0.7367 GB, free: 83.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.555e-06/1.615, allocations: 0 / 0.7367 GB, free: 83.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004641/1.615, allocations: 158.4 kB / 0.7368 GB, free: 83.28 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: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.03148/1.647, allocations: 8.302 MB / 0.7449 GB, free: 79.94 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/1.647, allocations: 11.16 kB / 0.7449 GB, free: 79.94 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03088/1.678, allocations: 3.632 MB / 0.7485 GB, free: 79.37 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03136/1.709, allocations: 9.608 MB / 0.7579 GB, free: 76.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008184/1.71, allocations: 0.599 MB / 0.7585 GB, free: 75.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00467/1.715, allocations: 0.7975 MB / 0.7592 GB, free: 75.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06053/1.775, allocations: 18.97 MB / 0.7778 GB, free: 65.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005167/1.776, allocations: 83.12 kB / 0.7778 GB, free: 65.92 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003971/1.78, allocations: 383.5 kB / 0.7782 GB, free: 65.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004511/1.784, allocations: 1.79 MB / 0.78 GB, free: 65.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04968/1.834, allocations: 14.96 MB / 0.7946 GB, free: 51.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5506/2.385, allocations: 79.08 MB / 0.8718 GB, free: 41.59 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02896/2.414, allocations: 6.09 MB / 0.8777 GB, free: 40.92 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03161/2.445, allocations: 11 MB / 0.8885 GB, free: 37.96 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.263e-05/2.446, allocations: 67.27 kB / 0.8886 GB, free: 37.92 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=238): time 6.863e-06/2.446, allocations: 1.406 kB / 0.8886 GB, free: 37.92 MB / 0.4949 GB Notification: Performance of matching and sorting (n=262): time 0.076/2.522, allocations: 16.29 MB / 0.9045 GB, free: 33.07 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.752e-05/2.522, allocations: 155.2 kB / 0.9046 GB, free: 32.91 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02015/2.542, allocations: 5.93 MB / 0.9104 GB, free: 32.36 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0005977/2.543, allocations: 64.36 kB / 0.9105 GB, free: 32.33 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.005328/2.548, allocations: 5.362 MB / 0.9157 GB, free: 29.22 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001671/2.55, allocations: 1.017 MB / 0.9167 GB, free: 28.65 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001291/2.551, allocations: 176.6 kB / 0.9169 GB, free: 28.65 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0008093/2.552, allocations: 0.6839 MB / 0.9175 GB, free: 28.32 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009365/2.561, allocations: 2.572 MB / 0.92 GB, free: 28.29 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01292/2.574, allocations: 8.187 MB / 0.928 GB, free: 21.02 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01194/2.586, allocations: 4.445 MB / 0.9324 GB, free: 20.63 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002515/2.586, allocations: 56.38 kB / 0.9324 GB, free: 20.63 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1155) (initialization): time 0.03079/2.617, allocations: 10.22 MB / 0.9424 GB, free: 17.73 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001665/2.618, allocations: 95.12 kB / 0.9425 GB, free: 17.73 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003684/2.618, allocations: 202.5 kB / 0.9427 GB, free: 17.73 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00031/2.618, allocations: 297.8 kB / 0.943 GB, free: 17.73 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01422/2.632, allocations: 2.182 MB / 0.9451 GB, free: 17.47 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004104/2.633, allocations: 394.6 kB / 0.9455 GB, free: 17.39 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01219/2.645, allocations: 0.6128 MB / 0.9461 GB, free: 17.23 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002031/2.647, allocations: 0.5397 MB / 0.9466 GB, free: 17.16 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 915 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1131): * Single equations (assignments): 1128 * 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.01013/2.657, allocations: 3.606 MB / 0.9501 GB, free: 15.54 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001715/2.659, allocations: 0.5812 MB / 0.9507 GB, free: 15.22 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008544/2.668, allocations: 2.809 MB / 0.9534 GB, free: 14.11 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.546e-05/2.668, allocations: 26.94 kB / 0.9535 GB, free: 14.11 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-05/2.668, allocations: 9.188 kB / 0.9535 GB, free: 14.11 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.23e-05/2.668, allocations: 11.86 kB / 0.9535 GB, free: 14.11 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06126/2.729, allocations: 26.46 MB / 0.9793 GB, free: 4.074 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001573/2.729, allocations: 53.28 kB / 0.9794 GB, free: 4.074 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003732/2.733, allocations: 0.5162 MB / 0.9799 GB, free: 4.012 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.011e-05/2.733, allocations: 75.47 kB / 0.98 GB, free: 4.012 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005179/2.734, allocations: 115.3 kB / 0.9801 GB, free: 3.98 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-05/2.734, allocations: 105.8 kB / 0.9802 GB, free: 3.957 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.309e-05/2.734, allocations: 82.31 kB / 0.9802 GB, free: 3.934 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01462/2.749, allocations: 14.63 MB / 0.9945 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002747/2.751, allocations: 0.7018 MB / 0.9952 GB, free: 4.379 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001872/2.753, allocations: 123.9 kB / 0.9953 GB, free: 4.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005693/2.759, allocations: 202.8 kB / 0.9955 GB, free: 4.113 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009561/2.76, allocations: 344.8 kB / 0.9959 GB, free: 3.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003653/2.76, allocations: 153.1 kB / 0.996 GB, free: 3.691 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01388/2.774, allocations: 4.212 MB / 1 GB, free: 292 kB / 0.5105 GB Notification: Performance of sort global known variables: time 8.02e-07/2.774, allocations: 4 kB / 1 GB, free: 288 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0224/2.797, allocations: 2.064 MB / 1.002 GB, free: 0 / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 240 * 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 (270): * Single equations (assignments): 267 * 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.001404/2.798, allocations: 296.2 kB / 1.002 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01805/2.816, allocations: 5.975 MB / 1.008 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.513e-05/2.816, allocations: 8 kB / 1.008 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004144/2.82, allocations: 1.478 MB / 1.01 GB, free: 9.211 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008133/2.829, allocations: 0.8631 MB / 1.011 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05536/2.884, allocations: 20.92 MB / 1.031 GB, free: 4.473 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01664/2.901, allocations: 5.737 MB / 1.037 GB, free: 300 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003698/2.905, allocations: 0.5341 MB / 1.037 GB, free: 0 / 0.5417 GB Notification: Performance of SimCode: time 1.683e-06/2.905, allocations: 336 / 1.037 GB, free: 0 / 0.5417 GB Notification: Performance of Templates: time 0.619/3.524, allocations: 92.26 MB / 1.127 GB, free: 140.6 MB / 0.5886 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