Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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.CutForceAndTorque1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",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.0008991/0.0008991, allocations: 173.7 kB / 16.72 MB, free: 5.086 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.221/1.221, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007402/0.0007404, allocations: 82.42 kB / 271.2 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.2826/0.2826, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.0003547, allocations: 12 kB / 432.1 MB, free: 5.742 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09404/0.09441, allocations: 58.85 MB / 490.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.2599/0.3544, allocations: 121 MB / 0.5975 GB, free: 10.68 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.05245/0.4069, allocations: 23.66 MB / 0.6206 GB, free: 5.359 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02478/0.4317, allocations: 0.5574 MB / 0.6212 GB, free: 4.801 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02048/0.4522, allocations: 6.45 MB / 0.6275 GB, free: 14.32 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04716/0.4994, allocations: 18.75 MB / 0.6458 GB, free: 11.5 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009571/0.509, allocations: 1.461 MB / 0.6472 GB, free: 10.04 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.01442/0.5235, allocations: 11.45 MB / 0.6584 GB, free: 14.58 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01771/0.5413, allocations: 12.48 MB / 0.6706 GB, free: 2 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2231/0.7644, allocations: 3.099 MB / 0.6736 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006773/0.7712, allocations: 4.766 MB / 0.6783 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001652/0.7729, allocations: 382.2 kB / 0.6786 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003473/0.7764, allocations: 1.226 MB / 0.6798 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003835/0.7802, allocations: 4.22 MB / 0.684 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005276/0.7855, allocations: 4.569 MB / 0.6884 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01351/0.7991, allocations: 13.13 MB / 0.7012 GB, free: 14.09 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.7991, allocations: 3.234 kB / 0.7012 GB, free: 14.09 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.7991, allocations: 0 / 0.7012 GB, free: 14.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005932/0.7997, allocations: 1.406 kB / 0.7012 GB, free: 14.09 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.02168/0.8214, allocations: 9.307 MB / 0.7103 GB, free: 10.07 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.8215, allocations: 13.09 kB / 0.7103 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005244/0.8267, allocations: 1.705 MB / 0.712 GB, free: 9.941 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01431/0.841, allocations: 3.117 MB / 0.7151 GB, free: 9.254 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01324/0.8543, allocations: 7.302 MB / 0.7222 GB, free: 7.059 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004397/0.8548, allocations: 0.5945 MB / 0.7228 GB, free: 7.039 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002678/0.8575, allocations: 0.7646 MB / 0.7235 GB, free: 7.031 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04466/0.9021, allocations: 24.54 MB / 0.7475 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002897/0.9025, allocations: 79.28 kB / 0.7476 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001571/0.9041, allocations: 368.7 kB / 0.7479 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007279/0.9114, allocations: 4.547 MB / 0.7523 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04208/0.9535, allocations: 19.14 MB / 0.771 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1166/1.07, allocations: 85.75 MB / 0.8548 GB, free: 7.883 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0207/1.091, allocations: 7.767 MB / 0.8624 GB, free: 1.625 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005013/1.096, allocations: 3.111 MB / 0.8654 GB, free: 15.6 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02568/1.122, allocations: 13.12 MB / 0.8782 GB, free: 3.699 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.319e-05/1.122, allocations: 68.77 kB / 0.8783 GB, free: 3.621 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=336): time 6.021e-06/1.122, allocations: 0 / 0.8783 GB, free: 3.621 MB / 0.5886 GB Notification: Performance of matching and sorting (n=360): time 0.2371/1.359, allocations: 20.75 MB / 0.8985 GB, free: 248.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/1.359, allocations: 167.4 kB / 0.8987 GB, free: 248.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01116/1.37, allocations: 7.417 MB / 0.906 GB, free: 247.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0005914/1.371, allocations: 79.62 kB / 0.906 GB, free: 247.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.003132/1.374, allocations: 6.78 MB / 0.9126 GB, free: 244.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001256/1.375, allocations: 1.359 MB / 0.914 GB, free: 243.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004314/1.376, allocations: 215.2 kB / 0.9142 GB, free: 243 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0004197/1.376, allocations: 0.7725 MB / 0.9149 GB, free: 242.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004757/1.381, allocations: 3.236 MB / 0.9181 GB, free: 241.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006429/1.387, allocations: 9.846 MB / 0.9277 GB, free: 231.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01326/1.4, allocations: 14.29 MB / 0.9417 GB, free: 219.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002333/1.401, allocations: 68.42 kB / 0.9417 GB, free: 219.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.02422/1.425, allocations: 12.76 MB / 0.9542 GB, free: 214.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/1.425, allocations: 102.2 kB / 0.9543 GB, free: 214.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002217/1.425, allocations: 239.4 kB / 0.9545 GB, free: 214.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000254/1.426, allocations: 307.4 kB / 0.9548 GB, free: 214.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007619/1.433, allocations: 2.547 MB / 0.9573 GB, free: 214 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002545/1.434, allocations: 467.8 kB / 0.9577 GB, free: 213.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007774/1.441, allocations: 0.525 MB / 0.9583 GB, free: 213.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00101/1.442, allocations: 0.6533 MB / 0.9589 GB, free: 213.6 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 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[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.006836/1.449, allocations: 4.531 MB / 0.9633 GB, free: 211.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009555/1.45, allocations: 0.6609 MB / 0.964 GB, free: 211.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005838/1.456, allocations: 4.084 MB / 0.968 GB, free: 209.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.229e-05/1.456, allocations: 41.44 kB / 0.968 GB, free: 209.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/1.456, allocations: 6.797 kB / 0.968 GB, free: 209.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-05/1.456, allocations: 15.56 kB / 0.968 GB, free: 209.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05311/1.509, allocations: 49.25 MB / 1.016 GB, free: 169.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.364e-05/1.509, allocations: 75.94 kB / 1.016 GB, free: 169.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002513/1.512, allocations: 0.7415 MB / 1.017 GB, free: 168.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.579e-05/1.512, allocations: 96 kB / 1.017 GB, free: 168.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000246/1.512, allocations: 175.9 kB / 1.017 GB, free: 168.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.381e-05/1.512, allocations: 140 kB / 1.017 GB, free: 168.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.229e-05/1.512, allocations: 115.5 kB / 1.017 GB, free: 168.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006406/1.519, allocations: 7.329 MB / 1.025 GB, free: 159.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001536/1.52, allocations: 0.7905 MB / 1.025 GB, free: 158.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008219/1.521, allocations: 172.4 kB / 1.026 GB, free: 158.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003004/1.524, allocations: 219.3 kB / 1.026 GB, free: 158.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006078/1.525, allocations: 497.6 kB / 1.026 GB, free: 157.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003031/1.525, allocations: 212.7 kB / 1.026 GB, free: 157.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00646/1.532, allocations: 4.597 MB / 1.031 GB, free: 153.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.01e-07/1.532, allocations: 0 / 1.031 GB, free: 153.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00932/1.541, allocations: 1.875 MB / 1.033 GB, free: 151.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 334 * 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 (380): * Single equations (assignments): 377 * 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.007258/1.548, allocations: 8.115 MB / 1.041 GB, free: 141.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.01072/1.559, allocations: 7.663 MB / 1.048 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.465e-05/1.559, allocations: 12 kB / 1.048 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.003023/1.562, allocations: 2.14 MB / 1.05 GB, free: 132.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07548/1.638, allocations: 1.1 MB / 1.051 GB, free: 131 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.112/1.75, allocations: 78.03 MB / 1.127 GB, free: 44.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01035/1.76, allocations: 6.945 MB / 1.134 GB, free: 37.82 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006073/1.766, allocations: 4.842 MB / 1.139 GB, free: 32.98 MB / 0.6042 GB Notification: Performance of SimCode: time 7.61e-07/1.766, allocations: 4 kB / 1.139 GB, free: 32.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 12.64/14.41, allocations: 156.5 MB / 1.292 GB, free: 140.2 MB / 0.6042 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque1/CutForceAndTorque1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches