Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001019/0.001019, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.204/1.204, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008575/0.0008574, allocations: 85.92 kB / 292.1 MB, free: 5.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1645/0.1645, allocations: 45.16 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.855e-05/2.857e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08864/0.08869, allocations: 63.24 MB / 0.5115 GB, free: 6.707 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3808/0.4695, allocations: 103.9 MB / 0.6129 GB, free: 6.141 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/0.4699, allocations: 78.27 kB / 0.6129 GB, free: 6.102 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1312/0.6011, allocations: 55.13 MB / 0.6668 GB, free: 6.434 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.6012, allocations: 0 / 0.6668 GB, free: 6.434 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001369/0.6013, allocations: 52 kB / 0.6668 GB, free: 6.383 MB / 458.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.007388/0.6087, allocations: 2.533 MB / 0.6693 GB, free: 3.996 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.6088, allocations: 11.97 kB / 0.6693 GB, free: 3.984 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001941/0.6107, allocations: 0.5233 MB / 0.6698 GB, free: 3.648 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007762/0.6185, allocations: 1.794 MB / 0.6716 GB, free: 1.848 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004086/0.6226, allocations: 1.666 MB / 0.6732 GB, free: 0.5039 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001856/0.6228, allocations: 207.3 kB / 0.6734 GB, free: 380 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001048/0.6239, allocations: 275.5 kB / 0.6737 GB, free: 124 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01281/0.6367, allocations: 6.257 MB / 0.6798 GB, free: 9.516 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.755e-05/0.6369, allocations: 19.81 kB / 0.6798 GB, free: 9.496 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007623/0.6376, allocations: 131.9 kB / 0.6799 GB, free: 9.367 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008679/0.6385, allocations: 0.6411 MB / 0.6805 GB, free: 8.723 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01029/0.6488, allocations: 5.418 MB / 0.6858 GB, free: 3.285 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02972/0.6786, allocations: 22.13 MB / 0.7074 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00391/0.6825, allocations: 2.062 MB / 0.7095 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008391/0.6834, allocations: 0.673 MB / 0.7101 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005434/0.6889, allocations: 3.53 MB / 0.7136 GB, free: 5.957 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.6889, allocations: 42.95 kB / 0.7136 GB, free: 5.902 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=78): time 2.866e-06/0.6889, allocations: 0 / 0.7136 GB, free: 5.902 MB / 0.4948 GB Notification: Performance of matching and sorting (n=78): time 0.004319/0.6932, allocations: 1.581 MB / 0.7152 GB, free: 4.312 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.6933, allocations: 55.84 kB / 0.7152 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00245/0.6958, allocations: 1.722 MB / 0.7169 GB, free: 2.523 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/0.6958, allocations: 33.7 kB / 0.7169 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001066/0.6969, allocations: 1.883 MB / 0.7188 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/0.6971, allocations: 327.9 kB / 0.7191 GB, free: 252 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.635e-05/0.6972, allocations: 56 kB / 0.7191 GB, free: 196 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002687/0.6975, allocations: 493 kB / 0.7196 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.6986, allocations: 0.8296 MB / 0.7204 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00209/0.7007, allocations: 2.686 MB / 0.723 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001721/0.7024, allocations: 1.52 MB / 0.7245 GB, free: 9.727 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.54e-05/0.7025, allocations: 20 kB / 0.7245 GB, free: 9.707 MB / 0.5105 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.004498/0.707, allocations: 3.417 MB / 0.7279 GB, free: 6.281 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.583e-05/0.707, allocations: 36 kB / 0.7279 GB, free: 6.246 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.462e-05/0.7071, allocations: 67.94 kB / 0.728 GB, free: 6.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.352e-05/0.7072, allocations: 99.95 kB / 0.7281 GB, free: 6.082 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/0.7089, allocations: 0.6635 MB / 0.7287 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-05/0.709, allocations: 131.5 kB / 0.7288 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002004/0.711, allocations: 407.7 kB / 0.7292 GB, free: 4.887 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002321/0.7113, allocations: 184 kB / 0.7294 GB, free: 4.707 MB / 0.5105 GB 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 () * 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.0003657/0.7116, allocations: 338.5 kB / 0.7297 GB, free: 4.367 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.7118, allocations: 165.8 kB / 0.7299 GB, free: 4.203 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004153/0.7123, allocations: 197.2 kB / 0.7301 GB, free: 4.008 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.597e-05/0.7123, allocations: 11.95 kB / 0.7301 GB, free: 3.996 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.7123, allocations: 0 / 0.7301 GB, free: 3.996 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.7123, allocations: 0 / 0.7301 GB, free: 3.996 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007071/0.7194, allocations: 4.146 MB / 0.7341 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.7195, allocations: 8 kB / 0.7341 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004201/0.7199, allocations: 95.88 kB / 0.7342 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-05/0.7199, allocations: 15.89 kB / 0.7342 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-05/0.72, allocations: 20 kB / 0.7343 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.378e-05/0.72, allocations: 19.92 kB / 0.7343 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.906e-06/0.72, allocations: 11.94 kB / 0.7343 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.7217, allocations: 1.646 MB / 0.7359 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004646/0.7222, allocations: 270.6 kB / 0.7362 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/0.7223, allocations: 12 kB / 0.7362 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004489/0.7228, allocations: 23.98 kB / 0.7362 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.658e-05/0.7229, allocations: 55.77 kB / 0.7362 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-05/0.723, allocations: 35.98 kB / 0.7363 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00169/0.7247, allocations: 1.256 MB / 0.7375 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7247, allocations: 0 / 0.7375 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002533/0.7272, allocations: 0.7115 MB / 0.7382 GB, free: 11.23 MB / 0.5261 GB 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 () * 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.002449/0.7297, allocations: 3.771 MB / 0.7419 GB, free: 7.266 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00286/0.7325, allocations: 1.957 MB / 0.7438 GB, free: 5.324 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.7325, allocations: 4 kB / 0.7438 GB, free: 5.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005025/0.7331, allocations: 445.5 kB / 0.7442 GB, free: 4.887 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009834/0.734, allocations: 239.6 kB / 0.7445 GB, free: 4.652 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2566/0.9907, allocations: 4.992 MB / 0.7493 GB, free: 156.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00282/0.9936, allocations: 2.375 MB / 0.7516 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002542/0.9961, allocations: 0.9592 MB / 0.7526 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/0.9973, allocations: 1.054 MB / 0.7536 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.412e-06/0.9973, allocations: 3.844 kB / 0.7536 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05968/1.057, allocations: 37.07 MB / 0.7898 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001472/1.057, allocations: 141.8 kB / 0.79 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.521/3.578, allocations: 0 / 0.79 GB, free: 151.6 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat does not exist to compare? outputFormat=mat