Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",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.001584/0.001584, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.965/1.965, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001132/0.001131, allocations: 92.42 kB / 270.9 MB, free: 8.367 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.5968/0.5968, allocations: 43.54 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008065/0.0008067, allocations: 16 kB / 431.5 MB, free: 6.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1474, allocations: 58.85 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.588/0.7356, allocations: 105.2 MB / 0.5816 GB, free: 13.31 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/0.7359, allocations: 87.94 kB / 0.5816 GB, free: 13.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2792/1.015, allocations: 66.53 MB / 0.6466 GB, free: 10.29 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.365e-06/1.015, allocations: 0 / 0.6466 GB, free: 10.29 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001897/1.015, allocations: 64 kB / 0.6467 GB, free: 10.23 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.01328/1.029, allocations: 3.256 MB / 0.6499 GB, free: 6.914 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.487e-05/1.029, allocations: 12.02 kB / 0.6499 GB, free: 6.902 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003471/1.032, allocations: 0.6759 MB / 0.6505 GB, free: 6.215 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01615/1.048, allocations: 1.945 MB / 0.6524 GB, free: 4.262 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007747/1.056, allocations: 2.048 MB / 0.6544 GB, free: 2.168 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004951/1.057, allocations: 279.4 kB / 0.6547 GB, free: 1.895 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002275/1.059, allocations: 363.9 kB / 0.655 GB, free: 1.539 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03019/1.089, allocations: 8.163 MB / 0.663 GB, free: 8.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001953/1.09, allocations: 15.81 kB / 0.663 GB, free: 8.965 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001811/1.091, allocations: 171.9 kB / 0.6632 GB, free: 8.797 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00216/1.094, allocations: 0.8144 MB / 0.664 GB, free: 7.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02448/1.118, allocations: 7.013 MB / 0.6708 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4062/1.524, allocations: 27.62 MB / 0.6978 GB, free: 87.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008927/1.533, allocations: 2.542 MB / 0.7003 GB, free: 86.69 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01302/1.546, allocations: 4.495 MB / 0.7047 GB, free: 85.56 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/1.547, allocations: 41.41 kB / 0.7047 GB, free: 85.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=120): time 5.841e-06/1.547, allocations: 3.406 kB / 0.7047 GB, free: 85.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=120): time 0.01287/1.559, allocations: 2.981 MB / 0.7076 GB, free: 85.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/1.56, allocations: 61.81 kB / 0.7077 GB, free: 85.01 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004335/1.564, allocations: 1.997 MB / 0.7096 GB, free: 84.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002489/1.564, allocations: 45.38 kB / 0.7097 GB, free: 84.72 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00185/1.566, allocations: 2.318 MB / 0.7119 GB, free: 83.58 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007016/1.567, allocations: 464.3 kB / 0.7124 GB, free: 83.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003477/1.567, allocations: 71.94 kB / 0.7125 GB, free: 83.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002696/1.567, allocations: 466.6 kB / 0.7129 GB, free: 83 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002796/1.57, allocations: 1.078 MB / 0.714 GB, free: 83 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004126/1.574, allocations: 3.209 MB / 0.7171 GB, free: 79.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004389/1.579, allocations: 1.862 MB / 0.7189 GB, free: 79.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-05/1.579, allocations: 24 kB / 0.7189 GB, free: 79.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=471) (initialization): time 0.01151/1.591, allocations: 4.163 MB / 0.723 GB, free: 77.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.268e-05/1.591, allocations: 41.77 kB / 0.723 GB, free: 77.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000155/1.591, allocations: 74.59 kB / 0.7231 GB, free: 77.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002072/1.591, allocations: 111.6 kB / 0.7232 GB, free: 77.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005408/1.596, allocations: 0.8162 MB / 0.724 GB, free: 77.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000268/1.597, allocations: 148.3 kB / 0.7242 GB, free: 77.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004002/1.601, allocations: 499.6 kB / 0.7246 GB, free: 77.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009089/1.602, allocations: 218.7 kB / 0.7248 GB, free: 77.51 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 345 * Number of states: 0 () * Number of discrete variables: 30 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.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 (447): * Single equations (assignments): 444 * 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.004828/1.607, allocations: 1.703 MB / 0.7265 GB, free: 76.71 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000509/1.607, allocations: 197.2 kB / 0.7267 GB, free: 76.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004529/1.612, allocations: 1.515 MB / 0.7282 GB, free: 76.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.093e-05/1.612, allocations: 15.64 kB / 0.7282 GB, free: 76.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/1.612, allocations: 0 / 0.7282 GB, free: 76.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-05/1.612, allocations: 6.125 kB / 0.7282 GB, free: 76.05 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02199/1.634, allocations: 7.389 MB / 0.7354 GB, free: 73.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-05/1.634, allocations: 11.78 kB / 0.7354 GB, free: 73.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001512/1.635, allocations: 193.7 kB / 0.7356 GB, free: 73.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.75e-05/1.636, allocations: 22.28 kB / 0.7356 GB, free: 73.11 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/1.636, allocations: 38.61 kB / 0.7357 GB, free: 73.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-05/1.636, allocations: 27.23 kB / 0.7357 GB, free: 73.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.695e-05/1.636, allocations: 27.89 kB / 0.7357 GB, free: 73.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004326/1.64, allocations: 3.183 MB / 0.7388 GB, free: 70.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008642/1.641, allocations: 339.3 kB / 0.7391 GB, free: 69.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004068/1.641, allocations: 43.48 kB / 0.7392 GB, free: 69.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/1.643, allocations: 51.11 kB / 0.7392 GB, free: 69.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002295/1.643, allocations: 104.8 kB / 0.7393 GB, free: 69.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/1.643, allocations: 55.58 kB / 0.7394 GB, free: 69.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003417/1.647, allocations: 1.562 MB / 0.7409 GB, free: 69.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.404e-06/1.647, allocations: 4 kB / 0.7409 GB, free: 69.33 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00497/1.652, allocations: 0.9346 MB / 0.7418 GB, free: 69.04 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.005494/1.657, allocations: 7.68 MB / 0.7493 GB, free: 61.95 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006225/1.663, allocations: 2.56 MB / 0.7518 GB, free: 61.12 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.061e-05/1.663, allocations: 7.047 kB / 0.7518 GB, free: 61.12 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001714/1.665, allocations: 0.6914 MB / 0.7525 GB, free: 60.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002138/1.667, allocations: 298 kB / 0.7528 GB, free: 60.79 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06002/1.727, allocations: 72.71 MB / 0.8238 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006389/1.734, allocations: 2.903 MB / 0.8266 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003508/1.737, allocations: 1.467 MB / 0.8281 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of SimCode: time 1.162e-06/1.738, allocations: 0 / 0.8281 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.906/5.644, allocations: 58.5 MB / 0.8852 GB, free: 129.6 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat does not exist to compare? outputFormat=mat