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.002367/0.002367, allocations: 181.6 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.063/2.063, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001099/0.001099, allocations: 82.7 kB / 267.5 MB, free: 14.05 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.2862/0.2862, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.142e-05/4.147e-05, allocations: 4 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1223, allocations: 58.87 MB / 484.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5325/0.6549, allocations: 107 MB / 0.5774 GB, free: 12.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/0.6552, allocations: 81.23 kB / 0.5775 GB, free: 12.71 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.187/1.843, allocations: 200.8 MB / 0.7736 GB, free: 87.72 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.906e-06/1.843, allocations: 0 / 0.7736 GB, free: 87.72 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005606/1.843, allocations: 200.1 kB / 0.7738 GB, free: 87.71 MB / 0.4948 GB 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.03848/1.882, allocations: 9.426 MB / 0.783 GB, free: 84.02 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/1.882, allocations: 14.38 kB / 0.783 GB, free: 84.01 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008822/1.891, allocations: 1.822 MB / 0.7848 GB, free: 83.88 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03541/1.926, allocations: 4.028 MB / 0.7887 GB, free: 83.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03685/1.963, allocations: 10.59 MB / 0.7991 GB, free: 81.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001179/1.964, allocations: 0.7901 MB / 0.7998 GB, free: 81.96 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006478/1.971, allocations: 1.038 MB / 0.8008 GB, free: 81.95 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08066/2.052, allocations: 24.09 MB / 0.8244 GB, free: 63.97 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007352/2.052, allocations: 91.16 kB / 0.8245 GB, free: 63.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006197/2.059, allocations: 495.7 kB / 0.8249 GB, free: 63.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00627/2.065, allocations: 2.292 MB / 0.8272 GB, free: 61.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06279/2.128, allocations: 18.97 MB / 0.8457 GB, free: 42.18 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6118/2.74, allocations: 94.23 MB / 0.9377 GB, free: 50.68 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03586/2.775, allocations: 7.549 MB / 0.9451 GB, free: 50 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007718/2.783, allocations: 3.029 MB / 0.948 GB, free: 49.94 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04167/2.825, allocations: 13.31 MB / 0.961 GB, free: 46.67 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.999e-05/2.825, allocations: 66.06 kB / 0.9611 GB, free: 46.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=336): time 7.574e-06/2.825, allocations: 0 / 0.9611 GB, free: 46.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=360): time 0.09424/2.919, allocations: 18.78 MB / 0.9794 GB, free: 40.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001538/2.92, allocations: 163.7 kB / 0.9796 GB, free: 40.74 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01997/2.94, allocations: 6.421 MB / 0.9859 GB, free: 40.19 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008345/2.941, allocations: 83.45 kB / 0.9859 GB, free: 40.16 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005864/2.946, allocations: 6.56 MB / 0.9924 GB, free: 36.38 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00205/2.948, allocations: 1.359 MB / 0.9937 GB, free: 35.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001472/2.95, allocations: 219.8 kB / 0.9939 GB, free: 35.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001015/2.951, allocations: 0.7566 MB / 0.9946 GB, free: 35.27 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008463/2.96, allocations: 2.993 MB / 0.9976 GB, free: 35.24 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01303/2.973, allocations: 9.485 MB / 1.007 GB, free: 26.84 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01256/2.985, allocations: 5.245 MB / 1.012 GB, free: 26.47 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000286/2.986, allocations: 68.81 kB / 1.012 GB, free: 26.47 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1393) (initialization): time 0.03319/3.019, allocations: 11.94 MB / 1.024 GB, free: 23.01 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001951/3.019, allocations: 104.6 kB / 1.024 GB, free: 23.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004065/3.019, allocations: 232.2 kB / 1.024 GB, free: 23.01 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004015/3.02, allocations: 346.6 kB / 1.024 GB, free: 23.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01799/3.038, allocations: 2.62 MB / 1.027 GB, free: 22.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005386/3.038, allocations: 456.2 kB / 1.027 GB, free: 22.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01424/3.053, allocations: 0.6851 MB / 1.028 GB, free: 22.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002742/3.056, allocations: 0.6352 MB / 1.029 GB, free: 22.32 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1055 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1369): * Single equations (assignments): 1366 * 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.004578/3.06, allocations: 0.9491 MB / 1.03 GB, free: 21.55 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001834/3.062, allocations: 0.6698 MB / 1.03 GB, free: 21.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01174/3.074, allocations: 3.989 MB / 1.034 GB, free: 19.62 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.898e-05/3.074, allocations: 37.69 kB / 1.034 GB, free: 19.62 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.85e-05/3.074, allocations: 3.438 kB / 1.034 GB, free: 19.62 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.192e-05/3.074, allocations: 20.2 kB / 1.034 GB, free: 19.62 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1196/3.194, allocations: 50.11 MB / 1.083 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000231/3.194, allocations: 72 kB / 1.083 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00609/3.2, allocations: 0.7446 MB / 1.084 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001709/3.2, allocations: 104 kB / 1.084 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008755/3.201, allocations: 170.5 kB / 1.084 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001572/3.201, allocations: 144.3 kB / 1.084 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001154/3.201, allocations: 115.5 kB / 1.084 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0238/3.225, allocations: 21.42 MB / 1.105 GB, free: 5.488 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003229/3.229, allocations: 0.8083 MB / 1.106 GB, free: 4.695 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002603/3.231, allocations: 165 kB / 1.106 GB, free: 4.547 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007536/3.239, allocations: 276.2 kB / 1.107 GB, free: 4.332 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001403/3.24, allocations: 490.3 kB / 1.107 GB, free: 3.945 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005572/3.241, allocations: 202.7 kB / 1.107 GB, free: 3.754 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01524/3.256, allocations: 4.528 MB / 1.112 GB, free: 0 / 0.573 GB Notification: Performance of sort global known variables: time 2.285e-06/3.256, allocations: 336 / 1.112 GB, free: 0 / 0.573 GB Notification: Performance of remove unused functions: time 0.03004/3.286, allocations: 2.765 MB / 1.114 GB, free: 0 / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 330 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (376): * Single equations (assignments): 373 * 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.4388/3.725, allocations: 34.39 MB / 1.148 GB, free: 112.9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02114/3.746, allocations: 7.311 MB / 1.155 GB, free: 112.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.022e-05/3.746, allocations: 12.5 kB / 1.155 GB, free: 112.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00588/3.752, allocations: 2.076 MB / 1.157 GB, free: 112.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01016/3.762, allocations: 1.03 MB / 1.158 GB, free: 112.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07864/3.841, allocations: 22.4 MB / 1.18 GB, free: 106.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01993/3.861, allocations: 7.135 MB / 1.187 GB, free: 105.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01196/3.873, allocations: 4.86 MB / 1.192 GB, free: 105.5 MB / 0.573 GB Notification: Performance of SimCode: time 1.864e-06/3.873, allocations: 0 / 1.192 GB, free: 105.5 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.396/10.27, allocations: 174 MB / 1.362 GB, free: 139.2 MB / 0.573 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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat does not exist to compare? outputFormat=mat