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.001171/0.001171, allocations: 183.7 kB / 15.76 MB, free: 6.363 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.711/1.711, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001026/0.001026, allocations: 94.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2558/0.2558, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002914/0.0002912, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1208, allocations: 58.86 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4338/0.5547, allocations: 105 MB / 0.5813 GB, free: 11.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.555, allocations: 76.47 kB / 0.5813 GB, free: 11.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7274/1.282, allocations: 159.1 MB / 0.7367 GB, free: 95.06 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.986e-06/1.282, allocations: 0 / 0.7367 GB, free: 95.06 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005111/1.283, allocations: 155 kB / 0.7368 GB, free: 95.06 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.02778/1.311, allocations: 8.306 MB / 0.7449 GB, free: 91.79 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/1.311, allocations: 7.875 kB / 0.745 GB, free: 91.79 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0193/1.33, allocations: 3.623 MB / 0.7485 GB, free: 91.24 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02413/1.354, allocations: 9.611 MB / 0.7579 GB, free: 90.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007398/1.355, allocations: 0.6001 MB / 0.7585 GB, free: 90.27 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005454/1.361, allocations: 0.7883 MB / 0.7592 GB, free: 90.27 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05174/1.412, allocations: 18.97 MB / 0.7778 GB, free: 86.08 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001/1.413, allocations: 94.17 kB / 0.7779 GB, free: 86.07 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00658/1.42, allocations: 377 kB / 0.7782 GB, free: 86.07 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003856/1.424, allocations: 1.786 MB / 0.78 GB, free: 86.05 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03411/1.458, allocations: 14.97 MB / 0.7946 GB, free: 82.71 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09933/1.557, allocations: 79.09 MB / 0.8718 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01526/1.573, allocations: 6.094 MB / 0.8778 GB, free: 9.461 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0174/1.59, allocations: 11.01 MB / 0.8885 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.142e-05/1.59, allocations: 72.48 kB / 0.8886 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=238): time 6.121e-06/1.59, allocations: 4 kB / 0.8886 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=262): time 0.3592/1.95, allocations: 16.27 MB / 0.9045 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.105e-05/1.95, allocations: 159.8 kB / 0.9046 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01804/1.968, allocations: 5.934 MB / 0.9104 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006723/1.968, allocations: 63.83 kB / 0.9105 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.006598/1.975, allocations: 5.601 MB / 0.916 GB, free: 99.57 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002006/1.977, allocations: 1.013 MB / 0.9169 GB, free: 99.12 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001074/1.978, allocations: 178.6 kB / 0.9171 GB, free: 99.12 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006469/1.979, allocations: 0.6763 MB / 0.9178 GB, free: 98.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005639/1.985, allocations: 2.572 MB / 0.9203 GB, free: 98.77 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01073/1.995, allocations: 8.179 MB / 0.9283 GB, free: 91.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009941/2.005, allocations: 4.441 MB / 0.9326 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000261/2.006, allocations: 59.84 kB / 0.9327 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1155) (initialization): time 0.02578/2.031, allocations: 10.47 MB / 0.9429 GB, free: 90.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001825/2.032, allocations: 91.81 kB / 0.943 GB, free: 90.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003247/2.032, allocations: 203.4 kB / 0.9432 GB, free: 90.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002766/2.032, allocations: 291 kB / 0.9435 GB, free: 90.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008273/2.04, allocations: 2.182 MB / 0.9456 GB, free: 90.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005387/2.041, allocations: 394.4 kB / 0.946 GB, free: 90.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01033/2.051, allocations: 0.6078 MB / 0.9466 GB, free: 90.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002511/2.054, allocations: 0.5427 MB / 0.9471 GB, free: 90.3 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 () * 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.01197/2.066, allocations: 3.613 MB / 0.9506 GB, free: 89.87 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00224/2.068, allocations: 0.5809 MB / 0.9512 GB, free: 89.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007097/2.075, allocations: 2.807 MB / 0.9539 GB, free: 89.39 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.189e-05/2.075, allocations: 25.78 kB / 0.954 GB, free: 89.39 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.329e-05/2.075, allocations: 7.188 kB / 0.954 GB, free: 89.39 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.264e-05/2.075, allocations: 11.34 kB / 0.954 GB, free: 89.39 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04456/2.12, allocations: 26.46 MB / 0.9798 GB, free: 80.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002003/2.12, allocations: 54.53 kB / 0.9799 GB, free: 80.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002092/2.122, allocations: 0.5149 MB / 0.9804 GB, free: 80.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.373e-05/2.122, allocations: 77.47 kB / 0.9804 GB, free: 80.29 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004319/2.123, allocations: 121.8 kB / 0.9806 GB, free: 80.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.608e-05/2.123, allocations: 106.1 kB / 0.9807 GB, free: 80.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.98e-05/2.123, allocations: 82.47 kB / 0.9807 GB, free: 80.21 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008131/2.131, allocations: 14.63 MB / 0.995 GB, free: 65.54 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002443/2.134, allocations: 0.6861 MB / 0.9957 GB, free: 65.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00107/2.135, allocations: 124.5 kB / 0.9958 GB, free: 65.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002759/2.138, allocations: 205.4 kB / 0.996 GB, free: 65 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003541/2.138, allocations: 347.8 kB / 0.9963 GB, free: 64.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001859/2.138, allocations: 147.2 kB / 0.9965 GB, free: 64.83 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008184/2.146, allocations: 4.214 MB / 1.001 GB, free: 63.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.4e-07/2.146, allocations: 0 / 1.001 GB, free: 63.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01114/2.157, allocations: 1.501 MB / 1.002 GB, free: 63.32 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 () * 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.001033/2.159, allocations: 300 kB / 1.002 GB, free: 63.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0112/2.17, allocations: 5.977 MB / 1.008 GB, free: 61.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.602e-05/2.17, allocations: 5.719 kB / 1.008 GB, free: 61.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003361/2.173, allocations: 1.474 MB / 1.01 GB, free: 60.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006329/2.18, allocations: 0.8697 MB / 1.01 GB, free: 60.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03492/2.215, allocations: 20.05 MB / 1.03 GB, free: 43.33 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009577/2.224, allocations: 5.739 MB / 1.036 GB, free: 39.15 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008894/2.233, allocations: 2.795 MB / 1.038 GB, free: 37.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001445/2.235, allocations: 398 kB / 1.039 GB, free: 37.02 MB / 0.5105 GB Notification: Performance of SimCode: time 1.493e-06/2.235, allocations: 3.938 kB / 1.039 GB, free: 37.01 MB / 0.5105 GB Notification: Performance of Templates: time 0.09064/2.325, allocations: 45.87 MB / 1.084 GB, free: 0.7734 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