Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001062/0.001062, allocations: 194.7 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, allocations: 226.5 MB / 244.1 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000781/0.0007809, allocations: 99.17 kB / 296.1 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2969/0.2969, allocations: 44.83 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002523/0.0002523, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2899, allocations: 62.96 MB / 0.5165 GB, free: 37.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1221/0.412, allocations: 106.9 MB / 0.6208 GB, free: 14.49 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.4123, allocations: 83.95 kB / 0.6209 GB, free: 14.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5237/0.9359, allocations: 152.2 MB / 0.7695 GB, free: 72.95 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.997e-06/0.936, allocations: 0 / 0.7695 GB, free: 72.95 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003817/0.9364, allocations: 144 kB / 0.7697 GB, free: 72.81 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: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.02062/0.957, allocations: 7.598 MB / 0.7771 GB, free: 65.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.9571, allocations: 8.031 kB / 0.7771 GB, free: 65.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0159/0.973, allocations: 3.395 MB / 0.7804 GB, free: 61.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01323/0.9863, allocations: 7.076 MB / 0.7873 GB, free: 54.54 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004111/0.9867, allocations: 0.5581 MB / 0.7879 GB, free: 53.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002988/0.9897, allocations: 0.7461 MB / 0.7886 GB, free: 53.24 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03285/1.023, allocations: 17.67 MB / 0.8059 GB, free: 34.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002915/1.023, allocations: 87.39 kB / 0.8059 GB, free: 34.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001862/1.025, allocations: 367.8 kB / 0.8063 GB, free: 33.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002004/1.027, allocations: 1.617 MB / 0.8079 GB, free: 32.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0255/1.052, allocations: 13.69 MB / 0.8212 GB, free: 18.33 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3409/1.393, allocations: 74.5 MB / 0.894 GB, free: 66.64 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0144/1.408, allocations: 5.466 MB / 0.8993 GB, free: 65.98 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002797/1.411, allocations: 2.1 MB / 0.9014 GB, free: 65.94 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01709/1.428, allocations: 9.87 MB / 0.911 GB, free: 63.01 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/1.428, allocations: 56.66 kB / 0.9111 GB, free: 62.97 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=182): time 3.757e-06/1.428, allocations: 0 / 0.9111 GB, free: 62.97 MB / 0.5261 GB Notification: Performance of matching and sorting (n=206): time 0.0353/1.463, allocations: 14.3 MB / 0.925 GB, free: 58.81 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/1.463, allocations: 152.5 kB / 0.9252 GB, free: 58.65 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009219/1.472, allocations: 6.406 MB / 0.9314 GB, free: 58.13 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003086/1.473, allocations: 55.64 kB / 0.9315 GB, free: 58.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003509/1.476, allocations: 5.298 MB / 0.9367 GB, free: 55.21 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001011/1.477, allocations: 0.8168 MB / 0.9375 GB, free: 54.77 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003841/1.478, allocations: 167.3 kB / 0.9376 GB, free: 54.77 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003953/1.478, allocations: 0.644 MB / 0.9382 GB, free: 54.45 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003895/1.482, allocations: 2.262 MB / 0.9405 GB, free: 54.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005595/1.488, allocations: 7.614 MB / 0.9479 GB, free: 47.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009387/1.497, allocations: 10.68 MB / 0.9583 GB, free: 40.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001794/1.497, allocations: 59.22 kB / 0.9584 GB, free: 40.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.01729/1.514, allocations: 9.51 MB / 0.9677 GB, free: 37.92 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/1.515, allocations: 84.75 kB / 0.9677 GB, free: 37.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002299/1.515, allocations: 191.2 kB / 0.9679 GB, free: 37.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002201/1.515, allocations: 251.9 kB / 0.9682 GB, free: 37.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005855/1.521, allocations: 1.995 MB / 0.9701 GB, free: 37.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002063/1.521, allocations: 378.8 kB / 0.9705 GB, free: 37.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006482/1.528, allocations: 0.5641 MB / 0.971 GB, free: 37.44 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009375/1.529, allocations: 0.5019 MB / 0.9715 GB, free: 37.38 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * Number of states: 0 () * Number of discrete variables: 68 (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.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,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 (1031): * Single equations (assignments): 1028 * 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.005813/1.534, allocations: 3.398 MB / 0.9748 GB, free: 35.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009821/1.535, allocations: 0.5428 MB / 0.9754 GB, free: 35.56 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/1.537, allocations: 0.6473 MB / 0.976 GB, free: 35.25 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-05/1.537, allocations: 26.36 kB / 0.976 GB, free: 35.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.958e-05/1.537, allocations: 3.594 kB / 0.976 GB, free: 35.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/1.537, allocations: 11.41 kB / 0.976 GB, free: 35.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02074/1.557, allocations: 16.65 MB / 0.9923 GB, free: 28.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-05/1.558, allocations: 39.34 kB / 0.9923 GB, free: 28.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/1.559, allocations: 379.5 kB / 0.9927 GB, free: 28.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.283e-05/1.559, allocations: 56.03 kB / 0.9927 GB, free: 28.35 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/1.559, allocations: 80 kB / 0.9928 GB, free: 28.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.311e-05/1.559, allocations: 73.88 kB / 0.9929 GB, free: 28.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-05/1.559, allocations: 63.69 kB / 0.993 GB, free: 28.14 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003272/1.562, allocations: 3.886 MB / 0.9967 GB, free: 23.95 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001345/1.564, allocations: 0.6232 MB / 0.9974 GB, free: 23.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005918/1.564, allocations: 90.03 kB / 0.9974 GB, free: 23.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001983/1.566, allocations: 164 kB / 0.9976 GB, free: 23.12 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002448/1.566, allocations: 257.8 kB / 0.9978 GB, free: 22.92 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/1.566, allocations: 106.2 kB / 0.9979 GB, free: 22.82 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006418/1.573, allocations: 4.037 MB / 1.002 GB, free: 19.55 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.51e-07/1.573, allocations: 0 / 1.002 GB, free: 19.55 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007341/1.58, allocations: 1.366 MB / 1.003 GB, free: 18.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 171 * 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 (198): * Single equations (assignments): 195 * 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.000487/1.581, allocations: 250.4 kB / 1.003 GB, free: 17.95 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006902/1.588, allocations: 5.206 MB / 1.009 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.616e-05/1.588, allocations: 8.375 kB / 1.009 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/1.589, allocations: 1.112 MB / 1.01 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0334/1.622, allocations: 0.856 MB / 1.01 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0298/1.652, allocations: 19.33 MB / 1.029 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0066/1.659, allocations: 5.232 MB / 1.034 GB, free: 6.648 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001186/1.66, allocations: 416.4 kB / 1.035 GB, free: 6.25 MB / 0.5417 GB Notification: Performance of SimCode: time 7.71e-07/1.66, allocations: 3.938 kB / 1.035 GB, free: 6.246 MB / 0.5417 GB Notification: Performance of Templates: time 0.3491/2.009, allocations: 85.7 MB / 1.119 GB, free: 174 MB / 0.6042 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches