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.001617/0.001617, allocations: 189.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.065/2.065, allocations: 205.4 MB / 222.5 MB, free: 13.77 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.001144/0.001144, allocations: 94.86 kB / 270.9 MB, free: 13.29 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.2816/0.2816, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006207/0.0006206, allocations: 8 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.126, allocations: 58.86 MB / 490.3 MB, free: 9.25 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.6709/0.797, allocations: 114.2 MB / 0.5903 GB, free: 5.832 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.1031/0.9002, allocations: 24.86 MB / 0.6146 GB, free: 12.91 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03584/0.9361, allocations: 0.5612 MB / 0.6152 GB, free: 12.34 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02981/0.966, allocations: 5.805 MB / 0.6208 GB, free: 6.512 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.089/1.055, allocations: 16.18 MB / 0.6366 GB, free: 6.289 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01347/1.069, allocations: 1.39 MB / 0.638 GB, free: 4.898 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01964/1.088, allocations: 5.335 MB / 0.6432 GB, free: 15.56 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03506/1.123, allocations: 11.38 MB / 0.6543 GB, free: 4.098 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008709/1.132, allocations: 2.48 MB / 0.6567 GB, free: 1.609 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009868/1.142, allocations: 3.31 MB / 0.66 GB, free: 14.29 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003331/1.146, allocations: 380 kB / 0.6603 GB, free: 13.92 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005744/1.151, allocations: 1.007 MB / 0.6613 GB, free: 12.91 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01009/1.161, allocations: 3.916 MB / 0.6651 GB, free: 8.984 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006023/1.168, allocations: 1.964 MB / 0.6671 GB, free: 7.008 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02992/1.198, allocations: 13.12 MB / 0.6799 GB, free: 9.859 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/1.198, allocations: 0 / 0.6799 GB, free: 9.859 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.116e-06/1.198, allocations: 0 / 0.6799 GB, free: 9.859 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006559/1.198, allocations: 0 / 0.6799 GB, free: 9.859 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.04608/1.244, allocations: 9.627 MB / 0.6893 GB, free: 136 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.479e-05/1.245, allocations: 12.02 kB / 0.6893 GB, free: 124 kB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008058/1.253, allocations: 1.707 MB / 0.6909 GB, free: 14.4 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03803/1.291, allocations: 3.484 MB / 0.6943 GB, free: 10.89 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02829/1.319, allocations: 6.387 MB / 0.7006 GB, free: 4.43 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0013/1.32, allocations: 0.5968 MB / 0.7012 GB, free: 3.832 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005039/1.326, allocations: 0.7651 MB / 0.7019 GB, free: 3.066 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8378/2.163, allocations: 24.64 MB / 0.726 GB, free: 174.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005619/2.164, allocations: 77.59 kB / 0.726 GB, free: 174.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003243/2.167, allocations: 369 kB / 0.7264 GB, free: 173.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01293/2.18, allocations: 4.543 MB / 0.7308 GB, free: 173 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06718/2.247, allocations: 19.4 MB / 0.7498 GB, free: 165.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1617/2.409, allocations: 86.05 MB / 0.8338 GB, free: 83.22 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03604/2.445, allocations: 7.796 MB / 0.8414 GB, free: 75.27 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03713/2.483, allocations: 13.28 MB / 0.8544 GB, free: 61.64 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.973e-05/2.483, allocations: 68.77 kB / 0.8545 GB, free: 61.56 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=336): time 9.248e-06/2.483, allocations: 0 / 0.8545 GB, free: 61.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=360): time 0.09313/2.576, allocations: 21.11 MB / 0.8751 GB, free: 40.35 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.601e-05/2.576, allocations: 166.9 kB / 0.8752 GB, free: 40.15 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01765/2.594, allocations: 7.852 MB / 0.8829 GB, free: 32.34 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008329/2.595, allocations: 81.7 kB / 0.883 GB, free: 32.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005176/2.6, allocations: 6.542 MB / 0.8894 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001997/2.602, allocations: 1.359 MB / 0.8907 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001424/2.603, allocations: 212 kB / 0.8909 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0009261/2.604, allocations: 0.7778 MB / 0.8917 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009914/2.614, allocations: 3.238 MB / 0.8948 GB, free: 20.12 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01412/2.628, allocations: 9.793 MB / 0.9044 GB, free: 7.066 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01361/2.642, allocations: 5.438 MB / 0.9097 GB, free: 1.605 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001941/2.642, allocations: 75.89 kB / 0.9098 GB, free: 1.531 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.3956/3.038, allocations: 12.5 MB / 0.922 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002293/3.038, allocations: 107.2 kB / 0.9221 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005362/3.039, allocations: 232.9 kB / 0.9223 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006216/3.039, allocations: 342.6 kB / 0.9226 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01704/3.056, allocations: 2.557 MB / 0.9251 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006868/3.057, allocations: 458 kB / 0.9256 GB, free: 151.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01112/3.068, allocations: 0.5213 MB / 0.9261 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002267/3.071, allocations: 0.6548 MB / 0.9267 GB, free: 151.1 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 (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.01195/3.083, allocations: 4.529 MB / 0.9311 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001448/3.084, allocations: 0.6654 MB / 0.9318 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/3.096, allocations: 4.091 MB / 0.9358 GB, free: 147.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-05/3.096, allocations: 37.08 kB / 0.9358 GB, free: 147.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.812e-05/3.096, allocations: 3.625 kB / 0.9358 GB, free: 147.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.621e-05/3.096, allocations: 15.94 kB / 0.9358 GB, free: 147.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09952/3.195, allocations: 49.28 MB / 0.984 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002348/3.196, allocations: 72 kB / 0.984 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005563/3.201, allocations: 0.7446 MB / 0.9847 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001215/3.201, allocations: 108 kB / 0.9849 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000655/3.202, allocations: 172.7 kB / 0.985 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.747e-05/3.202, allocations: 139.4 kB / 0.9851 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.7e-05/3.202, allocations: 118.6 kB / 0.9853 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01644/3.219, allocations: 21.79 MB / 1.007 GB, free: 87.48 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002501/3.221, allocations: 0.8205 MB / 1.007 GB, free: 86.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002146/3.223, allocations: 163.9 kB / 1.007 GB, free: 86.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006573/3.23, allocations: 219.9 kB / 1.008 GB, free: 86.31 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001418/3.231, allocations: 499.8 kB / 1.008 GB, free: 85.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004976/3.232, allocations: 206 kB / 1.008 GB, free: 85.62 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01282/3.245, allocations: 4.952 MB / 1.013 GB, free: 80.71 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.91e-07/3.245, allocations: 0 / 1.013 GB, free: 80.71 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01618/3.261, allocations: 1.904 MB / 1.015 GB, free: 78.81 MB / 0.5105 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.02149/3.283, allocations: 34.93 MB / 1.049 GB, free: 41.37 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02041/3.303, allocations: 7.66 MB / 1.057 GB, free: 33.75 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-05/3.303, allocations: 12 kB / 1.057 GB, free: 33.74 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005918/3.309, allocations: 2.132 MB / 1.059 GB, free: 31.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008878/3.318, allocations: 1.017 MB / 1.06 GB, free: 30.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4831/3.801, allocations: 210.4 MB / 1.265 GB, free: 31.61 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02103/3.822, allocations: 7.141 MB / 1.272 GB, free: 30.61 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01206/3.834, allocations: 4.855 MB / 1.277 GB, free: 27.08 MB / 0.5418 GB Notification: Performance of SimCode: time 1.302e-06/3.834, allocations: 4 kB / 1.277 GB, free: 27.07 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.037/9.872, allocations: 170.9 MB / 1.444 GB, free: 75.81 MB / 0.5418 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