Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",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.001205/0.001205, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008908/0.0008908, allocations: 78.66 kB / 261.7 MB, free: 1.688 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.2211/0.2211, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.931e-05/1.93e-05, allocations: 4 kB / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1385, allocations: 58.86 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4806/0.6191, allocations: 104.5 MB / 0.568 GB, free: 6.797 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.6195, allocations: 79.2 kB / 0.5681 GB, free: 6.758 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1607/0.7801, allocations: 64.94 MB / 0.6315 GB, free: 14.27 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.7802, allocations: 0 / 0.6315 GB, free: 14.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001482/0.7803, allocations: 64 kB / 0.6316 GB, free: 14.2 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.01023/0.7906, allocations: 3.134 MB / 0.6346 GB, free: 11.01 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.7906, allocations: 12.03 kB / 0.6347 GB, free: 11 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009925/0.8006, allocations: 1.941 MB / 0.6366 GB, free: 9.047 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007573/0.8082, allocations: 2.044 MB / 0.6385 GB, free: 6.957 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002809/0.8086, allocations: 127.9 kB / 0.6387 GB, free: 6.832 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002221/0.8108, allocations: 212 kB / 0.6389 GB, free: 6.625 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01144/0.8223, allocations: 5.379 MB / 0.6441 GB, free: 1.242 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0185/0.8408, allocations: 7.394 MB / 0.6513 GB, free: 9.461 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001032/0.841, allocations: 19.81 kB / 0.6514 GB, free: 9.441 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006238/0.8416, allocations: 15.95 kB / 0.6514 GB, free: 9.426 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001176/0.8428, allocations: 0.8191 MB / 0.6522 GB, free: 8.605 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03858/0.8814, allocations: 26.61 MB / 0.6782 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002716/0.8842, allocations: 1.745 MB / 0.6799 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001087/0.8853, allocations: 0.7043 MB / 0.6806 GB, free: 10.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.841e-05/0.8854, allocations: 22.77 kB / 0.6806 GB, free: 10.69 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.347e-05/0.8855, allocations: 51.88 kB / 0.6806 GB, free: 10.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=132): time 5.941e-06/0.8855, allocations: 0 / 0.6806 GB, free: 10.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=132): time 0.004702/0.8902, allocations: 1.841 MB / 0.6824 GB, free: 8.773 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.8902, allocations: 60.72 kB / 0.6825 GB, free: 8.703 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003102/0.8933, allocations: 1.77 MB / 0.6842 GB, free: 6.895 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001298/0.8935, allocations: 29.7 kB / 0.6842 GB, free: 6.859 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001861/0.8954, allocations: 2.367 MB / 0.6866 GB, free: 4.457 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005841/0.896, allocations: 485.5 kB / 0.687 GB, free: 3.977 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.8961, allocations: 0 / 0.687 GB, free: 3.977 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003466/0.8965, allocations: 0.5227 MB / 0.6875 GB, free: 3.445 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/0.898, allocations: 1.054 MB / 0.6886 GB, free: 2.391 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003301/0.9013, allocations: 3.349 MB / 0.6918 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002991/0.9044, allocations: 1.91 MB / 0.6937 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.655e-05/0.9044, allocations: 24 kB / 0.6937 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007361/0.9118, allocations: 3.934 MB / 0.6976 GB, free: 8.016 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.421e-05/0.9119, allocations: 40 kB / 0.6976 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.343e-05/0.912, allocations: 84 kB / 0.6977 GB, free: 7.895 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001196/0.9121, allocations: 120 kB / 0.6978 GB, free: 7.777 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0027/0.9148, allocations: 0.8857 MB / 0.6987 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001114/0.915, allocations: 163.4 kB / 0.6988 GB, free: 6.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002719/0.9177, allocations: 434.7 kB / 0.6992 GB, free: 6.301 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003983/0.9181, allocations: 236 kB / 0.6995 GB, free: 6.07 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 375 * Number of states: 0 () * Number of discrete variables: 30 (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.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],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 (484): * Single equations (assignments): 481 * 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.0004999/0.9186, allocations: 320.1 kB / 0.6998 GB, free: 5.75 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002116/0.9207, allocations: 1.412 MB / 0.7011 GB, free: 4.328 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002725/0.921, allocations: 193.5 kB / 0.7013 GB, free: 4.137 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002592/0.9236, allocations: 1.606 MB / 0.7029 GB, free: 2.516 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.914e-05/0.9237, allocations: 20 kB / 0.7029 GB, free: 2.496 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.9237, allocations: 0 / 0.7029 GB, free: 2.496 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.9237, allocations: 11.92 kB / 0.7029 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3393/1.263, allocations: 7.037 MB / 0.7098 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.961e-05/1.263, allocations: 15.03 kB / 0.7098 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000946/1.264, allocations: 213.6 kB / 0.71 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.951e-05/1.264, allocations: 23.62 kB / 0.71 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-05/1.264, allocations: 32.3 kB / 0.7101 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.263e-05/1.264, allocations: 29.31 kB / 0.7101 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-05/1.264, allocations: 26.3 kB / 0.7101 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003483/1.268, allocations: 3.206 MB / 0.7132 GB, free: 133 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006617/1.268, allocations: 283.4 kB / 0.7135 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002427/1.269, allocations: 24 kB / 0.7135 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007809/1.269, allocations: 34.03 kB / 0.7136 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/1.27, allocations: 124.2 kB / 0.7137 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/1.27, allocations: 59.17 kB / 0.7137 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002172/1.272, allocations: 1.174 MB / 0.7149 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.8e-07/1.272, allocations: 0 / 0.7149 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004354/1.276, allocations: 0.8781 MB / 0.7157 GB, free: 132.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * 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.004565/1.281, allocations: 8.154 MB / 0.7237 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004641/1.286, allocations: 2.514 MB / 0.7262 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.689e-05/1.286, allocations: 2.094 kB / 0.7262 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001106/1.287, allocations: 0.7301 MB / 0.7269 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/1.288, allocations: 216.9 kB / 0.7271 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01727/1.306, allocations: 6.852 MB / 0.7338 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003431/1.309, allocations: 2.906 MB / 0.7366 GB, free: 123 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003388/1.312, allocations: 1.284 MB / 0.7379 GB, free: 123 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002182/1.315, allocations: 1.454 MB / 0.7393 GB, free: 123 MB / 0.4948 GB Notification: Performance of SimCode: time 1.002e-06/1.315, allocations: 3.75 kB / 0.7393 GB, free: 123 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08133/1.396, allocations: 42.83 MB / 0.7811 GB, free: 112 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002269/1.396, allocations: 141.1 kB / 0.7813 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.929/4.325, allocations: 0 / 0.7813 GB, free: 111.8 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat does not exist to compare? outputFormat=mat