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.00141/0.00141, allocations: 184.7 kB / 15.76 MB, free: 6.367 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.549/1.549, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008001/0.0008001, allocations: 86.83 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2147/0.2147, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000294/0.0002939, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1076, allocations: 58.86 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.45/0.5576, allocations: 107.1 MB / 0.5834 GB, free: 8.844 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/0.558, allocations: 78.91 kB / 0.5835 GB, free: 8.805 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.803/1.361, allocations: 200.6 MB / 0.7794 GB, free: 90.05 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.365e-06/1.361, allocations: 0 / 0.7794 GB, free: 90.05 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0008452/1.362, allocations: 198.5 kB / 0.7796 GB, free: 90.05 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.04126/1.403, allocations: 9.998 MB / 0.7894 GB, free: 86.02 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.366e-05/1.403, allocations: 10.66 kB / 0.7894 GB, free: 86.02 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0108/1.414, allocations: 1.824 MB / 0.7912 GB, free: 85.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02301/1.437, allocations: 4.038 MB / 0.7951 GB, free: 85.17 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02623/1.463, allocations: 10.61 MB / 0.8055 GB, free: 83.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001124/1.465, allocations: 0.7916 MB / 0.8062 GB, free: 83.95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00572/1.47, allocations: 1.049 MB / 0.8073 GB, free: 83.72 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06008/1.53, allocations: 24.42 MB / 0.8311 GB, free: 59.66 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009764/1.531, allocations: 91.16 kB / 0.8312 GB, free: 59.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00549/1.537, allocations: 494.7 kB / 0.8317 GB, free: 59.15 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003635/1.541, allocations: 2.285 MB / 0.8339 GB, free: 56.87 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04339/1.584, allocations: 19.54 MB / 0.853 GB, free: 37.31 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4974/2.082, allocations: 94.23 MB / 0.945 GB, free: 53.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02289/2.105, allocations: 7.658 MB / 0.9525 GB, free: 52.52 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02788/2.132, allocations: 13.3 MB / 0.9655 GB, free: 49.24 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.745e-05/2.133, allocations: 70.95 kB / 0.9655 GB, free: 49.19 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=336): time 6.422e-06/2.133, allocations: 0 / 0.9655 GB, free: 49.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=360): time 0.06542/2.198, allocations: 20.86 MB / 0.9859 GB, free: 43.17 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.295e-05/2.198, allocations: 166.5 kB / 0.9861 GB, free: 43.01 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01734/2.216, allocations: 6.612 MB / 0.9925 GB, free: 42.49 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000911/2.217, allocations: 81.53 kB / 0.9926 GB, free: 42.46 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00643/2.223, allocations: 6.818 MB / 0.9993 GB, free: 38.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002546/2.226, allocations: 1.36 MB / 1.001 GB, free: 37.92 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001928/2.228, allocations: 215.2 kB / 1.001 GB, free: 37.92 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001596/2.229, allocations: 0.7574 MB / 1.002 GB, free: 37.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007835/2.237, allocations: 3.22 MB / 1.005 GB, free: 37.57 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01179/2.249, allocations: 9.713 MB / 1.014 GB, free: 29.17 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01034/2.259, allocations: 5.414 MB / 1.019 GB, free: 27.76 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000519/2.26, allocations: 65.78 kB / 1.02 GB, free: 27.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1393) (initialization): time 0.03009/2.29, allocations: 12.67 MB / 1.032 GB, free: 23.72 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005974/2.291, allocations: 104.6 kB / 1.032 GB, free: 23.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006965/2.291, allocations: 230.6 kB / 1.032 GB, free: 23.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009563/2.292, allocations: 337.3 kB / 1.033 GB, free: 23.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01016/2.302, allocations: 2.624 MB / 1.035 GB, free: 23.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008827/2.303, allocations: 456.2 kB / 1.036 GB, free: 23.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01183/2.315, allocations: 0.6866 MB / 1.036 GB, free: 23.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003158/2.318, allocations: 0.6443 MB / 1.037 GB, free: 23.03 MB / 0.5261 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 () * Number of clocked 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.01485/2.333, allocations: 4.515 MB / 1.041 GB, free: 20.99 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002162/2.335, allocations: 0.6715 MB / 1.042 GB, free: 20.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01081/2.346, allocations: 4.105 MB / 1.046 GB, free: 18.97 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.986e-05/2.346, allocations: 34.66 kB / 1.046 GB, free: 18.97 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-05/2.346, allocations: 4 kB / 1.046 GB, free: 18.96 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.297e-05/2.346, allocations: 20.09 kB / 1.046 GB, free: 18.96 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09413/2.441, allocations: 50.63 MB / 1.095 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003838/2.441, allocations: 76.94 kB / 1.095 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003953/2.445, allocations: 0.7443 MB / 1.096 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002036/2.445, allocations: 104 kB / 1.096 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001173/2.446, allocations: 166.5 kB / 1.096 GB, free: 11.24 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001698/2.447, allocations: 144.8 kB / 1.097 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001054/2.447, allocations: 115.5 kB / 1.097 GB, free: 11 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02526/2.472, allocations: 21.53 MB / 1.118 GB, free: 2.922 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004609/2.477, allocations: 0.8022 MB / 1.119 GB, free: 2.137 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003793/2.481, allocations: 165.7 kB / 1.119 GB, free: 1.988 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006396/2.487, allocations: 272.7 kB / 1.119 GB, free: 1.777 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001588/2.489, allocations: 487.1 kB / 1.119 GB, free: 1.391 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001059/2.49, allocations: 214.6 kB / 1.12 GB, free: 1.195 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.4044/2.894, allocations: 4.772 MB / 1.124 GB, free: 144.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.32e-07/2.894, allocations: 1.75 kB / 1.124 GB, free: 144.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01527/2.909, allocations: 1.877 MB / 1.126 GB, free: 144.8 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 () * Number of clocked 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.01826/2.928, allocations: 34.5 MB / 1.16 GB, free: 113.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01732/2.945, allocations: 7.591 MB / 1.167 GB, free: 113.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.115e-05/2.945, allocations: 11.66 kB / 1.167 GB, free: 113.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.003829/2.949, allocations: 2.119 MB / 1.169 GB, free: 113.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007527/2.957, allocations: 1.033 MB / 1.17 GB, free: 113.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6212/3.578, allocations: 236 MB / 1.401 GB, free: 160.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02251/3.6, allocations: 7.135 MB / 1.408 GB, free: 159.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.01458/3.615, allocations: 3.327 MB / 1.411 GB, free: 159.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01226/3.627, allocations: 4.768 MB / 1.416 GB, free: 159.1 MB / 0.6355 GB Notification: Performance of SimCode: time 1.423e-06/3.627, allocations: 0.9844 kB / 1.416 GB, free: 159.1 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.577/4.204, allocations: 141.7 MB / 1.554 GB, free: 169.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/4.205, allocations: 188.1 kB / 1.554 GB, free: 169.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.779/11.98, allocations: 0 / 1.554 GB, free: 169.4 MB / 0.6355 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