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.001094/0.001094, allocations: 202.8 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.405/1.405, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001265/0.001264, allocations: 103.6 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2053/0.2053, allocations: 45.15 MB / 383.8 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.079e-05/2.121e-05, allocations: 4 kB / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1292, allocations: 63.25 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4127/0.542, allocations: 103.2 MB / 0.6052 GB, free: 15.21 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.5423, allocations: 78.45 kB / 0.6053 GB, free: 15.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1351/0.6774, allocations: 53.92 MB / 0.658 GB, free: 1.344 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6775, allocations: 0 / 0.658 GB, free: 1.344 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001345/0.6776, allocations: 52 kB / 0.658 GB, free: 1.293 MB / 442.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.007017/0.6846, allocations: 2.533 MB / 0.6605 GB, free: 14.91 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.6847, allocations: 8.031 kB / 0.6605 GB, free: 14.91 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008056/0.6928, allocations: 1.801 MB / 0.6622 GB, free: 13.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004453/0.6973, allocations: 1.667 MB / 0.6639 GB, free: 11.7 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001607/0.6975, allocations: 88 kB / 0.664 GB, free: 11.61 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001172/0.6987, allocations: 156 kB / 0.6641 GB, free: 11.46 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008435/0.7071, allocations: 4.141 MB / 0.6682 GB, free: 7.312 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0132/0.7203, allocations: 5.769 MB / 0.6738 GB, free: 1.203 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-05/0.7205, allocations: 15.88 kB / 0.6738 GB, free: 1.188 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004174/0.7209, allocations: 8 kB / 0.6738 GB, free: 1.18 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009813/0.7219, allocations: 0.6495 MB / 0.6744 GB, free: 0.5273 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03823/0.7601, allocations: 21.58 MB / 0.6955 GB, free: 10.26 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002477/0.7627, allocations: 1.437 MB / 0.6969 GB, free: 8.699 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.7637, allocations: 0.4988 MB / 0.6974 GB, free: 8.195 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/0.7639, allocations: 16.53 kB / 0.6974 GB, free: 8.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.7639, allocations: 43.12 kB / 0.6975 GB, free: 8.129 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 5.571e-06/0.7639, allocations: 0 / 0.6975 GB, free: 8.129 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.005224/0.7692, allocations: 1.41 MB / 0.6988 GB, free: 6.711 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.7692, allocations: 59.97 kB / 0.6989 GB, free: 6.641 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002808/0.7721, allocations: 1.564 MB / 0.7004 GB, free: 5.074 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.617e-05/0.7722, allocations: 29.7 kB / 0.7005 GB, free: 5.039 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001452/0.7736, allocations: 1.887 MB / 0.7023 GB, free: 3.121 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004835/0.7741, allocations: 359.4 kB / 0.7026 GB, free: 2.766 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.7743, allocations: 0 / 0.7026 GB, free: 2.766 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003384/0.7746, allocations: 493.6 kB / 0.7031 GB, free: 2.273 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/0.776, allocations: 0.8378 MB / 0.7039 GB, free: 1.434 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002466/0.7785, allocations: 2.809 MB / 0.7067 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002117/0.7806, allocations: 1.565 MB / 0.7082 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-05/0.7807, allocations: 20 kB / 0.7082 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.005261/0.786, allocations: 3.208 MB / 0.7114 GB, free: 8.828 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.432e-05/0.7861, allocations: 36 kB / 0.7114 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.248e-05/0.7861, allocations: 72 kB / 0.7115 GB, free: 8.723 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001006/0.7863, allocations: 104 kB / 0.7116 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001964/0.7882, allocations: 0.7096 MB / 0.7122 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-05/0.7883, allocations: 143.8 kB / 0.7124 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/0.7901, allocations: 371.5 kB / 0.7127 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002502/0.7904, allocations: 200 kB / 0.7129 GB, free: 7.207 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 323 * 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 (390): * Single equations (assignments): 387 * 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.0003391/0.7907, allocations: 286.3 kB / 0.7132 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001456/0.7922, allocations: 1.044 MB / 0.7142 GB, free: 5.867 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.7924, allocations: 157.9 kB / 0.7144 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/0.7941, allocations: 1.174 MB / 0.7155 GB, free: 4.512 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.268e-05/0.7942, allocations: 12 kB / 0.7155 GB, free: 4.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.7942, allocations: 0 / 0.7155 GB, free: 4.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.7942, allocations: 3.984 kB / 0.7155 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006549/0.8007, allocations: 3.92 MB / 0.7194 GB, free: 440 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/0.8008, allocations: 8 kB / 0.7194 GB, free: 432 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005173/0.8013, allocations: 131.7 kB / 0.7195 GB, free: 300 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.76e-05/0.8013, allocations: 12 kB / 0.7195 GB, free: 288 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.062e-05/0.8014, allocations: 12 kB / 0.7195 GB, free: 276 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.344e-05/0.8014, allocations: 15.92 kB / 0.7195 GB, free: 260 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/0.8014, allocations: 8 kB / 0.7195 GB, free: 252 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.8033, allocations: 1.899 MB / 0.7214 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003287/0.8036, allocations: 234.8 kB / 0.7216 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/0.8038, allocations: 15.98 kB / 0.7216 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004513/0.8043, allocations: 15.98 kB / 0.7217 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.212e-05/0.8044, allocations: 67.77 kB / 0.7217 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.203e-05/0.8044, allocations: 35.98 kB / 0.7218 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00147/0.8059, allocations: 1.034 MB / 0.7228 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8059, allocations: 0 / 0.7228 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002876/0.8088, allocations: 0.6683 MB / 0.7234 GB, free: 11.95 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 65 * 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.003367/0.8122, allocations: 4.572 MB / 0.7279 GB, free: 7.125 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003098/0.8153, allocations: 1.99 MB / 0.7298 GB, free: 5.152 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.291e-06/0.8153, allocations: 4 kB / 0.7298 GB, free: 5.148 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000627/0.816, allocations: 0.5215 MB / 0.7303 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009364/0.8169, allocations: 183.5 kB / 0.7305 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.8271, allocations: 5.135 MB / 0.7355 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002314/0.8295, allocations: 2.395 MB / 0.7379 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002468/0.8319, allocations: 1.065 MB / 0.7389 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00132/0.8333, allocations: 1.077 MB / 0.74 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of SimCode: time 9.41e-07/0.8333, allocations: 0 / 0.74 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3056/1.139, allocations: 34.53 MB / 0.7737 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001331/1.139, allocations: 130.1 kB / 0.7738 GB, free: 155.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.836/3.975, allocations: 0 / 0.7738 GB, free: 155.1 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