Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008963/0.0008962, allocations: 175.5 kB / 16.72 MB, free: 4.957 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.179/1.179, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0006947/0.0006947, allocations: 89.41 kB / 271.2 MB, free: 8.242 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.2895/0.2895, allocations: 43.56 MB / 363.1 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003507, allocations: 12 kB / 432.1 MB, free: 5.719 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09654/0.09691, allocations: 58.84 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.256/0.353, allocations: 121 MB / 0.5975 GB, free: 10.64 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.04747/0.4005, allocations: 23.66 MB / 0.6206 GB, free: 5.312 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02138/0.4219, allocations: 0.5651 MB / 0.6212 GB, free: 4.746 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01826/0.4402, allocations: 6.458 MB / 0.6275 GB, free: 14.26 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04406/0.4843, allocations: 18.74 MB / 0.6458 GB, free: 11.44 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007537/0.4918, allocations: 1.467 MB / 0.6472 GB, free: 9.973 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.01402/0.5059, allocations: 11.44 MB / 0.6584 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01545/0.5214, allocations: 12.49 MB / 0.6706 GB, free: 1.941 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.234/0.7554, allocations: 3.094 MB / 0.6736 GB, free: 14.92 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006782/0.7622, allocations: 4.775 MB / 0.6783 GB, free: 14.92 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001724/0.7639, allocations: 378.2 kB / 0.6786 GB, free: 14.92 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003425/0.7674, allocations: 1.224 MB / 0.6798 GB, free: 14.92 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004323/0.7717, allocations: 4.22 MB / 0.684 GB, free: 14.92 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005687/0.7774, allocations: 4.566 MB / 0.6884 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01239/0.7898, allocations: 13.14 MB / 0.7012 GB, free: 14.04 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.7899, allocations: 0 / 0.7012 GB, free: 14.04 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.7899, allocations: 0 / 0.7012 GB, free: 14.04 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004987/0.7904, allocations: 3.469 kB / 0.7012 GB, free: 14.04 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: 3665 * Number of variables: 3665 Notification: Performance of Generate backend data structure: time 0.02081/0.8112, allocations: 9.31 MB / 0.7103 GB, free: 10.01 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.8113, allocations: 10.77 kB / 0.7104 GB, free: 10.01 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006534/0.8178, allocations: 1.702 MB / 0.712 GB, free: 9.875 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01557/0.8334, allocations: 3.124 MB / 0.7151 GB, free: 9.156 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01295/0.8464, allocations: 7.304 MB / 0.7222 GB, free: 6.949 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004033/0.8468, allocations: 0.5942 MB / 0.7228 GB, free: 6.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002186/0.849, allocations: 0.7658 MB / 0.7235 GB, free: 6.922 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04185/0.8909, allocations: 24.57 MB / 0.7475 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003073/0.8913, allocations: 80.16 kB / 0.7476 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001358/0.8926, allocations: 367.8 kB / 0.7479 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006303/0.8989, allocations: 4.55 MB / 0.7524 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03738/0.9363, allocations: 19.15 MB / 0.7711 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1105/1.047, allocations: 85.74 MB / 0.8548 GB, free: 7.859 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02052/1.067, allocations: 7.835 MB / 0.8625 GB, free: 1.543 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004987/1.072, allocations: 3.1 MB / 0.8655 GB, free: 15.53 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02268/1.095, allocations: 13.12 MB / 0.8783 GB, free: 3.477 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.729e-05/1.095, allocations: 73 kB / 0.8784 GB, free: 3.398 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=336): time 6.121e-06/1.095, allocations: 0 / 0.8784 GB, free: 3.398 MB / 0.5886 GB Notification: Performance of matching and sorting (n=360): time 0.2344/1.33, allocations: 20.74 MB / 0.8986 GB, free: 248.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/1.33, allocations: 166.7 kB / 0.8988 GB, free: 247.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0117/1.342, allocations: 7.411 MB / 0.906 GB, free: 247.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0005895/1.342, allocations: 83.44 kB / 0.9061 GB, free: 247.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.003612/1.346, allocations: 6.787 MB / 0.9127 GB, free: 243.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001437/1.347, allocations: 1.358 MB / 0.9141 GB, free: 242.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005929/1.348, allocations: 217.8 kB / 0.9143 GB, free: 242.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0005076/1.348, allocations: 0.7669 MB / 0.915 GB, free: 242.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005159/1.353, allocations: 3.24 MB / 0.9182 GB, free: 241.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007606/1.361, allocations: 9.845 MB / 0.9278 GB, free: 231.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01425/1.375, allocations: 14.29 MB / 0.9417 GB, free: 219.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002251/1.376, allocations: 71.59 kB / 0.9418 GB, free: 219 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.02563/1.401, allocations: 12.76 MB / 0.9543 GB, free: 214.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001472/1.401, allocations: 109.9 kB / 0.9544 GB, free: 214.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002727/1.402, allocations: 232 kB / 0.9546 GB, free: 214.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00027/1.402, allocations: 313 kB / 0.9549 GB, free: 214.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008016/1.41, allocations: 2.554 MB / 0.9574 GB, free: 213.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000318/1.41, allocations: 462.6 kB / 0.9578 GB, free: 213.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007959/1.418, allocations: 0.5126 MB / 0.9583 GB, free: 213.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00172/1.42, allocations: 0.6602 MB / 0.959 GB, free: 213.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1063 * Number of states: 0 () * Number of discrete variables: 72 (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.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[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.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[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.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[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.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[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 (1377): * Single equations (assignments): 1366 * Array equations: 11 * 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.008512/1.429, allocations: 4.526 MB / 0.9634 GB, free: 211.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001168/1.43, allocations: 0.6648 MB / 0.964 GB, free: 211 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006428/1.436, allocations: 4.081 MB / 0.968 GB, free: 209.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.529e-05/1.436, allocations: 41.03 kB / 0.9681 GB, free: 209.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/1.436, allocations: 3 kB / 0.9681 GB, free: 209.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-05/1.436, allocations: 18.47 kB / 0.9681 GB, free: 209.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04873/1.485, allocations: 42.05 MB / 1.009 GB, free: 174.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001316/1.485, allocations: 92 kB / 1.009 GB, free: 174.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002641/1.488, allocations: 0.8615 MB / 1.01 GB, free: 174 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.039e-05/1.488, allocations: 116 kB / 1.01 GB, free: 173.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003155/1.488, allocations: 203.5 kB / 1.01 GB, free: 173.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.919e-05/1.488, allocations: 174.2 kB / 1.011 GB, free: 173.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.287e-05/1.489, allocations: 143.9 kB / 1.011 GB, free: 173.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007163/1.496, allocations: 8.023 MB / 1.019 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002297/1.498, allocations: 0.8376 MB / 1.019 GB, free: 163.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001381/1.499, allocations: 206.9 kB / 1.02 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004016/1.503, allocations: 212 kB / 1.02 GB, free: 163.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007823/1.504, allocations: 0.5959 MB / 1.02 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003343/1.505, allocations: 249.5 kB / 1.021 GB, free: 162.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.007373/1.512, allocations: 4.596 MB / 1.025 GB, free: 158.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.7e-07/1.512, allocations: 0 / 1.025 GB, free: 158.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01047/1.522, allocations: 1.877 MB / 1.027 GB, free: 156.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 413 * 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 (455): * Single equations (assignments): 452 * 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.008335/1.531, allocations: 8.86 MB / 1.036 GB, free: 146.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.01173/1.543, allocations: 7.657 MB / 1.043 GB, free: 138.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.891e-05/1.543, allocations: 18 kB / 1.043 GB, free: 138.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.003308/1.546, allocations: 2.2 MB / 1.045 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09007/1.636, allocations: 1.182 MB / 1.046 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1128/1.749, allocations: 78.62 MB / 1.123 GB, free: 48.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01043/1.759, allocations: 6.974 MB / 1.13 GB, free: 41.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005501/1.765, allocations: 4.83 MB / 1.135 GB, free: 36.26 MB / 0.6042 GB Notification: Performance of SimCode: time 8.21e-07/1.765, allocations: 2.844 kB / 1.135 GB, free: 36.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 12.64/14.4, allocations: 155.8 MB / 1.287 GB, free: 142.5 MB / 0.6042 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque2/CutForceAndTorque2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches