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.0014/0.0014, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 225.6 MB / 234.8 MB, free: 3.199 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009721/0.0009719, allocations: 90.38 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2183/0.2183, allocations: 45.15 MB / 383.8 MB, free: 244 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.482e-05/1.483e-05, allocations: 4 kB / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09638/0.09641, allocations: 63.24 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4158/0.5123, allocations: 103.2 MB / 0.6052 GB, free: 15.46 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.5125, allocations: 75.53 kB / 0.6053 GB, free: 15.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.127/0.6396, allocations: 53.94 MB / 0.658 GB, free: 1.586 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.6396, allocations: 0 / 0.658 GB, free: 1.586 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.385e-05/0.6397, allocations: 48 kB / 0.658 GB, free: 1.539 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.004291/0.644, allocations: 2.531 MB / 0.6605 GB, free: 15.16 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.6441, allocations: 12.03 kB / 0.6605 GB, free: 15.15 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007105/0.6512, allocations: 1.797 MB / 0.6623 GB, free: 13.35 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003401/0.6546, allocations: 1.666 MB / 0.6639 GB, free: 11.74 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.051e-05/0.6547, allocations: 88 kB / 0.664 GB, free: 11.65 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004336/0.6552, allocations: 156 kB / 0.6641 GB, free: 11.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006091/0.6613, allocations: 4.144 MB / 0.6682 GB, free: 7.352 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008265/0.6695, allocations: 5.765 MB / 0.6738 GB, free: 1.246 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-05/0.6696, allocations: 15.88 kB / 0.6738 GB, free: 1.23 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002753/0.6699, allocations: 12 kB / 0.6738 GB, free: 1.219 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008073/0.6707, allocations: 0.6495 MB / 0.6745 GB, free: 0.5664 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02588/0.6966, allocations: 21.59 MB / 0.6956 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/0.6984, allocations: 1.434 MB / 0.697 GB, free: 8.738 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006301/0.6991, allocations: 0.4988 MB / 0.6974 GB, free: 8.234 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.06e-05/0.6991, allocations: 16.55 kB / 0.6975 GB, free: 8.219 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.6992, allocations: 43.12 kB / 0.6975 GB, free: 8.168 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 3.567e-06/0.6992, allocations: 0 / 0.6975 GB, free: 8.168 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.003277/0.7024, allocations: 1.406 MB / 0.6989 GB, free: 6.754 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.7025, allocations: 63.95 kB / 0.6989 GB, free: 6.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00223/0.7047, allocations: 1.556 MB / 0.7005 GB, free: 5.121 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.834e-05/0.7048, allocations: 25.7 kB / 0.7005 GB, free: 5.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001315/0.7061, allocations: 1.906 MB / 0.7023 GB, free: 3.152 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003283/0.7065, allocations: 355.4 kB / 0.7027 GB, free: 2.801 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.76e-05/0.7066, allocations: 7.938 kB / 0.7027 GB, free: 2.793 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002868/0.7069, allocations: 493.6 kB / 0.7032 GB, free: 2.301 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.708, allocations: 0.8339 MB / 0.704 GB, free: 1.465 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002393/0.7104, allocations: 2.802 MB / 0.7067 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002012/0.7124, allocations: 1.569 MB / 0.7082 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.071e-05/0.7125, allocations: 24 kB / 0.7083 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.004785/0.7172, allocations: 3.208 MB / 0.7114 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.858e-05/0.7173, allocations: 37.09 kB / 0.7114 GB, free: 8.824 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.18e-05/0.7174, allocations: 68 kB / 0.7115 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-05/0.7175, allocations: 104 kB / 0.7116 GB, free: 8.656 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/0.7194, allocations: 0.7096 MB / 0.7123 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.45e-05/0.7195, allocations: 151.4 kB / 0.7124 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/0.7213, allocations: 371.9 kB / 0.7128 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002491/0.7216, allocations: 192 kB / 0.713 GB, free: 7.242 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.0003432/0.7219, allocations: 286.3 kB / 0.7132 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001409/0.7233, allocations: 1.036 MB / 0.7143 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.7235, allocations: 161.9 kB / 0.7144 GB, free: 5.75 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/0.7252, allocations: 1.174 MB / 0.7156 GB, free: 4.551 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.309e-05/0.7253, allocations: 8 kB / 0.7156 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.7253, allocations: 7.984 kB / 0.7156 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.7253, allocations: 0 / 0.7156 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006077/0.7314, allocations: 3.92 MB / 0.7194 GB, free: 480 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.7314, allocations: 8 kB / 0.7194 GB, free: 472 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004989/0.7319, allocations: 127.7 kB / 0.7195 GB, free: 344 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.507e-05/0.732, allocations: 12 kB / 0.7195 GB, free: 332 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.996e-05/0.732, allocations: 15.98 kB / 0.7196 GB, free: 316 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.239e-05/0.732, allocations: 15.94 kB / 0.7196 GB, free: 300 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/0.7321, allocations: 8 kB / 0.7196 GB, free: 292 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001986/0.734, allocations: 1.895 MB / 0.7214 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003415/0.7344, allocations: 242.8 kB / 0.7217 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.7345, allocations: 8 kB / 0.7217 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004468/0.735, allocations: 19.97 kB / 0.7217 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.98e-05/0.7351, allocations: 67.77 kB / 0.7218 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.388e-05/0.7352, allocations: 32 kB / 0.7218 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001439/0.7366, allocations: 1.038 MB / 0.7228 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7366, allocations: 0 / 0.7228 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002883/0.7395, allocations: 0.6644 MB / 0.7234 GB, free: 11.98 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.003324/0.7429, allocations: 4.576 MB / 0.7279 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003323/0.7462, allocations: 1.99 MB / 0.7299 GB, free: 5.188 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.7462, allocations: 4.062 kB / 0.7299 GB, free: 5.184 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005911/0.7468, allocations: 0.5156 MB / 0.7304 GB, free: 4.668 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008972/0.7477, allocations: 181.5 kB / 0.7305 GB, free: 4.492 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009941/0.7577, allocations: 5.143 MB / 0.7356 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002671/0.7604, allocations: 2.387 MB / 0.7379 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002687/0.7631, allocations: 1.077 MB / 0.7389 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001248/0.7643, allocations: 1.073 MB / 0.74 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of SimCode: time 1.082e-06/0.7643, allocations: 0 / 0.74 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3405/1.105, allocations: 34.52 MB / 0.7737 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/1.105, allocations: 134 kB / 0.7738 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.943/4.048, allocations: 0 / 0.7738 GB, free: 155.3 MB / 0.5261 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