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.002437/0.002442, allocations: 186.2 kB / 16.4 MB, free: 5.625 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.241/2.241, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001155/0.001154, allocations: 94.84 kB / 270.9 MB, free: 13.38 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.286/0.286, allocations: 43.56 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004416/0.0004416, allocations: 8 kB / 431.5 MB, free: 20.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1152, allocations: 58.86 MB / 490.3 MB, free: 9.258 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.5061/0.6214, allocations: 114.2 MB / 0.5903 GB, free: 5.828 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.07572/0.6972, allocations: 24.86 MB / 0.6146 GB, free: 12.91 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02662/0.7239, allocations: 0.5574 MB / 0.6152 GB, free: 12.35 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02219/0.7461, allocations: 5.797 MB / 0.6208 GB, free: 6.523 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06649/0.8127, allocations: 16.19 MB / 0.6366 GB, free: 6.289 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01012/0.8228, allocations: 1.381 MB / 0.638 GB, free: 4.906 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01451/0.8374, allocations: 5.344 MB / 0.6432 GB, free: 15.56 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02533/0.8628, allocations: 11.38 MB / 0.6543 GB, free: 4.098 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006478/0.8693, allocations: 2.476 MB / 0.6567 GB, free: 1.613 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007603/0.877, allocations: 3.302 MB / 0.66 GB, free: 14.3 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002648/0.8797, allocations: 380 kB / 0.6603 GB, free: 13.93 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004826/0.8846, allocations: 1.014 MB / 0.6613 GB, free: 12.91 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008015/0.8926, allocations: 3.916 MB / 0.6651 GB, free: 8.988 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00472/0.8974, allocations: 1.964 MB / 0.6671 GB, free: 7.012 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02216/0.9196, allocations: 13.12 MB / 0.6799 GB, free: 9.855 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.9197, allocations: 0 / 0.6799 GB, free: 9.855 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.9197, allocations: 0 / 0.6799 GB, free: 9.855 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006339/0.9204, allocations: 4 kB / 0.6799 GB, free: 9.852 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.03259/0.953, allocations: 9.619 MB / 0.6893 GB, free: 136 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.086e-05/0.953, allocations: 8.031 kB / 0.6893 GB, free: 128 kB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006398/0.9595, allocations: 1.707 MB / 0.6909 GB, free: 14.4 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02586/0.9853, allocations: 3.484 MB / 0.6943 GB, free: 10.9 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02045/1.006, allocations: 6.388 MB / 0.7006 GB, free: 4.434 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000974/1.007, allocations: 0.5968 MB / 0.7012 GB, free: 3.836 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003717/1.011, allocations: 0.7728 MB / 0.7019 GB, free: 3.062 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7187/1.729, allocations: 24.63 MB / 0.726 GB, free: 174.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005799/1.73, allocations: 77.81 kB / 0.7261 GB, free: 174.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003338/1.733, allocations: 365.8 kB / 0.7264 GB, free: 174 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01317/1.747, allocations: 4.543 MB / 0.7308 GB, free: 173.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09561/1.842, allocations: 19.39 MB / 0.7498 GB, free: 165.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1666/2.009, allocations: 86.05 MB / 0.8338 GB, free: 83.24 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03666/2.046, allocations: 7.849 MB / 0.8415 GB, free: 75.25 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03804/2.084, allocations: 13.29 MB / 0.8545 GB, free: 61.61 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.785e-05/2.084, allocations: 68.77 kB / 0.8545 GB, free: 61.53 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=336): time 8.196e-06/2.084, allocations: 0 / 0.8545 GB, free: 61.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=360): time 0.08908/2.173, allocations: 21.1 MB / 0.8751 GB, free: 40.32 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.41e-05/2.173, allocations: 166.9 kB / 0.8753 GB, free: 40.13 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01728/2.19, allocations: 7.856 MB / 0.883 GB, free: 32.31 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008624/2.191, allocations: 77.7 kB / 0.883 GB, free: 32.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005341/2.197, allocations: 6.546 MB / 0.8894 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002057/2.199, allocations: 1.355 MB / 0.8907 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001234/2.2, allocations: 218.4 kB / 0.8909 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008078/2.201, allocations: 0.7739 MB / 0.8917 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009772/2.211, allocations: 3.238 MB / 0.8949 GB, free: 20.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01395/2.225, allocations: 9.8 MB / 0.9044 GB, free: 7.035 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0136/2.238, allocations: 5.43 MB / 0.9097 GB, free: 1.582 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002074/2.239, allocations: 71.94 kB / 0.9098 GB, free: 1.512 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.4132/2.652, allocations: 12.5 MB / 0.922 GB, free: 152 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002295/2.652, allocations: 104.6 kB / 0.9221 GB, free: 152 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005362/2.653, allocations: 235.9 kB / 0.9223 GB, free: 152 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00063/2.653, allocations: 343.4 kB / 0.9227 GB, free: 152 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01742/2.671, allocations: 2.554 MB / 0.9252 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007878/2.672, allocations: 456.7 kB / 0.9256 GB, free: 151.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01243/2.684, allocations: 0.5208 MB / 0.9261 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002327/2.687, allocations: 0.6563 MB / 0.9268 GB, free: 151.4 MB / 0.5105 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.01258/2.699, allocations: 4.528 MB / 0.9312 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001586/2.701, allocations: 0.6651 MB / 0.9318 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01187/2.713, allocations: 4.088 MB / 0.9358 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-05/2.713, allocations: 44.16 kB / 0.9359 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.74e-05/2.713, allocations: 1.812 kB / 0.9359 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.08e-05/2.713, allocations: 21.48 kB / 0.9359 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08708/2.8, allocations: 42.07 MB / 0.977 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001729/2.8, allocations: 88 kB / 0.977 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005299/2.806, allocations: 0.8693 MB / 0.9779 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001249/2.806, allocations: 132 kB / 0.978 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004565/2.806, allocations: 204.2 kB / 0.9782 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001138/2.806, allocations: 176.9 kB / 0.9784 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.311e-05/2.806, allocations: 143.4 kB / 0.9785 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01698/2.823, allocations: 25.92 MB / 1.004 GB, free: 89.37 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002781/2.826, allocations: 0.8652 MB / 1.005 GB, free: 88.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002381/2.829, allocations: 215.9 kB / 1.005 GB, free: 88.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006804/2.836, allocations: 209 kB / 1.005 GB, free: 88.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001297/2.837, allocations: 0.5835 MB / 1.006 GB, free: 87.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005267/2.837, allocations: 248 kB / 1.006 GB, free: 87.27 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01868/2.856, allocations: 4.948 MB / 1.011 GB, free: 82.36 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.563e-06/2.856, allocations: 4 kB / 1.011 GB, free: 82.36 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.02296/2.879, allocations: 1.901 MB / 1.013 GB, free: 80.46 MB / 0.5105 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.03144/2.911, allocations: 42.01 MB / 1.054 GB, free: 35.37 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02669/2.937, allocations: 7.655 MB / 1.061 GB, free: 27.76 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 0.0001216/2.938, allocations: 20.12 kB / 1.061 GB, free: 27.74 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007546/2.945, allocations: 2.201 MB / 1.063 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01301/2.958, allocations: 1.073 MB / 1.064 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.541/3.499, allocations: 207.6 MB / 1.267 GB, free: 28.11 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01987/3.519, allocations: 7.172 MB / 1.274 GB, free: 27.11 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01027/3.53, allocations: 4.839 MB / 1.279 GB, free: 23.43 MB / 0.5418 GB Notification: Performance of SimCode: time 2.295e-06/3.53, allocations: 4 kB / 1.279 GB, free: 23.42 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.374/9.904, allocations: 170 MB / 1.445 GB, free: 73.82 MB / 0.5418 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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat does not exist to compare? outputFormat=mat