Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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.CutForceAndTorque1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00116/0.001159, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.2 MB / 245 MB, free: 7.617 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009106/0.0009109, allocations: 102.8 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3901/0.3901, allocations: 45.21 MB / 394.6 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004079/0.0004077, allocations: 4 kB / 468.5 MB, free: 7.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4287, allocations: 63.25 MB / 0.5193 GB, free: 43.76 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1425/0.5713, allocations: 108.3 MB / 0.625 GB, free: 13.31 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.5715, allocations: 84.66 kB / 0.6251 GB, free: 13.23 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7775/1.349, allocations: 182.5 MB / 0.8033 GB, free: 68.77 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.386e-06/1.349, allocations: 0 / 0.8033 GB, free: 68.77 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006825/1.35, allocations: 179.4 kB / 0.8034 GB, free: 68.61 MB / 0.4948 GB 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.02945/1.379, allocations: 8.977 MB / 0.8122 GB, free: 59.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/1.379, allocations: 11.97 kB / 0.8122 GB, free: 59.52 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007642/1.387, allocations: 1.568 MB / 0.8137 GB, free: 57.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02067/1.408, allocations: 3.767 MB / 0.8174 GB, free: 54.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02446/1.432, allocations: 8.591 MB / 0.8258 GB, free: 45.49 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009028/1.433, allocations: 0.687 MB / 0.8265 GB, free: 44.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005807/1.439, allocations: 0.9059 MB / 0.8274 GB, free: 43.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06037/1.499, allocations: 21.3 MB / 0.8482 GB, free: 21.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008532/1.5, allocations: 95.17 kB / 0.8483 GB, free: 21 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005956/1.506, allocations: 435.8 kB / 0.8487 GB, free: 20.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003468/1.51, allocations: 1.858 MB / 0.8505 GB, free: 18.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03911/1.549, allocations: 16.71 MB / 0.8668 GB, free: 1.969 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8074/2.356, allocations: 83.65 MB / 0.9485 GB, free: 39.41 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01858/2.375, allocations: 6.327 MB / 0.9547 GB, free: 38.75 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02371/2.399, allocations: 10.93 MB / 0.9653 GB, free: 35.55 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.491e-05/2.399, allocations: 59 kB / 0.9654 GB, free: 35.51 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=212): time 6.041e-06/2.399, allocations: 0 / 0.9654 GB, free: 35.51 MB / 0.5262 GB Notification: Performance of matching and sorting (n=236): time 0.06233/2.461, allocations: 17.11 MB / 0.9821 GB, free: 30.23 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.924e-05/2.462, allocations: 149.5 kB / 0.9822 GB, free: 30.07 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0187/2.48, allocations: 6.06 MB / 0.9882 GB, free: 29.51 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0006537/2.481, allocations: 60.98 kB / 0.9882 GB, free: 29.48 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.00645/2.487, allocations: 6.047 MB / 0.9941 GB, free: 26.18 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001551/2.489, allocations: 0.9347 MB / 0.995 GB, free: 25.67 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001416/2.49, allocations: 175.8 kB / 0.9952 GB, free: 25.67 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.001318/2.492, allocations: 0.6847 MB / 0.9959 GB, free: 25.34 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006018/2.498, allocations: 2.491 MB / 0.9983 GB, free: 25.32 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01055/2.508, allocations: 8.228 MB / 1.006 GB, free: 17.84 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009045/2.518, allocations: 4.373 MB / 1.011 GB, free: 17.76 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005091/2.518, allocations: 61.09 kB / 1.011 GB, free: 17.76 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1153) (initialization): time 0.02631/2.544, allocations: 10.37 MB / 1.021 GB, free: 14.67 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006298/2.545, allocations: 92.59 kB / 1.021 GB, free: 14.67 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000651/2.546, allocations: 205.7 kB / 1.021 GB, free: 14.67 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006269/2.546, allocations: 307.2 kB / 1.021 GB, free: 14.66 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008366/2.555, allocations: 2.161 MB / 1.023 GB, free: 14.4 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006538/2.556, allocations: 397.8 kB / 1.024 GB, free: 14.31 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01141/2.567, allocations: 0.5962 MB / 1.024 GB, free: 14.15 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002584/2.57, allocations: 0.5485 MB / 1.025 GB, free: 14.08 MB / 0.5262 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 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.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],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],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],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.01224/2.582, allocations: 3.955 MB / 1.029 GB, free: 12.32 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00195/2.584, allocations: 0.5797 MB / 1.029 GB, free: 12 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003092/2.587, allocations: 0.7092 MB / 1.03 GB, free: 11.64 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.274e-05/2.587, allocations: 29.64 kB / 1.03 GB, free: 11.64 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-05/2.587, allocations: 2.531 kB / 1.03 GB, free: 11.64 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.371e-05/2.587, allocations: 10.17 kB / 1.03 GB, free: 11.64 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04939/2.637, allocations: 22.69 MB / 1.052 GB, free: 2.91 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001504/2.637, allocations: 45.41 kB / 1.052 GB, free: 2.91 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001826/2.639, allocations: 449.3 kB / 1.053 GB, free: 2.859 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-05/2.639, allocations: 63.94 kB / 1.053 GB, free: 2.859 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004238/2.639, allocations: 105.1 kB / 1.053 GB, free: 2.828 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.742e-05/2.639, allocations: 93.03 kB / 1.053 GB, free: 2.805 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-05/2.639, allocations: 69.88 kB / 1.053 GB, free: 2.785 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01067/2.65, allocations: 12.79 MB / 1.066 GB, free: 4.848 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003013/2.653, allocations: 0.6709 MB / 1.066 GB, free: 4.184 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002098/2.655, allocations: 104.9 kB / 1.066 GB, free: 4.09 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0043/2.659, allocations: 200.4 kB / 1.067 GB, free: 3.938 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007137/2.66, allocations: 306.2 kB / 1.067 GB, free: 3.695 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004202/2.661, allocations: 127.8 kB / 1.067 GB, free: 3.574 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01173/2.672, allocations: 4.268 MB / 1.071 GB, free: 128 kB / 0.5418 GB Notification: Performance of sort global known variables: time 7.71e-07/2.672, allocations: 0 / 1.071 GB, free: 128 kB / 0.5418 GB Notification: Performance of remove unused functions: time 0.02027/2.693, allocations: 2.23 MB / 1.073 GB, free: 0 / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 205 * 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 (232): * Single equations (assignments): 229 * 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.0153/2.708, allocations: 21.73 MB / 1.095 GB, free: 9.148 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01292/2.721, allocations: 5.796 MB / 1.1 GB, free: 4.105 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.433e-05/2.721, allocations: 9.812 kB / 1.1 GB, free: 4.098 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002574/2.724, allocations: 1.318 MB / 1.101 GB, free: 2.961 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007321/2.731, allocations: 0.9435 MB / 1.102 GB, free: 2.191 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5491/3.28, allocations: 204.5 MB / 1.302 GB, free: 31.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01509/3.295, allocations: 6.233 MB / 1.308 GB, free: 30.58 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.01276/3.308, allocations: 2.769 MB / 1.311 GB, free: 30.34 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009787/3.318, allocations: 4.055 MB / 1.315 GB, free: 30.33 MB / 0.6355 GB Notification: Performance of SimCode: time 1.166e-05/3.318, allocations: 0 / 1.315 GB, free: 30.33 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6084/3.926, allocations: 121 MB / 1.433 GB, free: 188.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001974/3.927, allocations: 187.3 kB / 1.433 GB, free: 187.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.279/11.21, allocations: 0 / 1.433 GB, free: 187.9 MB / 0.6355 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat does not exist to compare? outputFormat=mat