Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.2 MB / 218.9 MB, free: 9.145 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008769/0.0008768, allocations: 93.3 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4496/0.4496, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.173e-05/5.177e-05, allocations: 4 kB / 425.4 MB, free: 8.117 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1748, allocations: 58.85 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4873/0.6621, allocations: 107 MB / 0.5774 GB, free: 14.78 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.6625, allocations: 74.91 kB / 0.5775 GB, free: 14.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8518/1.514, allocations: 200.8 MB / 0.7736 GB, free: 74.55 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.725e-06/1.514, allocations: 3.375 kB / 0.7736 GB, free: 74.55 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0008419/1.515, allocations: 200.8 kB / 0.7738 GB, free: 74.54 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3665 * Number of variables: 3665 Notification: Performance of Generate backend data structure: time 0.03739/1.553, allocations: 9.436 MB / 0.783 GB, free: 70.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/1.553, allocations: 9.812 kB / 0.783 GB, free: 70.84 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01194/1.565, allocations: 1.815 MB / 0.7848 GB, free: 70.71 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02389/1.589, allocations: 4.028 MB / 0.7887 GB, free: 70 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0336/1.622, allocations: 10.59 MB / 0.7991 GB, free: 68.15 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001218/1.623, allocations: 0.7896 MB / 0.7998 GB, free: 67.84 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007559/1.631, allocations: 1.046 MB / 0.8009 GB, free: 67.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07262/1.704, allocations: 24.09 MB / 0.8244 GB, free: 53.54 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009101/1.705, allocations: 103.1 kB / 0.8245 GB, free: 53.44 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006669/1.711, allocations: 496.2 kB / 0.8249 GB, free: 53.02 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004434/1.716, allocations: 2.277 MB / 0.8272 GB, free: 50.74 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04817/1.764, allocations: 18.98 MB / 0.8457 GB, free: 31.74 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5354/2.3, allocations: 94.24 MB / 0.9377 GB, free: 53.92 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02096/2.321, allocations: 7.536 MB / 0.9451 GB, free: 53.24 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00493/2.326, allocations: 3.033 MB / 0.9481 GB, free: 53.19 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0383/2.364, allocations: 13.3 MB / 0.961 GB, free: 49.93 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001189/2.364, allocations: 66.16 kB / 0.9611 GB, free: 49.88 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=336): time 1.144e-05/2.364, allocations: 1.469 kB / 0.9611 GB, free: 49.88 MB / 0.5417 GB Notification: Performance of matching and sorting (n=360): time 0.07165/2.436, allocations: 18.79 MB / 0.9795 GB, free: 44.16 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/2.436, allocations: 167 kB / 0.9796 GB, free: 44 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01708/2.453, allocations: 6.424 MB / 0.9859 GB, free: 43.37 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0009045/2.454, allocations: 77.84 kB / 0.986 GB, free: 43.34 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.006319/2.46, allocations: 6.82 MB / 0.9926 GB, free: 39.53 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002334/2.463, allocations: 1.362 MB / 0.994 GB, free: 38.75 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001297/2.464, allocations: 214 kB / 0.9942 GB, free: 38.75 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0009834/2.465, allocations: 0.7496 MB / 0.9949 GB, free: 38.43 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005668/2.471, allocations: 2.994 MB / 0.9978 GB, free: 38.41 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00998/2.481, allocations: 9.488 MB / 1.007 GB, free: 29.91 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009293/2.49, allocations: 5.252 MB / 1.012 GB, free: 28.35 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003417/2.49, allocations: 66.78 kB / 1.012 GB, free: 28.35 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1393) (initialization): time 0.02995/2.52, allocations: 12.21 MB / 1.024 GB, free: 24.41 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004764/2.521, allocations: 102.9 kB / 1.024 GB, free: 24.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005058/2.521, allocations: 231.5 kB / 1.025 GB, free: 24.41 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004567/2.522, allocations: 344.8 kB / 1.025 GB, free: 24.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01036/2.532, allocations: 2.623 MB / 1.027 GB, free: 24.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004142/2.533, allocations: 456.2 kB / 1.028 GB, free: 23.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01272/2.545, allocations: 0.6851 MB / 1.029 GB, free: 23.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002977/2.549, allocations: 0.638 MB / 1.029 GB, free: 23.71 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1055 * Number of states: 0 () * Number of discrete variables: 72 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],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 (1369): * Single equations (assignments): 1366 * 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.003764/2.552, allocations: 0.9478 MB / 1.03 GB, free: 22.95 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002261/2.555, allocations: 0.6646 MB / 1.031 GB, free: 22.58 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006917/2.562, allocations: 3.985 MB / 1.035 GB, free: 21.03 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.597e-05/2.562, allocations: 41.28 kB / 1.035 GB, free: 21.03 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/2.562, allocations: 7.891 kB / 1.035 GB, free: 21.02 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.88e-05/2.562, allocations: 21.11 kB / 1.035 GB, free: 21.02 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07639/2.638, allocations: 50.05 MB / 1.084 GB, free: 9.383 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001782/2.638, allocations: 72 kB / 1.084 GB, free: 9.312 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003123/2.641, allocations: 0.7384 MB / 1.084 GB, free: 8.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001105/2.642, allocations: 104 kB / 1.084 GB, free: 8.578 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004503/2.642, allocations: 166.9 kB / 1.085 GB, free: 8.422 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001058/2.642, allocations: 141.7 kB / 1.085 GB, free: 8.301 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.277e-05/2.642, allocations: 115.5 kB / 1.085 GB, free: 8.188 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01814/2.66, allocations: 21.42 MB / 1.106 GB, free: 192 kB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3647/3.025, allocations: 0.798 MB / 1.107 GB, free: 131.9 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002948/3.028, allocations: 166.1 kB / 1.107 GB, free: 131.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005384/3.034, allocations: 273.8 kB / 1.107 GB, free: 131.9 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009556/3.035, allocations: 489.1 kB / 1.107 GB, free: 131.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004328/3.035, allocations: 205.6 kB / 1.108 GB, free: 131.9 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01125/3.046, allocations: 4.473 MB / 1.112 GB, free: 131.7 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.32e-07/3.046, allocations: 0 / 1.112 GB, free: 131.7 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01414/3.06, allocations: 1.884 MB / 1.114 GB, free: 131.7 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 330 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (376): * Single equations (assignments): 373 * 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.01875/3.079, allocations: 34.39 MB / 1.147 GB, free: 100.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01466/3.094, allocations: 7.317 MB / 1.155 GB, free: 100 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.388e-05/3.094, allocations: 13.06 kB / 1.155 GB, free: 100 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00389/3.098, allocations: 2.071 MB / 1.157 GB, free: 99.81 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008745/3.107, allocations: 1.032 MB / 1.158 GB, free: 99.79 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0678/3.175, allocations: 21.28 MB / 1.178 GB, free: 93.54 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01834/3.193, allocations: 7.136 MB / 1.185 GB, free: 92.59 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01185/3.205, allocations: 3.329 MB / 1.189 GB, free: 92.36 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009568/3.215, allocations: 4.768 MB / 1.193 GB, free: 92.35 MB / 0.573 GB Notification: Performance of SimCode: time 9.42e-07/3.215, allocations: 0 / 1.193 GB, free: 92.35 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6562/3.871, allocations: 142.9 MB / 1.333 GB, free: 104 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/3.871, allocations: 165.7 kB / 1.333 GB, free: 103.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.434/12.31, allocations: 0 / 1.333 GB, free: 103.8 MB / 0.573 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat does not exist to compare? outputFormat=mat