Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009525/0.0009525, allocations: 101.7 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001078/0.001078, allocations: 204 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2262/0.2262, allocations: 45.9 MB / 344 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002614/0.0002614, allocations: 7.984 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1447, allocations: 63.47 MB / 481.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.3692/0.514, allocations: 45.05 MB / 0.5142 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02867/0.5427, allocations: 10.17 MB / 0.5242 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01492/0.5576, allocations: 213.3 kB / 0.5244 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01077/0.5685, allocations: 2.324 MB / 0.5266 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02952/0.598, allocations: 6.489 MB / 0.533 GB, free: 7.562 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003614/0.6017, allocations: 290.5 kB / 0.5332 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004324/0.606, allocations: 1.45 MB / 0.5347 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005597/0.6116, allocations: 3.772 MB / 0.5383 GB, free: 6.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/0.613, allocations: 0.6265 MB / 0.539 GB, free: 5.797 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.6141, allocations: 0.7796 MB / 0.5397 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003091/0.6144, allocations: 109.9 kB / 0.5398 GB, free: 5.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001397/0.6158, allocations: 0.536 MB / 0.5403 GB, free: 5.367 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001097/0.6169, allocations: 1.093 MB / 0.5414 GB, free: 5.039 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006322/0.6176, allocations: 0.6153 MB / 0.542 GB, free: 4.816 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004092/0.6217, allocations: 4.153 MB / 0.5461 GB, free: 2.102 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.6217, allocations: 0 / 0.5461 GB, free: 2.102 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.6217, allocations: 0 / 0.5461 GB, free: 2.102 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001792/0.6219, allocations: 0 / 0.5461 GB, free: 2.102 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.0058/0.6277, allocations: 2.864 MB / 0.5489 GB, free: 40 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.6278, allocations: 7.781 kB / 0.5489 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001154/0.6289, allocations: 0.575 MB / 0.5494 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006263/0.6352, allocations: 1.987 MB / 0.5514 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004461/0.6397, allocations: 1.514 MB / 0.5529 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/0.6399, allocations: 189.1 kB / 0.553 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006814/0.6406, allocations: 235 kB / 0.5533 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0144/0.655, allocations: 7.521 MB / 0.5606 GB, free: 5.062 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.129e-05/0.6551, allocations: 11.88 kB / 0.5606 GB, free: 5.051 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003387/0.6554, allocations: 112.4 kB / 0.5607 GB, free: 4.969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002503/0.658, allocations: 1.574 MB / 0.5623 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0144/0.6724, allocations: 6.289 MB / 0.5684 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03609/0.7085, allocations: 23.35 MB / 0.5912 GB, free: 5.281 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004798/0.7134, allocations: 2.195 MB / 0.5934 GB, free: 2.965 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007484/0.7209, allocations: 3.924 MB / 0.5972 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.721, allocations: 43.11 kB / 0.5972 GB, free: 14.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=87): time 2.996e-06/0.721, allocations: 0 / 0.5972 GB, free: 14.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=87): time 0.006432/0.7274, allocations: 2.506 MB / 0.5997 GB, free: 12.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.7275, allocations: 59.97 kB / 0.5997 GB, free: 12.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003364/0.7309, allocations: 2.089 MB / 0.6018 GB, free: 10.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.967e-05/0.7309, allocations: 37.64 kB / 0.6018 GB, free: 10.06 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001653/0.7326, allocations: 2.121 MB / 0.6039 GB, free: 7.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003298/0.7329, allocations: 343.5 kB / 0.6042 GB, free: 7.598 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.7331, allocations: 60 kB / 0.6043 GB, free: 7.539 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002823/0.7333, allocations: 456.9 kB / 0.6047 GB, free: 7.086 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.7347, allocations: 0.9314 MB / 0.6056 GB, free: 6.152 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002749/0.7375, allocations: 2.881 MB / 0.6084 GB, free: 2.289 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002186/0.7397, allocations: 1.65 MB / 0.61 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.704e-05/0.7397, allocations: 20 kB / 0.6101 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.005784/0.7455, allocations: 3.72 MB / 0.6137 GB, free: 12.89 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.14e-05/0.7456, allocations: 39.94 kB / 0.6137 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.851e-05/0.7457, allocations: 68 kB / 0.6138 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001/0.7458, allocations: 104 kB / 0.6139 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001912/0.7477, allocations: 0.7018 MB / 0.6146 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001084/0.7478, allocations: 131.5 kB / 0.6147 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002814/0.7506, allocations: 443.2 kB / 0.6151 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003417/0.751, allocations: 199.2 kB / 0.6153 GB, free: 11.22 MB / 462.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.003705/0.7547, allocations: 1.569 MB / 0.6168 GB, free: 9.637 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003577/0.7551, allocations: 169.8 kB / 0.617 GB, free: 9.469 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003979/0.7555, allocations: 214.7 kB / 0.6172 GB, free: 9.254 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-05/0.7555, allocations: 11.98 kB / 0.6172 GB, free: 9.242 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.7555, allocations: 4 kB / 0.6172 GB, free: 9.238 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.7555, allocations: 0 / 0.6172 GB, free: 9.238 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008309/0.7638, allocations: 5.082 MB / 0.6222 GB, free: 4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/0.7639, allocations: 8 kB / 0.6222 GB, free: 3.992 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004454/0.7644, allocations: 115.8 kB / 0.6223 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.805e-05/0.7644, allocations: 12 kB / 0.6223 GB, free: 3.867 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.652e-05/0.7644, allocations: 31.94 kB / 0.6223 GB, free: 3.836 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.278e-05/0.7645, allocations: 8 kB / 0.6224 GB, free: 3.828 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/0.7645, allocations: 12.41 kB / 0.6224 GB, free: 3.816 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002364/0.7668, allocations: 1.997 MB / 0.6243 GB, free: 1.449 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006953/0.7676, allocations: 302.2 kB / 0.6246 GB, free: 1.133 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/0.7677, allocations: 24 kB / 0.6246 GB, free: 1.109 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005601/0.7683, allocations: 38.06 kB / 0.6247 GB, free: 1.074 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.7684, allocations: 67.73 kB / 0.6247 GB, free: 1.008 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.229e-05/0.7685, allocations: 35.98 kB / 0.6248 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002249/0.7708, allocations: 1.458 MB / 0.6262 GB, free: 15.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7708, allocations: 0 / 0.6262 GB, free: 15.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003161/0.7739, allocations: 0.811 MB / 0.627 GB, free: 14.68 MB / 478.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.003231/0.7772, allocations: 4.674 MB / 0.6315 GB, free: 9.762 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003533/0.7807, allocations: 2.153 MB / 0.6336 GB, free: 7.613 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.7808, allocations: 1.812 kB / 0.6337 GB, free: 7.613 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006327/0.7814, allocations: 0.4971 MB / 0.6341 GB, free: 7.117 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/0.7828, allocations: 270.5 kB / 0.6344 GB, free: 6.855 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03519/0.818, allocations: 58.79 MB / 0.6918 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003114/0.8212, allocations: 2.67 MB / 0.6944 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002529/0.8237, allocations: 1.036 MB / 0.6954 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001684/0.8254, allocations: 1.261 MB / 0.6967 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of SimCode: time 1.623e-06/0.8255, allocations: 0 / 0.6967 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3361/1.162, allocations: 41.23 MB / 0.7369 GB, free: 195.3 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/1.162, allocations: 182.1 kB / 0.7371 GB, free: 195.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.583/3.744, allocations: 0 / 0.7371 GB, free: 195.1 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat does not exist to compare? outputFormat=mat