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.001024/0.001024, allocations: 100.9 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001328/0.001328, allocations: 192.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 246 MB, free: 11.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.221/0.221, allocations: 45.93 MB / 344.1 MB, free: 12.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002772/0.0002776, allocations: 11.98 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1244, allocations: 63.46 MB / 481.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.3375/0.462, allocations: 47.58 MB / 0.5168 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02289/0.4849, allocations: 9.737 MB / 0.5263 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01154/0.4965, allocations: 214.2 kB / 0.5265 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00838/0.5049, allocations: 2.066 MB / 0.5285 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02093/0.5259, allocations: 5.926 MB / 0.5343 GB, free: 7.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003146/0.5291, allocations: 315.2 kB / 0.5346 GB, free: 7.039 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005859/0.5349, allocations: 3.065 MB / 0.5376 GB, free: 5.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005577/0.5405, allocations: 3.792 MB / 0.5413 GB, free: 4.809 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001466/0.542, allocations: 0.7824 MB / 0.5421 GB, free: 4.539 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/0.5436, allocations: 1.183 MB / 0.5432 GB, free: 4.141 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002904/0.5439, allocations: 103.9 kB / 0.5433 GB, free: 4.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.5451, allocations: 0.5502 MB / 0.5439 GB, free: 3.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001112/0.5462, allocations: 1.177 MB / 0.545 GB, free: 3.574 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005586/0.5468, allocations: 0.616 MB / 0.5456 GB, free: 3.121 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003981/0.5508, allocations: 4.146 MB / 0.5497 GB, free: 416 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.5508, allocations: 6.781 kB / 0.5497 GB, free: 412 kB / 382.1 MB Notification: Performance of FrontEnd: time 3.035e-06/0.5508, allocations: 4 kB / 0.5497 GB, free: 408 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001565/0.5509, allocations: 0 / 0.5497 GB, free: 408 kB / 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.006429/0.5574, allocations: 2.815 MB / 0.5524 GB, free: 14.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.5575, allocations: 12.03 kB / 0.5524 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00113/0.5586, allocations: 0.5691 MB / 0.553 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005302/0.5639, allocations: 1.699 MB / 0.5547 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003975/0.5679, allocations: 1.51 MB / 0.5561 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.5681, allocations: 186.2 kB / 0.5563 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004561/0.5685, allocations: 241.3 kB / 0.5565 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01441/0.583, allocations: 7.462 MB / 0.5638 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.952e-05/0.5831, allocations: 19.88 kB / 0.5639 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003206/0.5834, allocations: 112.8 kB / 0.564 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0025/0.5859, allocations: 1.567 MB / 0.5655 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01264/0.5985, allocations: 6.226 MB / 0.5716 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03277/0.6314, allocations: 23.31 MB / 0.5943 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004745/0.6362, allocations: 2.195 MB / 0.5965 GB, free: 348 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.6373, allocations: 0.7643 MB / 0.5972 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007052/0.6443, allocations: 3.899 MB / 0.601 GB, free: 11.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/0.6444, allocations: 39.12 kB / 0.6011 GB, free: 11.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=87): time 5.029e-06/0.6444, allocations: 0 / 0.6011 GB, free: 11.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=87): time 0.00613/0.6506, allocations: 2.248 MB / 0.6033 GB, free: 9.258 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.6506, allocations: 55.97 kB / 0.6033 GB, free: 9.191 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00324/0.6539, allocations: 2.089 MB / 0.6054 GB, free: 7.055 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.138e-05/0.654, allocations: 37.7 kB / 0.6054 GB, free: 7.012 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001651/0.6556, allocations: 2.114 MB / 0.6075 GB, free: 4.891 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000311/0.656, allocations: 347.9 kB / 0.6078 GB, free: 4.555 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.6561, allocations: 60 kB / 0.6078 GB, free: 4.496 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002429/0.6563, allocations: 448.9 kB / 0.6083 GB, free: 4.051 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.6577, allocations: 0.9392 MB / 0.6092 GB, free: 3.109 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003545/0.6612, allocations: 2.905 MB / 0.612 GB, free: 15.22 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002856/0.6641, allocations: 1.634 MB / 0.6136 GB, free: 13.59 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.926e-05/0.6642, allocations: 20 kB / 0.6136 GB, free: 13.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006048/0.6702, allocations: 3.72 MB / 0.6173 GB, free: 9.836 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.555e-05/0.6703, allocations: 36 kB / 0.6173 GB, free: 9.801 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.921e-05/0.6704, allocations: 71.94 kB / 0.6174 GB, free: 9.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.754e-05/0.6705, allocations: 108 kB / 0.6175 GB, free: 9.625 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/0.6724, allocations: 0.694 MB / 0.6182 GB, free: 8.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001069/0.6725, allocations: 135.5 kB / 0.6183 GB, free: 8.797 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/0.6745, allocations: 443.2 kB / 0.6187 GB, free: 8.359 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002541/0.6747, allocations: 206.9 kB / 0.6189 GB, free: 8.16 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.002702/0.6774, allocations: 1.573 MB / 0.6204 GB, free: 6.574 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002664/0.6777, allocations: 173.8 kB / 0.6206 GB, free: 6.402 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004097/0.6781, allocations: 214.7 kB / 0.6208 GB, free: 6.188 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/0.6782, allocations: 11.94 kB / 0.6208 GB, free: 6.176 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.6782, allocations: 0 / 0.6208 GB, free: 6.176 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.6782, allocations: 3.984 kB / 0.6208 GB, free: 6.172 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007776/0.686, allocations: 5.065 MB / 0.6258 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/0.686, allocations: 8.156 kB / 0.6258 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004337/0.6864, allocations: 123.8 kB / 0.6259 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.668e-05/0.6865, allocations: 12 kB / 0.6259 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.068e-05/0.6865, allocations: 23.95 kB / 0.6259 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.692e-05/0.6866, allocations: 19.92 kB / 0.626 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/0.6866, allocations: 11.94 kB / 0.626 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.6882, allocations: 1.409 MB / 0.6273 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005043/0.6888, allocations: 290.3 kB / 0.6276 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001818/0.689, allocations: 23.98 kB / 0.6276 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004847/0.6894, allocations: 35.84 kB / 0.6277 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.6896, allocations: 63.83 kB / 0.6277 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.645e-05/0.6896, allocations: 35.98 kB / 0.6278 GB, free: 14.77 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002153/0.6918, allocations: 1.465 MB / 0.6292 GB, free: 13.28 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6918, allocations: 0 / 0.6292 GB, free: 13.28 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003115/0.6949, allocations: 0.8112 MB / 0.63 GB, free: 12.47 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.002101/0.697, allocations: 2.014 MB / 0.632 GB, free: 10.33 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003387/0.7004, allocations: 2.157 MB / 0.6341 GB, free: 8.184 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7005, allocations: 0 / 0.6341 GB, free: 8.184 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006106/0.7011, allocations: 0.4941 MB / 0.6345 GB, free: 7.691 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.7026, allocations: 290.7 kB / 0.6348 GB, free: 7.41 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02865/0.7313, allocations: 17.76 MB / 0.6522 GB, free: 3.805 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002886/0.7342, allocations: 2.603 MB / 0.6547 GB, free: 1.164 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002506/0.7367, allocations: 1.036 MB / 0.6557 GB, free: 128 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001642/0.7384, allocations: 1.269 MB / 0.657 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of SimCode: time 6.91e-07/0.7384, allocations: 0 / 0.657 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07222/0.8106, allocations: 41.81 MB / 0.6978 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/0.8108, allocations: 187.4 kB / 0.698 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.928/3.738, allocations: 0 / 0.698 GB, free: 5.07 MB / 0.5294 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