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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001133/0.001133, allocations: 201.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 227.2 MB / 245 MB, free: 5.785 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009461/0.000946, allocations: 105.8 kB / 297.3 MB, free: 5.941 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3852/0.3852, allocations: 45.23 MB / 394.6 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002979/0.0002979, allocations: 8 kB / 468.5 MB, free: 7.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4292/0.4295, allocations: 63.24 MB / 0.5193 GB, free: 37.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1578/0.5874, allocations: 106.3 MB / 0.623 GB, free: 13.14 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.5877, allocations: 83.94 kB / 0.6231 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.489/1.077, allocations: 62.24 MB / 0.6839 GB, free: 102.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.745e-06/1.077, allocations: 0 / 0.6839 GB, free: 102.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002541/1.077, allocations: 63.84 kB / 0.684 GB, free: 102.9 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: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.01185/1.089, allocations: 3.001 MB / 0.6869 GB, free: 102 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.344e-05/1.089, allocations: 9.719 kB / 0.6869 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002521/1.092, allocations: 0.6075 MB / 0.6875 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008159/1.1, allocations: 1.877 MB / 0.6893 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006913/1.107, allocations: 1.903 MB / 0.6912 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002643/1.107, allocations: 254.8 kB / 0.6914 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001423/1.108, allocations: 332.2 kB / 0.6917 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01567/1.124, allocations: 7.332 MB / 0.6989 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.07e-05/1.124, allocations: 17.59 kB / 0.6989 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004878/1.125, allocations: 146.7 kB / 0.6991 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000982/1.126, allocations: 0.7006 MB / 0.6997 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01427/1.14, allocations: 6.283 MB / 0.7059 GB, free: 100.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03979/1.18, allocations: 25.05 MB / 0.7303 GB, free: 84.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004402/1.184, allocations: 2.199 MB / 0.7325 GB, free: 83.58 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007175/1.191, allocations: 3.929 MB / 0.7363 GB, free: 81.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/1.192, allocations: 38.91 kB / 0.7364 GB, free: 81.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=87): time 4.699e-06/1.192, allocations: 0 / 0.7364 GB, free: 81.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=87): time 0.005895/1.197, allocations: 2.505 MB / 0.7388 GB, free: 80.74 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/1.198, allocations: 63.09 kB / 0.7389 GB, free: 80.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003046/1.201, allocations: 1.864 MB / 0.7407 GB, free: 79.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.502e-05/1.201, allocations: 41.58 kB / 0.7407 GB, free: 79.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00109/1.202, allocations: 2.112 MB / 0.7428 GB, free: 78.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002724/1.202, allocations: 344.5 kB / 0.7431 GB, free: 78.04 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/1.202, allocations: 59.81 kB / 0.7432 GB, free: 77.99 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001823/1.202, allocations: 455.1 kB / 0.7436 GB, free: 77.62 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/1.203, allocations: 0.896 MB / 0.7445 GB, free: 77.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002068/1.206, allocations: 2.847 MB / 0.7473 GB, free: 74.42 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/1.207, allocations: 1.604 MB / 0.7488 GB, free: 73.79 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.707e-05/1.207, allocations: 19.84 kB / 0.7489 GB, free: 73.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.004956/1.212, allocations: 3.647 MB / 0.7524 GB, free: 72.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/1.212, allocations: 36.53 kB / 0.7525 GB, free: 72.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.668e-05/1.212, allocations: 72.78 kB / 0.7525 GB, free: 72.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.98e-05/1.213, allocations: 104.7 kB / 0.7526 GB, free: 72.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001812/1.214, allocations: 0.7019 MB / 0.7533 GB, free: 72.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.739e-05/1.215, allocations: 134.9 kB / 0.7534 GB, free: 72.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002224/1.217, allocations: 425.6 kB / 0.7538 GB, free: 71.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002171/1.217, allocations: 201.1 kB / 0.754 GB, free: 71.96 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 316 * Number of states: 0 () * Number of discrete variables: 34 (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.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,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 (385): * Single equations (assignments): 382 * 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 prepare postOptimizeDAE: time 0.002511/1.219, allocations: 1.561 MB / 0.7556 GB, free: 71.23 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003054/1.22, allocations: 171.6 kB / 0.7557 GB, free: 71.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004123/1.22, allocations: 222.1 kB / 0.7559 GB, free: 71.02 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.001e-05/1.22, allocations: 10.88 kB / 0.7559 GB, free: 71.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/1.22, allocations: 0 / 0.7559 GB, free: 71.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/1.22, allocations: 3.656 kB / 0.7559 GB, free: 71.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007595/1.228, allocations: 5.081 MB / 0.7609 GB, free: 68.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/1.228, allocations: 7.062 kB / 0.7609 GB, free: 68.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004173/1.228, allocations: 117.1 kB / 0.761 GB, free: 68.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.509e-05/1.228, allocations: 11.69 kB / 0.761 GB, free: 68.98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.307e-05/1.228, allocations: 25.11 kB / 0.7611 GB, free: 68.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-05/1.228, allocations: 15.38 kB / 0.7611 GB, free: 68.97 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/1.228, allocations: 11.03 kB / 0.7611 GB, free: 68.96 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/1.23, allocations: 2.003 MB / 0.763 GB, free: 67.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005717/1.231, allocations: 300.1 kB / 0.7633 GB, free: 67.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/1.231, allocations: 18.23 kB / 0.7633 GB, free: 67.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005478/1.231, allocations: 36.7 kB / 0.7634 GB, free: 67.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.905e-05/1.232, allocations: 66.28 kB / 0.7634 GB, free: 67.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.246e-05/1.232, allocations: 39.14 kB / 0.7635 GB, free: 67.02 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001875/1.234, allocations: 1.458 MB / 0.7649 GB, free: 66.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.8e-07/1.234, allocations: 0 / 0.7649 GB, free: 66.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00303/1.237, allocations: 0.8187 MB / 0.7657 GB, free: 66.22 MB / 490.7 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.002139/1.239, allocations: 4.684 MB / 0.7703 GB, free: 61.48 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00296/1.242, allocations: 2.112 MB / 0.7723 GB, free: 59.63 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.242, allocations: 0 / 0.7723 GB, free: 59.63 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004907/1.242, allocations: 0.4973 MB / 0.7728 GB, free: 59.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/1.244, allocations: 265.3 kB / 0.7731 GB, free: 58.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04527/1.289, allocations: 65.24 MB / 0.8368 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005744/1.295, allocations: 2.671 MB / 0.8394 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003067/1.298, allocations: 1.044 MB / 0.8404 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002298/1.3, allocations: 1.266 MB / 0.8417 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of SimCode: time 8.11e-07/1.3, allocations: 0 / 0.8417 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3788/1.679, allocations: 41.95 MB / 0.8826 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/1.679, allocations: 184.5 kB / 0.8828 GB, free: 127 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.258/4.937, allocations: 0 / 0.8828 GB, free: 127 MB / 0.5261 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