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.000897/0.0008972, allocations: 182.8 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.22/1.22, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0007407/0.0007406, allocations: 86.61 kB / 267 MB, free: 9.27 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.2981/0.2981, allocations: 43.47 MB / 358.6 MB, free: 51.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.086e-05/3.086e-05, allocations: 4 kB / 425.3 MB, free: 8.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 58.85 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3449/0.4522, allocations: 104.9 MB / 0.5752 GB, free: 1.012 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/0.4524, allocations: 79.58 kB / 0.5753 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5789/1.031, allocations: 159.2 MB / 0.7308 GB, free: 80.07 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.854e-06/1.031, allocations: 0 / 0.7308 GB, free: 80.07 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002471/1.032, allocations: 158.7 kB / 0.731 GB, free: 80.07 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.01818/1.05, allocations: 7.754 MB / 0.7385 GB, free: 77.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/1.05, allocations: 8.594 kB / 0.7385 GB, free: 77.07 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01749/1.067, allocations: 3.625 MB / 0.7421 GB, free: 76.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01979/1.087, allocations: 9.568 MB / 0.7514 GB, free: 75.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005364/1.088, allocations: 0.6032 MB / 0.752 GB, free: 75.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00286/1.091, allocations: 0.7871 MB / 0.7528 GB, free: 75.45 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03205/1.123, allocations: 18.7 MB / 0.771 GB, free: 71.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002388/1.123, allocations: 92.03 kB / 0.7711 GB, free: 71.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001064/1.124, allocations: 385 kB / 0.7715 GB, free: 71.22 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002056/1.126, allocations: 1.786 MB / 0.7732 GB, free: 71.01 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02476/1.151, allocations: 14.5 MB / 0.7874 GB, free: 66.51 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07795/1.229, allocations: 79.11 MB / 0.8647 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01407/1.243, allocations: 6.016 MB / 0.8705 GB, free: 17.45 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002929/1.246, allocations: 2.391 MB / 0.8729 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01493/1.261, allocations: 11.01 MB / 0.8836 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/1.261, allocations: 60.56 kB / 0.8837 GB, free: 5.691 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=238): time 6.292e-06/1.261, allocations: 0 / 0.8837 GB, free: 5.691 MB / 0.5105 GB Notification: Performance of matching and sorting (n=262): time 0.2835/1.545, allocations: 14.76 MB / 0.8981 GB, free: 89.13 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.759e-05/1.545, allocations: 155.2 kB / 0.8982 GB, free: 88.97 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008642/1.553, allocations: 5.755 MB / 0.9039 GB, free: 88.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000396/1.554, allocations: 64.33 kB / 0.9039 GB, free: 88.42 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002909/1.557, allocations: 5.597 MB / 0.9094 GB, free: 85.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008913/1.558, allocations: 1.014 MB / 0.9104 GB, free: 85.21 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002957/1.558, allocations: 178.9 kB / 0.9105 GB, free: 85.21 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003266/1.558, allocations: 0.6805 MB / 0.9112 GB, free: 84.88 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002846/1.561, allocations: 2.379 MB / 0.9135 GB, free: 84.86 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004394/1.565, allocations: 7.982 MB / 0.9213 GB, free: 77.58 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004408/1.57, allocations: 4.297 MB / 0.9255 GB, free: 77.54 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.396e-05/1.57, allocations: 57.72 kB / 0.9256 GB, free: 77.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1155) (initialization): time 0.01296/1.583, allocations: 10.07 MB / 0.9354 GB, free: 76.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.695e-05/1.583, allocations: 91.41 kB / 0.9355 GB, free: 76.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001851/1.583, allocations: 200.9 kB / 0.9357 GB, free: 76.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002149/1.583, allocations: 292.6 kB / 0.936 GB, free: 76.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006429/1.59, allocations: 2.186 MB / 0.9381 GB, free: 76.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002841/1.59, allocations: 390.6 kB / 0.9385 GB, free: 76.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006496/1.597, allocations: 0.6135 MB / 0.9391 GB, free: 76.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000685/1.597, allocations: 0.5355 MB / 0.9396 GB, free: 76.32 MB / 0.5105 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 () * 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.0009007/1.598, allocations: 0.8049 MB / 0.9404 GB, free: 75.89 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000725/1.599, allocations: 0.5861 MB / 0.941 GB, free: 75.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004077/1.603, allocations: 2.744 MB / 0.9436 GB, free: 75.41 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.275e-05/1.603, allocations: 28.89 kB / 0.9437 GB, free: 75.41 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/1.603, allocations: 2.156 kB / 0.9437 GB, free: 75.41 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-05/1.603, allocations: 14.73 kB / 0.9437 GB, free: 75.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03088/1.634, allocations: 26.41 MB / 0.9695 GB, free: 67.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.861e-05/1.634, allocations: 50.72 kB / 0.9695 GB, free: 67.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001553/1.636, allocations: 0.5188 MB / 0.97 GB, free: 67.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.733e-05/1.636, allocations: 77.53 kB / 0.9701 GB, free: 67.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001722/1.636, allocations: 119.5 kB / 0.9702 GB, free: 67.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.907e-05/1.636, allocations: 101.4 kB / 0.9703 GB, free: 67.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.15e-05/1.636, allocations: 88.81 kB / 0.9704 GB, free: 67.47 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006045/1.642, allocations: 14.57 MB / 0.9846 GB, free: 52.86 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/1.643, allocations: 0.6844 MB / 0.9853 GB, free: 52.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005331/1.644, allocations: 126.6 kB / 0.9854 GB, free: 52.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002234/1.646, allocations: 196 kB / 0.9856 GB, free: 52.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002976/1.646, allocations: 349 kB / 0.9859 GB, free: 52.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001614/1.647, allocations: 146.7 kB / 0.9861 GB, free: 52.15 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004914/1.652, allocations: 4.038 MB / 0.99 GB, free: 50.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.82e-07/1.652, allocations: 0 / 0.99 GB, free: 50.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006824/1.658, allocations: 1.497 MB / 0.9915 GB, free: 50.62 MB / 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 () * 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.0004067/1.659, allocations: 284.3 kB / 0.9918 GB, free: 50.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006486/1.665, allocations: 5.756 MB / 0.9974 GB, free: 48.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.521e-05/1.665, allocations: 8.344 kB / 0.9974 GB, free: 48.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001461/1.667, allocations: 1.45 MB / 0.9988 GB, free: 47.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003901/1.671, allocations: 0.8649 MB / 0.9996 GB, free: 47.59 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02233/1.693, allocations: 13.99 MB / 1.013 GB, free: 41.07 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006857/1.7, allocations: 5.747 MB / 1.019 GB, free: 39.27 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006846/1.707, allocations: 2.8 MB / 1.022 GB, free: 37.72 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009041/1.708, allocations: 393.3 kB / 1.022 GB, free: 37.34 MB / 0.5105 GB Notification: Performance of SimCode: time 8.31e-07/1.708, allocations: 2.625 kB / 1.022 GB, free: 37.34 MB / 0.5105 GB Notification: Performance of Templates: time 0.07727/1.785, allocations: 45.9 MB / 1.067 GB, free: 6.688 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