Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.CutForceAndTorque2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001519/0.001519, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.2 MB / 245 MB, free: 5.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009893/0.0009894, allocations: 112.3 kB / 297.3 MB, free: 5.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4006/0.4006, allocations: 45.23 MB / 394.6 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000279/0.0002791, allocations: 8 kB / 468.5 MB, free: 7.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3906, allocations: 63.25 MB / 0.5193 GB, free: 37.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1639/0.5546, allocations: 108.3 MB / 0.625 GB, free: 11.14 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/0.5549, allocations: 87.92 kB / 0.6251 GB, free: 11.06 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7417/1.297, allocations: 181.2 MB / 0.802 GB, free: 39.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.695e-06/1.297, allocations: 0 / 0.802 GB, free: 39.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004614/1.297, allocations: 176 kB / 0.8022 GB, free: 39.19 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: 3105 * Number of variables: 3105 Notification: Performance of Generate backend data structure: time 0.0327/1.33, allocations: 8.981 MB / 0.8109 GB, free: 30.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/1.33, allocations: 8.031 kB / 0.8109 GB, free: 30.11 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007812/1.338, allocations: 1.56 MB / 0.8125 GB, free: 28.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02079/1.359, allocations: 3.771 MB / 0.8161 GB, free: 24.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02362/1.382, allocations: 8.591 MB / 0.8245 GB, free: 16.08 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008224/1.383, allocations: 0.686 MB / 0.8252 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005809/1.389, allocations: 0.9137 MB / 0.8261 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06153/1.451, allocations: 21.3 MB / 0.8469 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005457/1.451, allocations: 95.16 kB / 0.847 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004445/1.456, allocations: 431.8 kB / 0.8474 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003441/1.459, allocations: 1.858 MB / 0.8492 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04305/1.502, allocations: 16.72 MB / 0.8655 GB, free: 4.535 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5266/2.029, allocations: 83.63 MB / 0.9472 GB, free: 37.84 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01942/2.048, allocations: 6.409 MB / 0.9535 GB, free: 37.14 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02443/2.073, allocations: 10.93 MB / 0.9642 GB, free: 33.91 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.11e-05/2.073, allocations: 64.14 kB / 0.9642 GB, free: 33.87 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=212): time 6.503e-06/2.073, allocations: 1.078 kB / 0.9642 GB, free: 33.87 MB / 0.5261 GB Notification: Performance of matching and sorting (n=236): time 0.05481/2.128, allocations: 17.1 MB / 0.9809 GB, free: 28.59 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.992e-05/2.128, allocations: 159 kB / 0.9811 GB, free: 28.43 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01704/2.145, allocations: 6.054 MB / 0.987 GB, free: 27.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005606/2.145, allocations: 62.39 kB / 0.987 GB, free: 27.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00543/2.151, allocations: 6.035 MB / 0.9929 GB, free: 24.64 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001287/2.152, allocations: 0.9289 MB / 0.9938 GB, free: 24.13 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009312/2.153, allocations: 177.6 kB / 0.994 GB, free: 24.13 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006686/2.154, allocations: 0.6789 MB / 0.9947 GB, free: 23.81 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005898/2.16, allocations: 2.485 MB / 0.9971 GB, free: 23.79 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01062/2.17, allocations: 8.238 MB / 1.005 GB, free: 16.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008614/2.179, allocations: 4.367 MB / 1.009 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004179/2.18, allocations: 60.66 kB / 1.009 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1153) (initialization): time 0.02499/2.205, allocations: 10.38 MB / 1.02 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002101/2.205, allocations: 89.91 kB / 1.02 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004024/2.205, allocations: 216.9 kB / 1.02 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003394/2.206, allocations: 297.1 kB / 1.02 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008104/2.214, allocations: 2.159 MB / 1.022 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004511/2.214, allocations: 401 kB / 1.023 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01017/2.224, allocations: 0.6004 MB / 1.023 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002224/2.227, allocations: 0.5471 MB / 1.024 GB, free: 11.27 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 939 * Number of states: 0 () * Number of discrete variables: 88 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueArrow.arrowLine.twoHeadedArrow,cutForce2b.torqueArrow.headAtOrigin,cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueArrow.arrowLine.twoHeadedArrow,cutForce1b.torqueArrow.headAtOrigin,cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueArrow.arrowLine.twoHeadedArrow,cutForce2a.torqueArrow.headAtOrigin,cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.torqueArrow.arrowLine.twoHeadedArrow,cutForce1a.torqueArrow.headAtOrigin,cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,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 (1129): * Single equations (assignments): 1126 * 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.01124/2.238, allocations: 3.959 MB / 1.028 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001543/2.239, allocations: 0.5778 MB / 1.028 GB, free: 9.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002306/2.242, allocations: 0.7128 MB / 1.029 GB, free: 8.828 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.415e-05/2.242, allocations: 29.36 kB / 1.029 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.225e-05/2.242, allocations: 3.75 kB / 1.029 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.989e-05/2.242, allocations: 11.53 kB / 1.029 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04482/2.287, allocations: 19.66 MB / 1.048 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001133/2.287, allocations: 52 kB / 1.048 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001691/2.289, allocations: 0.5007 MB / 1.049 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-05/2.289, allocations: 80 kB / 1.049 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002284/2.289, allocations: 122.7 kB / 1.049 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-05/2.289, allocations: 101.8 kB / 1.049 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.153e-05/2.289, allocations: 87.62 kB / 1.049 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01366/2.303, allocations: 14.69 MB / 1.063 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002733/2.306, allocations: 0.6922 MB / 1.064 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001681/2.307, allocations: 126.3 kB / 1.064 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004051/2.311, allocations: 202.8 kB / 1.064 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006437/2.312, allocations: 349.2 kB / 1.065 GB, free: 11.65 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002856/2.312, allocations: 151.9 kB / 1.065 GB, free: 11.51 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01087/2.323, allocations: 4.264 MB / 1.069 GB, free: 8.062 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.52e-07/2.323, allocations: 0 / 1.069 GB, free: 8.062 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01253/2.336, allocations: 1.551 MB / 1.071 GB, free: 6.52 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 245 * 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 (272): * Single equations (assignments): 269 * 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.01564/2.351, allocations: 25.26 MB / 1.095 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0128/2.364, allocations: 5.758 MB / 1.101 GB, free: 6.777 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.558e-05/2.364, allocations: 11.94 kB / 1.101 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002689/2.367, allocations: 1.337 MB / 1.102 GB, free: 5.598 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007057/2.374, allocations: 0.9693 MB / 1.103 GB, free: 4.809 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5344/2.909, allocations: 204.8 MB / 1.303 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01682/2.926, allocations: 6.258 MB / 1.309 GB, free: 9.727 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00824/2.934, allocations: 2.786 MB / 1.312 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006282/2.94, allocations: 4.043 MB / 1.316 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of SimCode: time 1.223e-06/2.94, allocations: 0 / 1.316 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5823/3.523, allocations: 122 MB / 1.435 GB, free: 176 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/3.523, allocations: 190.5 kB / 1.435 GB, free: 175.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.885/10.41, allocations: 0 / 1.435 GB, free: 175.8 MB / 0.6198 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat does not exist to compare? outputFormat=mat