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.001203/0.001203, allocations: 175.3 kB / 16.76 MB, free: 5.047 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.447/1.447, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007432/0.0007433, allocations: 86.41 kB / 271.3 MB, free: 8.25 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.3311/0.3311, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003823, allocations: 12 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1185, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3961/0.5147, allocations: 105.1 MB / 0.5826 GB, free: 12.84 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/0.515, allocations: 83.95 kB / 0.5827 GB, free: 12.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6246/1.14, allocations: 156.3 MB / 0.7353 GB, free: 83.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.535e-06/1.14, allocations: 0 / 0.7353 GB, free: 83.27 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004793/1.14, allocations: 151.3 kB / 0.7354 GB, free: 83.27 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.03041/1.171, allocations: 8.006 MB / 0.7433 GB, free: 79.92 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/1.171, allocations: 7.375 kB / 0.7433 GB, free: 79.92 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01949/1.19, allocations: 3.508 MB / 0.7467 GB, free: 79.35 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01615/1.206, allocations: 8.248 MB / 0.7547 GB, free: 76.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000544/1.207, allocations: 0.6016 MB / 0.7553 GB, free: 76.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003632/1.21, allocations: 0.7867 MB / 0.7561 GB, free: 75.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03723/1.248, allocations: 18.88 MB / 0.7745 GB, free: 66.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003287/1.248, allocations: 95.62 kB / 0.7746 GB, free: 66.63 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002087/1.25, allocations: 384.2 kB / 0.775 GB, free: 66.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00249/1.253, allocations: 1.786 MB / 0.7767 GB, free: 66.11 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02943/1.282, allocations: 14.82 MB / 0.7912 GB, free: 55.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3402/1.622, allocations: 78.93 MB / 0.8683 GB, free: 42.81 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01685/1.639, allocations: 6.086 MB / 0.8742 GB, free: 42.14 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004219/1.644, allocations: 2.432 MB / 0.8766 GB, free: 42.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02001/1.664, allocations: 10.9 MB / 0.8873 GB, free: 39.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.8e-05/1.664, allocations: 61.84 kB / 0.8873 GB, free: 39.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=238): time 5.811e-06/1.664, allocations: 3.812 kB / 0.8873 GB, free: 39.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=262): time 0.04813/1.712, allocations: 16.02 MB / 0.903 GB, free: 34.72 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.525e-05/1.712, allocations: 158.3 kB / 0.9031 GB, free: 34.56 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01398/1.726, allocations: 6.685 MB / 0.9096 GB, free: 33.94 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004973/1.727, allocations: 63.75 kB / 0.9097 GB, free: 33.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004261/1.731, allocations: 5.595 MB / 0.9152 GB, free: 30.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001354/1.732, allocations: 1.014 MB / 0.9162 GB, free: 30.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008879/1.733, allocations: 179.1 kB / 0.9163 GB, free: 30.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005338/1.734, allocations: 0.6754 MB / 0.917 GB, free: 29.96 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004947/1.739, allocations: 2.57 MB / 0.9195 GB, free: 29.94 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009441/1.748, allocations: 8.222 MB / 0.9275 GB, free: 22.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01438/1.763, allocations: 11.68 MB / 0.9389 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002815/1.763, allocations: 59.34 kB / 0.939 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1155) (initialization): time 0.02119/1.784, allocations: 10.47 MB / 0.9492 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001419/1.784, allocations: 93 kB / 0.9493 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002715/1.785, allocations: 199.9 kB / 0.9495 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002223/1.785, allocations: 267.3 kB / 0.9498 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006772/1.792, allocations: 2.18 MB / 0.9519 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002663/1.792, allocations: 401.5 kB / 0.9523 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008147/1.8, allocations: 0.6072 MB / 0.9529 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001747/1.802, allocations: 0.5432 MB / 0.9534 GB, free: 9.32 MB / 0.4948 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.01081/1.813, allocations: 3.611 MB / 0.9569 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00169/1.814, allocations: 0.5775 MB / 0.9575 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005344/1.82, allocations: 2.806 MB / 0.9602 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.537e-05/1.82, allocations: 29.69 kB / 0.9602 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.589e-05/1.82, allocations: 3.938 kB / 0.9603 GB, free: 6.258 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.267e-05/1.82, allocations: 14.44 kB / 0.9603 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03902/1.859, allocations: 26.46 MB / 0.9861 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000108/1.859, allocations: 57.81 kB / 0.9862 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00182/1.861, allocations: 0.5209 MB / 0.9867 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-05/1.861, allocations: 68 kB / 0.9867 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002073/1.861, allocations: 115.1 kB / 0.9868 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.932e-05/1.861, allocations: 110.3 kB / 0.9869 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.286e-05/1.861, allocations: 87.62 kB / 0.987 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007691/1.869, allocations: 5.175 MB / 0.9921 GB, free: 4.672 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002669/1.872, allocations: 0.6868 MB / 0.9928 GB, free: 3.992 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001169/1.873, allocations: 119.3 kB / 0.9929 GB, free: 3.887 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002813/1.876, allocations: 210.6 kB / 0.9931 GB, free: 3.723 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004593/1.876, allocations: 349.4 kB / 0.9934 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002423/1.876, allocations: 144.8 kB / 0.9935 GB, free: 3.305 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009192/1.886, allocations: 4.249 MB / 0.9977 GB, free: 0 / 0.5105 GB Notification: Performance of sort global known variables: time 6.11e-07/1.886, allocations: 336 / 0.9977 GB, free: 0 / 0.5105 GB Notification: Performance of remove unused functions: time 0.01841/1.904, allocations: 2.195 MB / 0.9998 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.0009644/1.905, allocations: 306 kB / 1 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0112/1.916, allocations: 5.985 MB / 1.006 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-05/1.916, allocations: 9.5 kB / 1.006 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002386/1.919, allocations: 1.473 MB / 1.007 GB, free: 9.199 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05293/1.972, allocations: 0.9121 MB / 1.008 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03766/2.009, allocations: 20.11 MB / 1.028 GB, free: 5.047 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01105/2.02, allocations: 5.585 MB / 1.033 GB, free: 0.8594 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01352/2.034, allocations: 3.132 MB / 1.036 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001476/2.036, allocations: 387.4 kB / 1.037 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of SimCode: time 7.42e-07/2.036, allocations: 4 kB / 1.037 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of Templates: time 0.09702/2.133, allocations: 46.09 MB / 1.082 GB, free: 1.762 MB / 0.5886 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/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_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches