Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 94.52 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 183.8 kB / 17.87 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2024/0.2024, allocations: 44.23 MB / 337.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003262, allocations: 9.844 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.134, allocations: 61.92 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.04939/0.1835, allocations: 45.04 MB / 0.5045 GB, free: 488 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3205/0.504, allocations: 10.11 MB / 0.5143 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01237/0.5165, allocations: 214.9 kB / 0.5145 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00948/0.526, allocations: 2.326 MB / 0.5168 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02357/0.5496, allocations: 6.49 MB / 0.5232 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002661/0.5523, allocations: 281.5 kB / 0.5234 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003265/0.5556, allocations: 1.409 MB / 0.5248 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005174/0.5608, allocations: 3.762 MB / 0.5285 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.5619, allocations: 0.6261 MB / 0.5291 GB, free: 6.715 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.563, allocations: 0.788 MB / 0.5299 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002764/0.5633, allocations: 106.1 kB / 0.53 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.5644, allocations: 0.5352 MB / 0.5305 GB, free: 6.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008746/0.5653, allocations: 1.083 MB / 0.5315 GB, free: 5.969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005452/0.5658, allocations: 0.6145 MB / 0.5321 GB, free: 5.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003563/0.5694, allocations: 4.158 MB / 0.5362 GB, free: 3.527 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5694, allocations: 0 / 0.5362 GB, free: 3.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.5694, allocations: 0 / 0.5362 GB, free: 3.527 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001529/0.5696, allocations: 0 / 0.5362 GB, free: 3.527 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.006295/0.5759, allocations: 2.865 MB / 0.539 GB, free: 1.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.5759, allocations: 9.031 kB / 0.539 GB, free: 1.703 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001216/0.5772, allocations: 0.5746 MB / 0.5396 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005852/0.583, allocations: 1.994 MB / 0.5415 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004179/0.5872, allocations: 1.519 MB / 0.543 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/0.5874, allocations: 184.2 kB / 0.5432 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008113/0.5882, allocations: 241.9 kB / 0.5434 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01276/0.601, allocations: 7.514 MB / 0.5507 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.42e-05/0.6011, allocations: 21.02 kB / 0.5508 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003449/0.6015, allocations: 117.4 kB / 0.5509 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002571/0.604, allocations: 1.566 MB / 0.5524 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01344/0.6175, allocations: 6.282 MB / 0.5585 GB, free: 6.098 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03693/0.6545, allocations: 23.36 MB / 0.5814 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004903/0.6594, allocations: 2.207 MB / 0.5835 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007961/0.6674, allocations: 3.91 MB / 0.5873 GB, free: 8.371 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.6675, allocations: 47.09 kB / 0.5874 GB, free: 8.316 MB / 430.1 MB Notification: Performance of pre-optimization done (n=87): time 4.268e-06/0.6675, allocations: 0 / 0.5874 GB, free: 8.316 MB / 430.1 MB Notification: Performance of matching and sorting (n=87): time 0.006542/0.674, allocations: 2.508 MB / 0.5898 GB, free: 5.746 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.6741, allocations: 59.97 kB / 0.5899 GB, free: 5.676 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003537/0.6777, allocations: 2.085 MB / 0.5919 GB, free: 3.547 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.782e-05/0.6778, allocations: 44.58 kB / 0.592 GB, free: 3.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001782/0.6796, allocations: 2.113 MB / 0.594 GB, free: 1.395 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004036/0.68, allocations: 351.2 kB / 0.5944 GB, free: 1.055 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.6801, allocations: 60 kB / 0.5944 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002899/0.6804, allocations: 448.9 kB / 0.5948 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001553/0.6819, allocations: 0.9353 MB / 0.5958 GB, free: 15.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003203/0.6852, allocations: 2.893 MB / 0.5986 GB, free: 11.74 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002563/0.6877, allocations: 1.638 MB / 0.6002 GB, free: 10.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.901e-05/0.6878, allocations: 24 kB / 0.6002 GB, free: 10.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006206/0.694, allocations: 3.726 MB / 0.6038 GB, free: 6.344 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.705e-05/0.6941, allocations: 32 kB / 0.6039 GB, free: 6.312 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.098e-05/0.6942, allocations: 76 kB / 0.6039 GB, free: 6.238 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001019/0.6943, allocations: 104.1 kB / 0.604 GB, free: 6.137 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001993/0.6963, allocations: 0.6979 MB / 0.6047 GB, free: 5.438 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001113/0.6964, allocations: 139.4 kB / 0.6049 GB, free: 5.301 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00242/0.6988, allocations: 442.8 kB / 0.6053 GB, free: 4.871 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002956/0.6991, allocations: 196 kB / 0.6055 GB, free: 4.68 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 318 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,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 (388): * Single equations (assignments): 383 * Array equations: 5 * 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.002847/0.702, allocations: 1.557 MB / 0.607 GB, free: 3.113 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003045/0.7023, allocations: 177.7 kB / 0.6072 GB, free: 2.938 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003905/0.7027, allocations: 218.7 kB / 0.6074 GB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/0.7027, allocations: 12 kB / 0.6074 GB, free: 2.707 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.7027, allocations: 0 / 0.6074 GB, free: 2.707 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.7027, allocations: 0 / 0.6074 GB, free: 2.707 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008575/0.7113, allocations: 5.072 MB / 0.6123 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.7114, allocations: 9.359 kB / 0.6123 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004428/0.7118, allocations: 119.8 kB / 0.6125 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.365e-05/0.7118, allocations: 15.94 kB / 0.6125 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.226e-05/0.7119, allocations: 23.98 kB / 0.6125 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.216e-05/0.7119, allocations: 15.94 kB / 0.6125 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.697e-06/0.7119, allocations: 11.94 kB / 0.6125 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/0.7139, allocations: 1.997 MB / 0.6145 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005761/0.7145, allocations: 298.2 kB / 0.6147 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/0.7147, allocations: 22.34 kB / 0.6148 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005468/0.7152, allocations: 39.88 kB / 0.6148 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.7154, allocations: 63.77 kB / 0.6149 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-05/0.7154, allocations: 37.59 kB / 0.6149 GB, free: 10.45 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002304/0.7177, allocations: 1.461 MB / 0.6163 GB, free: 8.965 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7177, allocations: 4 kB / 0.6163 GB, free: 8.961 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003475/0.7212, allocations: 0.8097 MB / 0.6171 GB, free: 8.152 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.003655/0.7249, allocations: 4.671 MB / 0.6217 GB, free: 3.227 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003977/0.7289, allocations: 2.154 MB / 0.6238 GB, free: 1.086 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/0.729, allocations: 4 kB / 0.6238 GB, free: 1.082 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006781/0.7296, allocations: 0.4925 MB / 0.6243 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/0.7312, allocations: 275.2 kB / 0.6245 GB, free: 328 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04422/0.7755, allocations: 58.8 MB / 0.682 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003057/0.7786, allocations: 2.67 MB / 0.6846 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002575/0.7812, allocations: 1.028 MB / 0.6856 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001555/0.7827, allocations: 1.267 MB / 0.6868 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of SimCode: time 4.809e-06/0.7828, allocations: 3.938 kB / 0.6868 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.337/1.12, allocations: 41.21 MB / 0.7271 GB, free: 186.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001544/1.12, allocations: 186.5 kB / 0.7272 GB, free: 186.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.622/3.742, allocations: 0 / 0.7272 GB, free: 186.5 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat does not exist to compare? outputFormat=mat