Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.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.CutForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002094/0.002093, allocations: 202.2 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.653/1.653, allocations: 227.2 MB / 245 MB, free: 5.777 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009902/0.0009902, allocations: 105.7 kB / 297.3 MB, free: 5.934 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.465/0.465, allocations: 45.23 MB / 394.7 MB, free: 31.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004388/0.0004387, allocations: 8 kB / 468.5 MB, free: 7.609 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3689, allocations: 63.25 MB / 0.5193 GB, free: 37.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1476/0.5166, allocations: 106.9 MB / 0.6237 GB, free: 12.48 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.5169, allocations: 83.92 kB / 0.6237 GB, free: 12.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6294/1.146, allocations: 157.3 MB / 0.7773 GB, free: 65.03 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.136e-06/1.146, allocations: 0 / 0.7773 GB, free: 65.03 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000395/1.147, allocations: 144 kB / 0.7775 GB, free: 64.89 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: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.02661/1.173, allocations: 7.899 MB / 0.7852 GB, free: 56.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/1.173, allocations: 12.03 kB / 0.7852 GB, free: 56.89 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004898/1.178, allocations: 1.306 MB / 0.7865 GB, free: 55.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01705/1.195, allocations: 3.511 MB / 0.7899 GB, free: 52.04 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01806/1.214, allocations: 7.936 MB / 0.7977 GB, free: 44.03 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006128/1.214, allocations: 0.5655 MB / 0.7982 GB, free: 43.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003536/1.218, allocations: 0.738 MB / 0.7989 GB, free: 42.72 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04165/1.259, allocations: 17.75 MB / 0.8163 GB, free: 23.51 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004809/1.26, allocations: 91.12 kB / 0.8163 GB, free: 23.42 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003693/1.264, allocations: 355.8 kB / 0.8167 GB, free: 23.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002477/1.266, allocations: 1.632 MB / 0.8183 GB, free: 21.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02993/1.296, allocations: 13.84 MB / 0.8318 GB, free: 7.57 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.465/1.761, allocations: 74.58 MB / 0.9046 GB, free: 62.09 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01543/1.777, allocations: 5.472 MB / 0.91 GB, free: 61.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0168/1.793, allocations: 9.971 MB / 0.9197 GB, free: 58.38 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.302e-05/1.794, allocations: 59.88 kB / 0.9198 GB, free: 58.34 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=182): time 4.368e-06/1.794, allocations: 0 / 0.9198 GB, free: 58.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=206): time 0.03921/1.833, allocations: 14.55 MB / 0.934 GB, free: 53.76 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.777e-05/1.833, allocations: 149.7 kB / 0.9341 GB, free: 53.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01125/1.844, allocations: 5.693 MB / 0.9397 GB, free: 53.11 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000532/1.845, allocations: 60.73 kB / 0.9397 GB, free: 53.08 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004145/1.849, allocations: 5.294 MB / 0.9449 GB, free: 50.21 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001009/1.85, allocations: 0.8274 MB / 0.9457 GB, free: 49.76 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003076/1.85, allocations: 166.2 kB / 0.9459 GB, free: 49.76 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004642/1.851, allocations: 0.6453 MB / 0.9465 GB, free: 49.44 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003761/1.854, allocations: 2.261 MB / 0.9487 GB, free: 49.42 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006128/1.861, allocations: 7.588 MB / 0.9561 GB, free: 42.48 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006257/1.867, allocations: 3.998 MB / 0.96 GB, free: 42.45 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001563/1.867, allocations: 53.25 kB / 0.9601 GB, free: 42.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.01783/1.885, allocations: 9.511 MB / 0.9694 GB, free: 41.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002565/1.885, allocations: 89.17 kB / 0.9695 GB, free: 41.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002645/1.885, allocations: 192.3 kB / 0.9696 GB, free: 41.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002144/1.886, allocations: 275.9 kB / 0.9699 GB, free: 41.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006627/1.892, allocations: 1.994 MB / 0.9718 GB, free: 41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003028/1.893, allocations: 370.4 kB / 0.9722 GB, free: 40.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009161/1.902, allocations: 0.5794 MB / 0.9728 GB, free: 40.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001777/1.904, allocations: 0.4951 MB / 0.9733 GB, free: 40.71 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * Number of states: 0 () * Number of discrete variables: 68 (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.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.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.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.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 (1031): * Single equations (assignments): 1028 * 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.009446/1.913, allocations: 3.405 MB / 0.9766 GB, free: 39.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001588/1.915, allocations: 0.5347 MB / 0.9771 GB, free: 38.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002401/1.917, allocations: 0.6506 MB / 0.9777 GB, free: 38.59 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.895e-05/1.917, allocations: 22.94 kB / 0.9778 GB, free: 38.59 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.22e-05/1.917, allocations: 1.094 kB / 0.9778 GB, free: 38.59 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.414e-05/1.917, allocations: 14.11 kB / 0.9778 GB, free: 38.59 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03159/1.949, allocations: 16.66 MB / 0.994 GB, free: 32.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-05/1.949, allocations: 38.75 kB / 0.9941 GB, free: 32.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/1.95, allocations: 373.9 kB / 0.9944 GB, free: 32.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.042e-05/1.95, allocations: 53.03 kB / 0.9945 GB, free: 32.02 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/1.95, allocations: 82.22 kB / 0.9946 GB, free: 31.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.804e-05/1.95, allocations: 82.31 kB / 0.9946 GB, free: 31.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.019e-05/1.95, allocations: 60.44 kB / 0.9947 GB, free: 31.96 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006109/1.957, allocations: 10.38 MB / 1.005 GB, free: 21.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002326/1.959, allocations: 0.6314 MB / 1.005 GB, free: 20.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008429/1.96, allocations: 91.19 kB / 1.006 GB, free: 20.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002545/1.962, allocations: 163.3 kB / 1.006 GB, free: 20.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002846/1.963, allocations: 251.5 kB / 1.006 GB, free: 20.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001616/1.963, allocations: 105.6 kB / 1.006 GB, free: 20.79 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008071/1.971, allocations: 4.038 MB / 1.01 GB, free: 17.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.01e-07/1.971, allocations: 0 / 1.01 GB, free: 17.61 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009417/1.98, allocations: 1.363 MB / 1.011 GB, free: 16.25 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 171 * 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 (198): * Single equations (assignments): 195 * 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.008498/1.989, allocations: 18.28 MB / 1.029 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01055/1.999, allocations: 5.217 MB / 1.034 GB, free: 8.531 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-05/2, allocations: 4 kB / 1.034 GB, free: 8.527 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00186/2.001, allocations: 1.114 MB / 1.035 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004954/2.006, allocations: 0.8128 MB / 1.036 GB, free: 6.879 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4245/2.431, allocations: 186.9 MB / 1.219 GB, free: 78.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009695/2.441, allocations: 5.389 MB / 1.224 GB, free: 77.81 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.008735/2.449, allocations: 2.566 MB / 1.226 GB, free: 77.76 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006102/2.456, allocations: 3.418 MB / 1.23 GB, free: 77.75 MB / 0.6042 GB Notification: Performance of SimCode: time 1.673e-06/2.456, allocations: 0 / 1.23 GB, free: 77.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1652/2.621, allocations: 108.1 MB / 1.335 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/2.621, allocations: 174.2 kB / 1.336 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.324/8.946, allocations: 0 / 1.336 GB, free: 11.73 MB / 0.6042 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat does not exist to compare? outputFormat=mat