Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.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.CutForce3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002026/0.002026, 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.476/1.476, allocations: 227.2 MB / 245 MB, free: 5.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009876/0.0009876, allocations: 104.1 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.3936/0.3936, allocations: 45.22 MB / 394.6 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003515, allocations: 8 kB / 468.5 MB, free: 7.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3326, allocations: 63.25 MB / 0.5193 GB, free: 37.49 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1458/0.4785, allocations: 103.9 MB / 0.6208 GB, free: 15.46 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/0.4789, allocations: 87.92 kB / 0.6209 GB, free: 15.38 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1381/0.617, allocations: 55.1 MB / 0.6747 GB, free: 7.914 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.869e-06/0.617, allocations: 4 kB / 0.6747 GB, free: 7.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.548e-05/0.6171, allocations: 48 kB / 0.6747 GB, free: 7.863 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.006069/0.6232, allocations: 2.632 MB / 0.6773 GB, free: 5.172 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.6233, allocations: 15.91 kB / 0.6773 GB, free: 5.156 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001265/0.6245, allocations: 0.5231 MB / 0.6778 GB, free: 4.625 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007233/0.6318, allocations: 1.802 MB / 0.6796 GB, free: 2.816 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004973/0.6368, allocations: 1.664 MB / 0.6812 GB, free: 1.105 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002354/0.6371, allocations: 209.5 kB / 0.6814 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001354/0.6384, allocations: 267.9 kB / 0.6817 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3156/0.9541, allocations: 6.318 MB / 0.6878 GB, free: 105.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.637e-05/0.9542, allocations: 18.44 kB / 0.6878 GB, free: 105.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003508/0.9545, allocations: 120.3 kB / 0.688 GB, free: 105.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006523/0.9552, allocations: 0.6343 MB / 0.6886 GB, free: 105.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009771/0.965, allocations: 5.506 MB / 0.694 GB, free: 105.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03128/0.9963, allocations: 22.13 MB / 0.7156 GB, free: 93.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004409/1.001, allocations: 2.074 MB / 0.7176 GB, free: 92.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006787/1.008, allocations: 3.528 MB / 0.721 GB, free: 90.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/1.008, allocations: 44.77 kB / 0.7211 GB, free: 90.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 4.218e-06/1.008, allocations: 1.031 kB / 0.7211 GB, free: 90.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=78): time 0.005918/1.014, allocations: 2.234 MB / 0.7233 GB, free: 89.47 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/1.014, allocations: 57.09 kB / 0.7233 GB, free: 89.41 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004818/1.018, allocations: 1.738 MB / 0.725 GB, free: 88.79 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.483e-05/1.019, allocations: 36.83 kB / 0.725 GB, free: 88.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001364/1.02, allocations: 1.886 MB / 0.7269 GB, free: 87.47 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002778/1.02, allocations: 320 kB / 0.7272 GB, free: 87.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/1.02, allocations: 59.41 kB / 0.7273 GB, free: 87.21 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002884/1.021, allocations: 491.8 kB / 0.7277 GB, free: 86.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/1.022, allocations: 0.8541 MB / 0.7286 GB, free: 86.56 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001872/1.024, allocations: 2.701 MB / 0.7312 GB, free: 83.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001824/1.026, allocations: 1.52 MB / 0.7327 GB, free: 83.26 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-05/1.026, allocations: 20.72 kB / 0.7327 GB, free: 83.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.005891/1.032, allocations: 3.447 MB / 0.7361 GB, free: 81.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.056e-05/1.032, allocations: 32.81 kB / 0.7361 GB, free: 81.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000125/1.032, allocations: 69.61 kB / 0.7362 GB, free: 81.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001116/1.032, allocations: 100.7 kB / 0.7363 GB, free: 81.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002/1.034, allocations: 0.6607 MB / 0.7369 GB, free: 81.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001397/1.034, allocations: 127.1 kB / 0.737 GB, free: 81.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002556/1.037, allocations: 411 kB / 0.7374 GB, free: 81.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002774/1.037, allocations: 186.9 kB / 0.7376 GB, free: 81.53 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * Number of states: 0 () * Number of discrete variables: 26 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[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],cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,cutForce.forceColor[3],cutForce.forceColor[2],cutForce.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 (362): * Single equations (assignments): 359 * 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.003238/1.04, allocations: 1.36 MB / 0.7389 GB, free: 80.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000417/1.041, allocations: 157.9 kB / 0.7391 GB, free: 80.81 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000491/1.041, allocations: 202.3 kB / 0.7393 GB, free: 80.71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.922e-05/1.041, allocations: 14.2 kB / 0.7393 GB, free: 80.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.669e-05/1.041, allocations: 0 / 0.7393 GB, free: 80.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/1.041, allocations: 7.656 kB / 0.7393 GB, free: 80.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008453/1.05, allocations: 4.146 MB / 0.7433 GB, free: 79.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/1.05, allocations: 7.406 kB / 0.7433 GB, free: 79.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004049/1.05, allocations: 100 kB / 0.7434 GB, free: 79.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.43e-05/1.05, allocations: 18.75 kB / 0.7435 GB, free: 79.02 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.671e-05/1.05, allocations: 18.41 kB / 0.7435 GB, free: 79.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.088e-05/1.05, allocations: 11.47 kB / 0.7435 GB, free: 79.01 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.05, allocations: 11.44 kB / 0.7435 GB, free: 79 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/1.052, allocations: 1.646 MB / 0.7451 GB, free: 77.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006278/1.053, allocations: 270.1 kB / 0.7454 GB, free: 77.49 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003531/1.053, allocations: 18.78 kB / 0.7454 GB, free: 77.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008305/1.054, allocations: 29.64 kB / 0.7454 GB, free: 77.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/1.054, allocations: 48.09 kB / 0.7455 GB, free: 77.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.084e-05/1.054, allocations: 26.41 kB / 0.7455 GB, free: 77.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002413/1.056, allocations: 1.28 MB / 0.7467 GB, free: 77.01 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.056, allocations: 0 / 0.7467 GB, free: 77.01 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003472/1.06, allocations: 0.7054 MB / 0.7474 GB, free: 76.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.003344/1.063, allocations: 3.786 MB / 0.7511 GB, free: 73.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003426/1.067, allocations: 1.979 MB / 0.753 GB, free: 72.91 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/1.067, allocations: 0 / 0.753 GB, free: 72.91 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005784/1.067, allocations: 458.6 kB / 0.7535 GB, free: 72.78 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/1.069, allocations: 227.3 kB / 0.7537 GB, free: 72.69 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04385/1.113, allocations: 60.82 MB / 0.8131 GB, free: 15.91 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004494/1.117, allocations: 2.37 MB / 0.8154 GB, free: 14.02 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004126/1.121, allocations: 0.971 MB / 0.8164 GB, free: 13.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002454/1.124, allocations: 1.051 MB / 0.8174 GB, free: 12.44 MB / 490.7 MB Notification: Performance of SimCode: time 9.92e-07/1.124, allocations: 0 / 0.8174 GB, free: 12.44 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08336/1.207, allocations: 36.76 MB / 0.8533 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002118/1.208, allocations: 169.2 kB / 0.8534 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.056/4.263, allocations: 3.938 kB / 0.8534 GB, free: 11.79 MB / 0.5105 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat does not exist to compare? outputFormat=mat