Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.CutForceAndTorque2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001017/0.001017, allocations: 196.1 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.266/1.266, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009048/0.0009046, allocations: 88.11 kB / 292.1 MB, free: 5.992 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1849/0.1849, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.469e-05/2.471e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09594/0.09597, allocations: 63.25 MB / 0.5115 GB, free: 6.703 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3969/0.493, allocations: 108.2 MB / 0.6171 GB, free: 1.914 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.4932, allocations: 83.77 kB / 0.6172 GB, free: 1.871 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6809/1.174, allocations: 181.4 MB / 0.7943 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.174e-06/1.174, allocations: 0 / 0.7943 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0005423/1.175, allocations: 177.5 kB / 0.7945 GB, free: 102.8 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3105 * Number of variables: 3105 Notification: Performance of Generate backend data structure: time 0.02654/1.201, allocations: 8.424 MB / 0.8027 GB, free: 99.52 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/1.201, allocations: 19.31 kB / 0.8027 GB, free: 99.52 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00755/1.209, allocations: 1.562 MB / 0.8042 GB, free: 99.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01964/1.229, allocations: 3.78 MB / 0.8079 GB, free: 98.78 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02098/1.25, allocations: 8.549 MB / 0.8163 GB, free: 97.74 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006629/1.25, allocations: 0.6859 MB / 0.8169 GB, free: 97.72 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00412/1.254, allocations: 0.9086 MB / 0.8178 GB, free: 97.71 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04341/1.298, allocations: 21.02 MB / 0.8383 GB, free: 91.33 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004724/1.298, allocations: 91.27 kB / 0.8384 GB, free: 91.32 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00314/1.302, allocations: 427.1 kB / 0.8388 GB, free: 91.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002586/1.304, allocations: 1.862 MB / 0.8407 GB, free: 90.78 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02948/1.334, allocations: 16.24 MB / 0.8565 GB, free: 82.62 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08358/1.417, allocations: 83.65 MB / 0.9382 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01718/1.435, allocations: 6.37 MB / 0.9444 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003832/1.438, allocations: 2.308 MB / 0.9467 GB, free: 11.06 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2874/1.726, allocations: 10.92 MB / 0.9573 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.872e-05/1.726, allocations: 57.2 kB / 0.9574 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=212): time 5.18e-06/1.726, allocations: 1.062 kB / 0.9574 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=236): time 0.04093/1.767, allocations: 15.74 MB / 0.9728 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/1.767, allocations: 157.7 kB / 0.9729 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009846/1.777, allocations: 5.873 MB / 0.9787 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003441/1.777, allocations: 62.53 kB / 0.9787 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.00365/1.781, allocations: 6.039 MB / 0.9846 GB, free: 100.1 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001129/1.782, allocations: 0.9326 MB / 0.9855 GB, free: 99.57 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003676/1.782, allocations: 182.1 kB / 0.9857 GB, free: 99.57 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003615/1.783, allocations: 0.6776 MB / 0.9864 GB, free: 99.25 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002987/1.786, allocations: 2.31 MB / 0.9886 GB, free: 99.22 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004385/1.79, allocations: 8.048 MB / 0.9965 GB, free: 91.76 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004627/1.795, allocations: 4.25 MB / 1.001 GB, free: 91.72 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-05/1.795, allocations: 56.16 kB / 1.001 GB, free: 91.72 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1153) (initialization): time 0.015/1.81, allocations: 10.01 MB / 1.01 GB, free: 90.86 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001159/1.81, allocations: 97.48 kB / 1.011 GB, free: 90.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000202/1.81, allocations: 204.5 kB / 1.011 GB, free: 90.86 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002462/1.811, allocations: 299.9 kB / 1.011 GB, free: 90.86 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006273/1.817, allocations: 2.156 MB / 1.013 GB, free: 90.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002175/1.817, allocations: 405.2 kB / 1.014 GB, free: 90.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00763/1.825, allocations: 0.6039 MB / 1.014 GB, free: 90.56 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001381/1.826, allocations: 0.5453 MB / 1.015 GB, free: 90.56 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 939 * Number of states: 0 () * Number of discrete variables: 88 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueArrow.arrowLine.twoHeadedArrow,cutForce2b.torqueArrow.headAtOrigin,cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueArrow.arrowLine.twoHeadedArrow,cutForce1b.torqueArrow.headAtOrigin,cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueArrow.arrowLine.twoHeadedArrow,cutForce2a.torqueArrow.headAtOrigin,cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.torqueArrow.arrowLine.twoHeadedArrow,cutForce1a.torqueArrow.headAtOrigin,cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1129): * Single equations (assignments): 1126 * 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.001155/1.827, allocations: 0.8272 MB / 1.015 GB, free: 90.12 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/1.828, allocations: 0.5827 MB / 1.016 GB, free: 89.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/1.83, allocations: 0.7104 MB / 1.017 GB, free: 89.73 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-05/1.83, allocations: 23.5 kB / 1.017 GB, free: 89.73 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.051e-05/1.83, allocations: 0 / 1.017 GB, free: 89.73 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-05/1.83, allocations: 15.05 kB / 1.017 GB, free: 89.73 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02273/1.852, allocations: 19.47 MB / 1.036 GB, free: 84.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.524e-05/1.853, allocations: 56.47 kB / 1.036 GB, free: 84.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/1.854, allocations: 0.5 MB / 1.036 GB, free: 84.74 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.171e-05/1.854, allocations: 80.98 kB / 1.036 GB, free: 84.74 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001353/1.854, allocations: 114.9 kB / 1.036 GB, free: 84.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.484e-05/1.854, allocations: 108 kB / 1.037 GB, free: 84.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.14e-05/1.854, allocations: 87.22 kB / 1.037 GB, free: 84.66 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005296/1.859, allocations: 14.66 MB / 1.051 GB, free: 69.81 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/1.861, allocations: 0.6922 MB / 1.052 GB, free: 69.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005262/1.861, allocations: 128.6 kB / 1.052 GB, free: 69.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002161/1.863, allocations: 191.9 kB / 1.052 GB, free: 69.27 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002655/1.864, allocations: 359.8 kB / 1.052 GB, free: 69.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/1.864, allocations: 150.3 kB / 1.052 GB, free: 69.09 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005514/1.869, allocations: 4.078 MB / 1.056 GB, free: 67.73 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2e-07/1.869, allocations: 4 kB / 1.056 GB, free: 67.72 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007589/1.877, allocations: 1.559 MB / 1.058 GB, free: 67.55 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 245 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 269 * 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.007475/1.884, allocations: 25.2 MB / 1.083 GB, free: 42.52 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007825/1.892, allocations: 5.566 MB / 1.088 GB, free: 40.61 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.585e-05/1.892, allocations: 7.312 kB / 1.088 GB, free: 40.61 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001579/1.894, allocations: 1.337 MB / 1.089 GB, free: 40.14 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004497/1.898, allocations: 0.9714 MB / 1.09 GB, free: 39.81 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03251/1.931, allocations: 17.57 MB / 1.107 GB, free: 25.39 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006901/1.938, allocations: 6.261 MB / 1.114 GB, free: 20.84 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006377/1.944, allocations: 2.781 MB / 1.116 GB, free: 19.11 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004654/1.949, allocations: 4.042 MB / 1.12 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of SimCode: time 1.764e-06/1.949, allocations: 0 / 1.12 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4296/2.379, allocations: 122.8 MB / 1.24 GB, free: 119.4 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001338/2.379, allocations: 159 kB / 1.24 GB, free: 119.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.005/7.384, allocations: 0 / 1.24 GB, free: 119.1 MB / 0.573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat does not exist to compare? outputFormat=mat