Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009943/0.0009944, allocations: 181.6 kB / 17.41 MB, free: 4.289 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.001079/0.001079, allocations: 89.36 kB / 271.9 MB, free: 8.262 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.5498/0.5498, allocations: 43.55 MB / 363.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005621/0.0005624, allocations: 15.94 kB / 432.6 MB, free: 5.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1702, allocations: 58.85 MB / 491.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.552/0.7223, allocations: 102.1 MB / 0.5797 GB, free: 272 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004371/0.7228, allocations: 83.94 kB / 0.5797 GB, free: 188 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2569/0.9797, allocations: 54.54 MB / 0.633 GB, free: 9.316 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.878e-06/0.9798, allocations: 3.938 kB / 0.633 GB, free: 9.312 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000181/0.98, allocations: 55.98 kB / 0.6331 GB, free: 9.258 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.009676/0.9897, allocations: 2.639 MB / 0.6356 GB, free: 6.555 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.9898, allocations: 12.03 kB / 0.6357 GB, free: 6.543 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01471/1.004, allocations: 1.822 MB / 0.6374 GB, free: 4.715 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007374/1.012, allocations: 1.743 MB / 0.6391 GB, free: 2.926 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004417/1.012, allocations: 222.1 kB / 0.6394 GB, free: 2.707 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001907/1.014, allocations: 292.3 kB / 0.6396 GB, free: 2.422 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02437/1.039, allocations: 6.618 MB / 0.6461 GB, free: 11.43 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001796/1.039, allocations: 16.06 kB / 0.6461 GB, free: 11.41 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001623/1.041, allocations: 139.9 kB / 0.6462 GB, free: 11.27 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001733/1.042, allocations: 0.6805 MB / 0.6469 GB, free: 10.59 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02/1.062, allocations: 5.767 MB / 0.6525 GB, free: 4.805 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3944/1.457, allocations: 23.1 MB / 0.6751 GB, free: 96.37 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009421/1.466, allocations: 2.242 MB / 0.6773 GB, free: 95.76 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002349/1.469, allocations: 0.7737 MB / 0.678 GB, free: 95.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01292/1.482, allocations: 3.742 MB / 0.6817 GB, free: 94.75 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.843e-05/1.482, allocations: 40 kB / 0.6817 GB, free: 94.71 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 9.077e-06/1.482, allocations: 1.25 kB / 0.6817 GB, free: 94.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.01126/1.493, allocations: 2.186 MB / 0.6839 GB, free: 94.58 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.285e-05/1.493, allocations: 68.06 kB / 0.6839 GB, free: 94.51 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006151/1.5, allocations: 1.999 MB / 0.6859 GB, free: 94.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002041/1.5, allocations: 37.61 kB / 0.6859 GB, free: 94.26 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002044/1.502, allocations: 1.958 MB / 0.6878 GB, free: 93.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006737/1.503, allocations: 361.2 kB / 0.6882 GB, free: 93.15 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003604/1.503, allocations: 65.38 kB / 0.6882 GB, free: 93.15 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003573/1.503, allocations: 444.6 kB / 0.6887 GB, free: 92.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002686/1.506, allocations: 0.9323 MB / 0.6896 GB, free: 92.83 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003944/1.51, allocations: 2.859 MB / 0.6924 GB, free: 90.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007467/1.518, allocations: 4.147 MB / 0.6964 GB, free: 87.85 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001741/1.518, allocations: 19.81 kB / 0.6964 GB, free: 87.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01149/1.529, allocations: 3.681 MB / 0.7 GB, free: 87.47 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001328/1.529, allocations: 32.47 kB / 0.7001 GB, free: 87.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000154/1.53, allocations: 69.81 kB / 0.7001 GB, free: 87.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001629/1.53, allocations: 91.44 kB / 0.7002 GB, free: 87.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004096/1.534, allocations: 0.7075 MB / 0.7009 GB, free: 87.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001919/1.534, allocations: 141.5 kB / 0.701 GB, free: 87.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004459/1.539, allocations: 441.1 kB / 0.7015 GB, free: 87.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001051/1.54, allocations: 197.1 kB / 0.7016 GB, free: 87.15 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * Number of states: 0 () * Number of discrete variables: 24 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (388): * Single equations (assignments): 385 * 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.005236/1.545, allocations: 1.416 MB / 0.703 GB, free: 86.93 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006762/1.546, allocations: 170.3 kB / 0.7032 GB, free: 86.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003563/1.549, allocations: 1.192 MB / 0.7044 GB, free: 86.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.678e-05/1.549, allocations: 10.97 kB / 0.7044 GB, free: 86.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/1.549, allocations: 3.938 kB / 0.7044 GB, free: 86.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/1.549, allocations: 7.406 kB / 0.7044 GB, free: 86.75 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/1.564, allocations: 4.99 MB / 0.7093 GB, free: 85.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-05/1.564, allocations: 8.625 kB / 0.7093 GB, free: 85.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008503/1.565, allocations: 136.2 kB / 0.7094 GB, free: 85.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.291e-05/1.565, allocations: 14.88 kB / 0.7094 GB, free: 85.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.849e-05/1.565, allocations: 24.52 kB / 0.7094 GB, free: 85.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.142e-05/1.565, allocations: 25.25 kB / 0.7095 GB, free: 85.95 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.215e-05/1.565, allocations: 15.72 kB / 0.7095 GB, free: 85.95 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002943/1.568, allocations: 1.499 MB / 0.7109 GB, free: 85.35 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007056/1.568, allocations: 273.6 kB / 0.7112 GB, free: 85.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003369/1.569, allocations: 29.86 kB / 0.7112 GB, free: 85.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/1.57, allocations: 41.97 kB / 0.7113 GB, free: 85.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/1.57, allocations: 74.72 kB / 0.7113 GB, free: 85.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/1.57, allocations: 39 kB / 0.7114 GB, free: 85.12 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003677/1.574, allocations: 1.31 MB / 0.7126 GB, free: 84.78 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.21e-07/1.574, allocations: 0 / 0.7126 GB, free: 84.78 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005767/1.58, allocations: 0.7533 MB / 0.7134 GB, free: 84.55 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.0005741/1.58, allocations: 165.9 kB / 0.7135 GB, free: 84.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006653/1.587, allocations: 2.174 MB / 0.7157 GB, free: 83.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.907e-05/1.587, allocations: 2.281 kB / 0.7157 GB, free: 83.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0015/1.589, allocations: 0.5282 MB / 0.7162 GB, free: 83.59 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006677/1.595, allocations: 247.9 kB / 0.7164 GB, free: 83.49 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01931/1.615, allocations: 7.079 MB / 0.7233 GB, free: 79.54 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005973/1.621, allocations: 2.41 MB / 0.7257 GB, free: 78.45 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009239/1.622, allocations: 160.7 kB / 0.7258 GB, free: 78.43 MB / 490.7 MB Notification: Performance of SimCode: time 8.01e-07/1.622, allocations: 0 / 0.7258 GB, free: 78.43 MB / 490.7 MB Notification: Performance of Templates: time 0.07868/1.7, allocations: 31.98 MB / 0.7571 GB, free: 75.41 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches