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.001621/0.001621, allocations: 199.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001031/0.001031, allocations: 96.02 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.208/0.208, allocations: 45.16 MB / 383.8 MB, free: 284 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.046e-05/2.049e-05, allocations: 0 / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1288, allocations: 63.26 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4444/0.5733, allocations: 107.5 MB / 0.6095 GB, free: 10.94 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.5735, allocations: 82.38 kB / 0.6095 GB, free: 10.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7414/1.315, allocations: 177.3 MB / 0.7826 GB, free: 99.68 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.923e-06/1.315, allocations: 0 / 0.7826 GB, free: 99.68 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004767/1.315, allocations: 176.7 kB / 0.7828 GB, free: 99.68 MB / 0.5261 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.02588/1.341, allocations: 8.428 MB / 0.791 GB, free: 96.48 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/1.341, allocations: 7.25 kB / 0.791 GB, free: 96.48 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01957/1.361, allocations: 3.785 MB / 0.7947 GB, free: 95.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02203/1.383, allocations: 8.532 MB / 0.8031 GB, free: 94.89 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007367/1.384, allocations: 300.5 kB / 0.8034 GB, free: 94.89 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004726/1.389, allocations: 0.5323 MB / 0.8039 GB, free: 94.89 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02222/1.411, allocations: 12.32 MB / 0.8159 GB, free: 94.84 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03892/1.45, allocations: 17.88 MB / 0.8334 GB, free: 90.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000366/1.45, allocations: 95.67 kB / 0.8335 GB, free: 90.36 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003157/1.453, allocations: 48.91 kB / 0.8335 GB, free: 90.36 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002938/1.456, allocations: 1.865 MB / 0.8353 GB, free: 90.06 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08959/1.546, allocations: 84.44 MB / 0.9178 GB, free: 21.61 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003359/1.549, allocations: 2.706 MB / 0.9204 GB, free: 19.05 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/1.551, allocations: 1.312 MB / 0.9217 GB, free: 17.87 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.155e-05/1.551, allocations: 37 kB / 0.9217 GB, free: 17.84 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/1.551, allocations: 51.88 kB / 0.9218 GB, free: 17.78 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=206): time 4.528e-06/1.551, allocations: 0 / 0.9218 GB, free: 17.78 MB / 0.5261 GB Notification: Performance of matching and sorting (n=218): time 0.02468/1.576, allocations: 12.07 MB / 0.9336 GB, free: 6.879 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/1.576, allocations: 149.8 kB / 0.9337 GB, free: 6.703 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007463/1.583, allocations: 5.153 MB / 0.9388 GB, free: 2.195 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003376/1.584, allocations: 25.7 kB / 0.9388 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003917/1.588, allocations: 6.106 MB / 0.9447 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001358/1.589, allocations: 0.8431 MB / 0.9456 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004511/1.59, allocations: 4 kB / 0.9456 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0005425/1.59, allocations: 0.6842 MB / 0.9462 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003683/1.594, allocations: 2.166 MB / 0.9484 GB, free: 9.391 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2908/1.885, allocations: 7.993 MB / 0.9562 GB, free: 97.36 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007114/1.892, allocations: 4.09 MB / 0.9602 GB, free: 97.34 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002105/1.892, allocations: 60.78 kB / 0.9602 GB, free: 97.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1171) (initialization): time 0.02053/1.912, allocations: 8.834 MB / 0.9688 GB, free: 97.27 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001625/1.913, allocations: 96.5 kB / 0.9689 GB, free: 97.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003205/1.913, allocations: 214.2 kB / 0.9691 GB, free: 97.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003936/1.913, allocations: 310.5 kB / 0.9694 GB, free: 97.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00695/1.92, allocations: 2.193 MB / 0.9716 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00024/1.921, allocations: 411.5 kB / 0.972 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006937/1.928, allocations: 443 kB / 0.9724 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001184/1.929, allocations: 0.5562 MB / 0.9729 GB, free: 96.99 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1147): * Single equations (assignments): 1144 * 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.001086/1.93, allocations: 0.6376 MB / 0.9736 GB, free: 96.67 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003194/1.933, allocations: 2.481 MB / 0.976 GB, free: 96.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005836/1.934, allocations: 0.5374 MB / 0.9765 GB, free: 96.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/1.935, allocations: 0.64 MB / 0.9771 GB, free: 96.54 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.037e-05/1.935, allocations: 24.75 kB / 0.9772 GB, free: 96.54 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/1.935, allocations: 0 / 0.9772 GB, free: 96.54 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.031e-05/1.935, allocations: 11.44 kB / 0.9772 GB, free: 96.54 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02078/1.956, allocations: 15.89 MB / 0.9927 GB, free: 94.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.554e-05/1.956, allocations: 50.97 kB / 0.9927 GB, free: 94.05 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001329/1.957, allocations: 477.3 kB / 0.9932 GB, free: 94.01 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.231e-05/1.957, allocations: 72.62 kB / 0.9933 GB, free: 94.01 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/1.958, allocations: 62.66 kB / 0.9933 GB, free: 94.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.333e-05/1.958, allocations: 104.1 kB / 0.9934 GB, free: 93.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.753e-05/1.958, allocations: 76.56 kB / 0.9935 GB, free: 93.96 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007708/1.965, allocations: 12.67 MB / 1.006 GB, free: 81.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002454/1.968, allocations: 0.6305 MB / 1.006 GB, free: 81.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008754/1.969, allocations: 72.7 kB / 1.007 GB, free: 81.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002375/1.971, allocations: 144.7 kB / 1.007 GB, free: 81.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003208/1.972, allocations: 325.7 kB / 1.007 GB, free: 81.22 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001623/1.972, allocations: 135.9 kB / 1.007 GB, free: 81.22 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00568/1.977, allocations: 3.443 MB / 1.01 GB, free: 81.01 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.11e-07/1.977, allocations: 0 / 1.01 GB, free: 81.01 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008578/1.986, allocations: 1.332 MB / 1.012 GB, free: 81.01 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 221 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 251 * 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.007435/1.993, allocations: 22.78 MB / 1.034 GB, free: 59.41 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008081/2.002, allocations: 5.061 MB / 1.039 GB, free: 58.84 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.539e-05/2.002, allocations: 9.312 kB / 1.039 GB, free: 58.84 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001535/2.003, allocations: 1.166 MB / 1.04 GB, free: 58.71 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004696/2.008, allocations: 0.8216 MB / 1.041 GB, free: 58.67 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03825/2.046, allocations: 16.92 MB / 1.057 GB, free: 53.73 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01042/2.057, allocations: 6.225 MB / 1.064 GB, free: 52.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007901/2.065, allocations: 2.81 MB / 1.066 GB, free: 52.16 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00615/2.071, allocations: 4.049 MB / 1.07 GB, free: 48.73 MB / 0.5417 GB Notification: Performance of SimCode: time 1.052e-06/2.071, allocations: 0 / 1.07 GB, free: 48.73 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4609/2.532, allocations: 112.8 MB / 1.18 GB, free: 98.46 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/2.532, allocations: 143.7 kB / 1.18 GB, free: 98.27 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.65/8.181, allocations: 0 / 1.18 GB, free: 98.27 MB / 0.573 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