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.001057/0.001057, allocations: 196.8 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.254/1.254, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009441/0.0009442, allocations: 87.64 kB / 292.1 MB, free: 5.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1763/0.1763, allocations: 45.16 MB / 389.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.55e-05/2.551e-05, allocations: 0 / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1095, allocations: 63.25 MB / 0.5115 GB, free: 6.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3812/0.4908, allocations: 103.9 MB / 0.6129 GB, free: 6.121 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/0.4911, allocations: 80.88 kB / 0.613 GB, free: 6.078 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1284/0.6195, allocations: 55.13 MB / 0.6668 GB, free: 6.414 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6196, allocations: 4 kB / 0.6668 GB, free: 6.41 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001132/0.6197, allocations: 48 kB / 0.6669 GB, free: 6.363 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.00657/0.6263, allocations: 2.54 MB / 0.6693 GB, free: 3.973 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.6263, allocations: 8.031 kB / 0.6694 GB, free: 3.965 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002008/0.6284, allocations: 0.5191 MB / 0.6699 GB, free: 3.633 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007821/0.6362, allocations: 1.802 MB / 0.6716 GB, free: 1.824 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004525/0.6408, allocations: 1.668 MB / 0.6732 GB, free: 488 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002579/0.6411, allocations: 208.3 kB / 0.6734 GB, free: 304 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001681/0.6428, allocations: 267.9 kB / 0.6737 GB, free: 36 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01613/0.6589, allocations: 6.265 MB / 0.6798 GB, free: 9.422 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001562/0.6591, allocations: 19.8 kB / 0.6798 GB, free: 9.402 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001393/0.6605, allocations: 123.9 kB / 0.68 GB, free: 9.281 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001242/0.6618, allocations: 0.645 MB / 0.6806 GB, free: 8.633 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01121/0.673, allocations: 5.418 MB / 0.6859 GB, free: 3.195 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02943/0.7025, allocations: 22.12 MB / 0.7075 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004112/0.7067, allocations: 2.069 MB / 0.7095 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009939/0.7077, allocations: 0.6696 MB / 0.7102 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006159/0.7139, allocations: 3.527 MB / 0.7136 GB, free: 5.875 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.714, allocations: 42.95 kB / 0.7136 GB, free: 5.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=78): time 3.456e-06/0.714, allocations: 0 / 0.7136 GB, free: 5.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=78): time 0.004364/0.7184, allocations: 1.593 MB / 0.7152 GB, free: 4.219 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.7184, allocations: 55.84 kB / 0.7152 GB, free: 4.152 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002712/0.7211, allocations: 1.722 MB / 0.7169 GB, free: 2.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.758e-05/0.7212, allocations: 33.7 kB / 0.717 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001193/0.7224, allocations: 1.879 MB / 0.7188 GB, free: 492 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002675/0.7227, allocations: 327.9 kB / 0.7191 GB, free: 160 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.7228, allocations: 56 kB / 0.7192 GB, free: 104 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002727/0.7231, allocations: 497 kB / 0.7196 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.7242, allocations: 0.8296 MB / 0.7204 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002257/0.7265, allocations: 2.686 MB / 0.7231 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001997/0.7285, allocations: 1.52 MB / 0.7246 GB, free: 9.633 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.725e-05/0.7285, allocations: 20 kB / 0.7246 GB, free: 9.613 MB / 0.5105 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.00512/0.7337, allocations: 3.416 MB / 0.7279 GB, free: 6.188 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.931e-05/0.7337, allocations: 32 kB / 0.7279 GB, free: 6.156 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.622e-05/0.7338, allocations: 64 kB / 0.728 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.496e-05/0.7339, allocations: 104 kB / 0.7281 GB, free: 5.992 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/0.7357, allocations: 0.6556 MB / 0.7287 GB, free: 5.336 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001057/0.7358, allocations: 131.5 kB / 0.7289 GB, free: 5.207 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/0.7377, allocations: 407.7 kB / 0.7293 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002322/0.7379, allocations: 184 kB / 0.7294 GB, free: 4.625 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.0003423/0.7382, allocations: 334.5 kB / 0.7297 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.7385, allocations: 165.8 kB / 0.7299 GB, free: 4.125 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004187/0.7389, allocations: 201.2 kB / 0.7301 GB, free: 3.926 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.208e-05/0.7389, allocations: 15.94 kB / 0.7301 GB, free: 3.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.739, allocations: 4 kB / 0.7301 GB, free: 3.906 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.739, allocations: 0 / 0.7301 GB, free: 3.906 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007535/0.7465, allocations: 4.138 MB / 0.7342 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.7466, allocations: 8 kB / 0.7342 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003833/0.747, allocations: 103.8 kB / 0.7343 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.246e-05/0.747, allocations: 19.89 kB / 0.7343 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.603e-05/0.747, allocations: 12 kB / 0.7343 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.567e-05/0.7471, allocations: 15.92 kB / 0.7343 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-05/0.7471, allocations: 11.94 kB / 0.7343 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.7487, allocations: 1.65 MB / 0.7359 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004816/0.7492, allocations: 266.6 kB / 0.7362 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003029/0.7495, allocations: 19.98 kB / 0.7362 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005851/0.7501, allocations: 23.97 kB / 0.7362 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.599e-05/0.7502, allocations: 51.84 kB / 0.7363 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-05/0.7503, allocations: 32 kB / 0.7363 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002193/0.7525, allocations: 1.256 MB / 0.7375 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7525, allocations: 0 / 0.7375 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002996/0.7555, allocations: 0.7115 MB / 0.7382 GB, free: 11.14 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.00284/0.7584, allocations: 3.775 MB / 0.7419 GB, free: 7.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003361/0.7617, allocations: 1.957 MB / 0.7438 GB, free: 5.238 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.7618, allocations: 0 / 0.7438 GB, free: 5.238 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005375/0.7623, allocations: 449.6 kB / 0.7443 GB, free: 4.801 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.7635, allocations: 230.4 kB / 0.7445 GB, free: 4.574 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2379/1.001, allocations: 4.996 MB / 0.7494 GB, free: 156.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002599/1.004, allocations: 2.378 MB / 0.7517 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002316/1.006, allocations: 0.9608 MB / 0.7526 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009959/1.007, allocations: 1.056 MB / 0.7536 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of SimCode: time 7.11e-07/1.007, allocations: 0 / 0.7536 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05375/1.061, allocations: 37.06 MB / 0.7898 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001295/1.061, allocations: 147.2 kB / 0.79 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.605/3.666, allocations: 0 / 0.79 GB, free: 151.5 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