Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001045/0.001045, 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.224/1.224, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000851/0.0008511, allocations: 88.62 kB / 292.1 MB, free: 5.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1798/0.1798, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.687e-05/2.689e-05, allocations: 8 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09776/0.09781, allocations: 63.25 MB / 0.5115 GB, free: 6.699 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3802/0.478, allocations: 106.2 MB / 0.6151 GB, free: 3.875 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000195/0.4782, allocations: 80.48 kB / 0.6152 GB, free: 3.836 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1345/0.6127, allocations: 62.29 MB / 0.6761 GB, free: 13.74 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.6128, allocations: 3.938 kB / 0.6761 GB, free: 13.73 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.884e-05/0.6129, allocations: 67.98 kB / 0.6761 GB, free: 13.67 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.005485/0.6184, allocations: 2.877 MB / 0.6789 GB, free: 10.73 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.6184, allocations: 11.97 kB / 0.6789 GB, free: 10.72 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009052/0.6193, allocations: 0.6135 MB / 0.6795 GB, free: 10.1 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006743/0.6261, allocations: 1.879 MB / 0.6814 GB, free: 8.211 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003579/0.6297, allocations: 1.891 MB / 0.6832 GB, free: 6.273 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/0.6299, allocations: 258.7 kB / 0.6835 GB, free: 6.02 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005954/0.6305, allocations: 327.9 kB / 0.6838 GB, free: 5.699 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01239/0.6429, allocations: 7.268 MB / 0.6909 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.433e-05/0.643, allocations: 15.88 kB / 0.6909 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000376/0.6433, allocations: 151.9 kB / 0.691 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008395/0.6442, allocations: 0.7082 MB / 0.6917 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01061/0.6548, allocations: 6.19 MB / 0.6978 GB, free: 6.98 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03243/0.6873, allocations: 25.04 MB / 0.7222 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005373/0.6927, allocations: 2.195 MB / 0.7244 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/0.6939, allocations: 0.7548 MB / 0.7251 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007782/0.7017, allocations: 3.93 MB / 0.7289 GB, free: 6.09 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.7018, allocations: 43.11 kB / 0.729 GB, free: 6.039 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=87): time 3.116e-06/0.7018, allocations: 0 / 0.729 GB, free: 6.039 MB / 0.5105 GB Notification: Performance of matching and sorting (n=87): time 0.005202/0.707, allocations: 1.788 MB / 0.7307 GB, free: 4.238 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.7071, allocations: 55.97 kB / 0.7308 GB, free: 4.172 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00268/0.7098, allocations: 1.85 MB / 0.7326 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.418e-05/0.7098, allocations: 37.7 kB / 0.7326 GB, free: 2.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001318/0.7112, allocations: 2.12 MB / 0.7347 GB, free: 80 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003005/0.7115, allocations: 347.8 kB / 0.735 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.7116, allocations: 60 kB / 0.7351 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002136/0.7118, allocations: 444.5 kB / 0.7355 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.713, allocations: 0.8846 MB / 0.7364 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002328/0.7153, allocations: 2.825 MB / 0.7391 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00193/0.7172, allocations: 1.613 MB / 0.7407 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.681e-05/0.7173, allocations: 20 kB / 0.7407 GB, free: 8.906 MB / 0.5261 GB Notification: Performance of matching and sorting (n=409) (initialization): time 0.004947/0.7222, allocations: 3.603 MB / 0.7442 GB, free: 5.297 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.157e-05/0.7223, allocations: 32 kB / 0.7443 GB, free: 5.266 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-05/0.7223, allocations: 72 kB / 0.7443 GB, free: 5.195 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-05/0.7224, allocations: 100 kB / 0.7444 GB, free: 5.098 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001804/0.7242, allocations: 0.6979 MB / 0.7451 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.356e-05/0.7243, allocations: 139.4 kB / 0.7453 GB, free: 4.262 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001886/0.7262, allocations: 435.8 kB / 0.7457 GB, free: 3.832 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002294/0.7265, allocations: 192 kB / 0.7459 GB, free: 3.645 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 316 * Number of states: 0 () * Number of discrete variables: 34 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.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 (385): * Single equations (assignments): 382 * 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.0003607/0.7268, allocations: 359.2 kB / 0.7462 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.727, allocations: 169.8 kB / 0.7464 GB, free: 3.117 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004576/0.7275, allocations: 222.7 kB / 0.7466 GB, free: 2.895 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/0.7275, allocations: 8 kB / 0.7466 GB, free: 2.887 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.7275, allocations: 0 / 0.7466 GB, free: 2.887 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.7276, allocations: 7.984 kB / 0.7466 GB, free: 2.879 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2544/0.9819, allocations: 5.058 MB / 0.7515 GB, free: 147.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/0.982, allocations: 7.594 kB / 0.7515 GB, free: 147.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004538/0.9825, allocations: 121.5 kB / 0.7517 GB, free: 147.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.738e-05/0.9825, allocations: 13.19 kB / 0.7517 GB, free: 147.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.985e-05/0.9825, allocations: 22.16 kB / 0.7517 GB, free: 147.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.201e-05/0.9826, allocations: 19.89 kB / 0.7517 GB, free: 147.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.817e-06/0.9826, allocations: 12.94 kB / 0.7517 GB, free: 147.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.9842, allocations: 1.991 MB / 0.7537 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004896/0.9847, allocations: 298 kB / 0.7539 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/0.9849, allocations: 20.86 kB / 0.754 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005137/0.9854, allocations: 38.52 kB / 0.754 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.9855, allocations: 64.95 kB / 0.7541 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.374e-05/0.9856, allocations: 34.09 kB / 0.7541 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002118/0.9877, allocations: 1.438 MB / 0.7555 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2e-07/0.9877, allocations: 0 / 0.7555 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002544/0.9903, allocations: 0.8148 MB / 0.7563 GB, free: 145.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * 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.002222/0.9925, allocations: 4.666 MB / 0.7609 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003136/0.9956, allocations: 2.096 MB / 0.7629 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.9956, allocations: 1.344 kB / 0.7629 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000583/0.9962, allocations: 0.4955 MB / 0.7634 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.9974, allocations: 271.8 kB / 0.7636 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/1.009, allocations: 5.802 MB / 0.7693 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003272/1.012, allocations: 2.664 MB / 0.7719 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002488/1.015, allocations: 1.043 MB / 0.7729 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/1.016, allocations: 1.271 MB / 0.7742 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.422e-06/1.016, allocations: 0 / 0.7742 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05549/1.072, allocations: 42.24 MB / 0.8154 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001295/1.072, allocations: 165.6 kB / 0.8156 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.514/3.586, allocations: 3.938 kB / 0.8156 GB, free: 131.9 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat does not exist to compare? outputFormat=mat