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.001463/0.001463, allocations: 181.7 kB / 13.66 MB, free: 1.664 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.071/2.071, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001058/0.001058, allocations: 90.69 kB / 267.5 MB, free: 14.12 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.2772/0.2772, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.009e-05/3.018e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1253, allocations: 58.87 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6939/0.8193, allocations: 101.9 MB / 0.5723 GB, free: 1.863 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/0.8197, allocations: 73.09 kB / 0.5724 GB, free: 1.828 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.315/1.135, allocations: 55.29 MB / 0.6264 GB, free: 1.949 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.846e-06/1.135, allocations: 7.875 kB / 0.6264 GB, free: 1.941 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002036/1.135, allocations: 52 kB / 0.6264 GB, free: 1.891 MB / 426.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.01268/1.148, allocations: 2.621 MB / 0.629 GB, free: 15.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.927e-05/1.148, allocations: 8.031 kB / 0.629 GB, free: 15.42 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01998/1.168, allocations: 1.821 MB / 0.6308 GB, free: 13.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008558/1.176, allocations: 1.729 MB / 0.6325 GB, free: 12.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004735/1.177, allocations: 220.7 kB / 0.6327 GB, free: 12.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002222/1.179, allocations: 284.8 kB / 0.633 GB, free: 11.85 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03/1.209, allocations: 6.583 MB / 0.6394 GB, free: 4.891 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001754/1.21, allocations: 15.88 kB / 0.6394 GB, free: 4.875 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001757/1.211, allocations: 131.9 kB / 0.6395 GB, free: 4.746 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002151/1.213, allocations: 0.6805 MB / 0.6402 GB, free: 4.062 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02484/1.238, allocations: 5.716 MB / 0.6458 GB, free: 14.33 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06539/1.304, allocations: 23.14 MB / 0.6684 GB, free: 6.52 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0112/1.315, allocations: 2.234 MB / 0.6706 GB, free: 4.156 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002796/1.318, allocations: 0.7595 MB / 0.6713 GB, free: 3.395 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0165/1.334, allocations: 3.761 MB / 0.675 GB, free: 15.49 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.319e-05/1.335, allocations: 39.12 kB / 0.675 GB, free: 15.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 6.843e-06/1.335, allocations: 0 / 0.675 GB, free: 15.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.01343/1.348, allocations: 1.718 MB / 0.6767 GB, free: 13.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.497e-05/1.348, allocations: 63.92 kB / 0.6768 GB, free: 13.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006268/1.354, allocations: 1.772 MB / 0.6785 GB, free: 11.87 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002428/1.355, allocations: 41.69 kB / 0.6785 GB, free: 11.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002621/1.357, allocations: 1.967 MB / 0.6804 GB, free: 9.828 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000771/1.358, allocations: 371.3 kB / 0.6808 GB, free: 9.461 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003484/1.359, allocations: 60 kB / 0.6809 GB, free: 9.402 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004357/1.359, allocations: 457.6 kB / 0.6813 GB, free: 8.945 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003688/1.363, allocations: 0.8964 MB / 0.6822 GB, free: 8.047 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006356/1.369, allocations: 2.826 MB / 0.6849 GB, free: 4.254 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006347/1.376, allocations: 1.629 MB / 0.6865 GB, free: 2.621 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-05/1.376, allocations: 20 kB / 0.6865 GB, free: 2.602 MB / 490.7 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01302/1.389, allocations: 3.58 MB / 0.69 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.456e-05/1.389, allocations: 36 kB / 0.6901 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.373e-05/1.389, allocations: 68 kB / 0.6901 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001495/1.389, allocations: 100 kB / 0.6902 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004419/1.394, allocations: 0.7096 MB / 0.6909 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001701/1.394, allocations: 131.5 kB / 0.691 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00344/1.397, allocations: 439.7 kB / 0.6915 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005557/1.398, allocations: 196 kB / 0.6917 GB, free: 13.35 MB / 0.4948 GB 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 () * 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.000622/1.399, allocations: 361.9 kB / 0.692 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000388/1.399, allocations: 165.8 kB / 0.6922 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002988/1.402, allocations: 1.169 MB / 0.6933 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-05/1.402, allocations: 12 kB / 0.6933 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.402, allocations: 3.938 kB / 0.6933 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/1.402, allocations: 3.984 kB / 0.6933 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01439/1.417, allocations: 4.978 MB / 0.6982 GB, free: 6.453 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-05/1.417, allocations: 8 kB / 0.6982 GB, free: 6.445 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/1.418, allocations: 136.6 kB / 0.6983 GB, free: 6.312 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.632e-05/1.418, allocations: 12 kB / 0.6983 GB, free: 6.301 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.733e-05/1.418, allocations: 28 kB / 0.6984 GB, free: 6.273 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.872e-05/1.418, allocations: 19.92 kB / 0.6984 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.717e-05/1.418, allocations: 15.94 kB / 0.6984 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00347/1.421, allocations: 2.167 MB / 0.7005 GB, free: 3.617 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007315/1.422, allocations: 282.4 kB / 0.7008 GB, free: 3.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003304/1.423, allocations: 27.98 kB / 0.7008 GB, free: 3.293 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/1.424, allocations: 35.97 kB / 0.7008 GB, free: 3.258 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001902/1.424, allocations: 71.72 kB / 0.7009 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/1.424, allocations: 40 kB / 0.7009 GB, free: 3.148 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003348/1.427, allocations: 1.297 MB / 0.7022 GB, free: 1.82 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.31e-07/1.427, allocations: 0 / 0.7022 GB, free: 1.82 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004004/1.432, allocations: 0.7582 MB / 0.7029 GB, free: 1.059 MB / 0.4948 GB 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 () * 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.0005263/1.432, allocations: 146.9 kB / 0.7031 GB, free: 0.9023 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.3279/1.76, allocations: 2.139 MB / 0.7052 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.745e-05/1.76, allocations: 1 kB / 0.7052 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001295/1.761, allocations: 0.5264 MB / 0.7057 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/1.763, allocations: 234.4 kB / 0.7059 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01405/1.777, allocations: 4.835 MB / 0.7106 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005255/1.783, allocations: 2.467 MB / 0.713 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009332/1.784, allocations: 162.4 kB / 0.7132 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.332e-06/1.784, allocations: 0 / 0.7132 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.06747/1.851, allocations: 31.67 MB / 0.7441 GB, free: 138 MB / 0.4948 GB 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