Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01402/0.01402, allocations: 174.3 kB / 15.12 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.953/1.953, allocations: 194.5 MB / 210.3 MB, free: 11.19 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002005/0.002004, allocations: 112.6 kB / 255.6 MB, free: 14.3 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4866/0.4866, allocations: 40 MB / 340.8 MB, free: 14.97 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004738/0.0004738, allocations: 12 kB / 406.3 MB, free: 13.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3939, allocations: 54.87 MB / 461.1 MB, free: 24.58 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1696/0.5636, allocations: 100.9 MB / 0.5489 GB, free: 6.199 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/0.5639, allocations: 79.97 kB / 0.549 GB, free: 6.121 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.413/1.977, allocations: 200.4 MB / 0.7447 GB, free: 44.07 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.895e-06/1.977, allocations: 0 / 0.7447 GB, free: 44.07 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005958/1.978, allocations: 194.8 kB / 0.7449 GB, free: 44.07 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.04226/2.02, allocations: 9.997 MB / 0.7546 GB, free: 40.12 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/2.02, allocations: 10.38 kB / 0.7547 GB, free: 40.12 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01002/2.03, allocations: 1.82 MB / 0.7564 GB, free: 39.99 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03709/2.067, allocations: 4.037 MB / 0.7604 GB, free: 39.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03588/2.103, allocations: 10.6 MB / 0.7707 GB, free: 38.23 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001307/2.104, allocations: 0.7969 MB / 0.7715 GB, free: 38.21 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007246/2.112, allocations: 1.033 MB / 0.7725 GB, free: 38.21 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0802/2.192, allocations: 24.4 MB / 0.7963 GB, free: 33.77 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007228/2.193, allocations: 102.2 kB / 0.7964 GB, free: 33.75 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005776/2.199, allocations: 492.9 kB / 0.7969 GB, free: 33.75 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00572/2.204, allocations: 2.279 MB / 0.7991 GB, free: 33.73 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06502/2.269, allocations: 19.53 MB / 0.8182 GB, free: 31.62 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5693/2.839, allocations: 94.25 MB / 0.9102 GB, free: 75.87 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03892/2.878, allocations: 7.65 MB / 0.9177 GB, free: 75.19 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03908/2.917, allocations: 13.29 MB / 0.9307 GB, free: 72.26 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.398e-05/2.917, allocations: 74.19 kB / 0.9308 GB, free: 72.22 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=336): time 7.073e-06/2.917, allocations: 0 / 0.9308 GB, free: 72.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=360): time 0.09419/3.011, allocations: 20.84 MB / 0.9511 GB, free: 66.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.17e-05/3.011, allocations: 167.7 kB / 0.9513 GB, free: 66.27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01724/3.029, allocations: 6.589 MB / 0.9577 GB, free: 65.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008253/3.03, allocations: 77.48 kB / 0.9578 GB, free: 65.72 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006123/3.036, allocations: 6.808 MB / 0.9644 GB, free: 62.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00204/3.038, allocations: 1.35 MB / 0.9658 GB, free: 61.58 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001467/3.039, allocations: 213.2 kB / 0.966 GB, free: 61.58 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0008579/3.04, allocations: 0.7568 MB / 0.9667 GB, free: 61.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0105/3.051, allocations: 3.219 MB / 0.9698 GB, free: 61.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01469/3.065, allocations: 9.695 MB / 0.9793 GB, free: 52.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01443/3.08, allocations: 5.393 MB / 0.9846 GB, free: 52.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002594/3.08, allocations: 68.38 kB / 0.9846 GB, free: 52.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.03746/3.118, allocations: 12.64 MB / 0.997 GB, free: 51.92 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002018/3.118, allocations: 104.5 kB / 0.9971 GB, free: 51.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004107/3.118, allocations: 235.5 kB / 0.9973 GB, free: 51.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003633/3.119, allocations: 341.1 kB / 0.9976 GB, free: 51.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01698/3.136, allocations: 2.62 MB / 1 GB, free: 51.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004925/3.136, allocations: 454.1 kB / 1.001 GB, free: 51.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0139/3.15, allocations: 0.6843 MB / 1.001 GB, free: 51.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002437/3.153, allocations: 0.6354 MB / 1.002 GB, free: 51.58 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1052 * Number of states: 0 () * Number of discrete variables: 69 (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.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 (1366): * Single equations (assignments): 1363 * 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.01263/3.165, allocations: 4.514 MB / 1.006 GB, free: 51.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001765/3.167, allocations: 0.6609 MB / 1.007 GB, free: 50.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01381/3.181, allocations: 4.104 MB / 1.011 GB, free: 49.06 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.449e-05/3.181, allocations: 41.05 kB / 1.011 GB, free: 49.06 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-05/3.181, allocations: 0 / 1.011 GB, free: 49.06 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.626e-05/3.181, allocations: 20 kB / 1.011 GB, free: 49.06 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09857/3.28, allocations: 50.12 MB / 1.06 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001023/3.28, allocations: 72 kB / 1.06 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005179/3.285, allocations: 0.7428 MB / 1.061 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.602e-05/3.285, allocations: 108 kB / 1.061 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003813/3.286, allocations: 161.9 kB / 1.061 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001019/3.286, allocations: 142.6 kB / 1.061 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.022e-05/3.286, allocations: 115.5 kB / 1.061 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01909/3.305, allocations: 21.48 MB / 1.082 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002824/3.308, allocations: 0.7974 MB / 1.083 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002194/3.31, allocations: 166.9 kB / 1.083 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006941/3.317, allocations: 274.8 kB / 1.083 GB, free: 1.836 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001237/3.318, allocations: 488.3 kB / 1.084 GB, free: 1.449 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005238/3.319, allocations: 202.7 kB / 1.084 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.02543/3.344, allocations: 5.311 MB / 1.089 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.82e-07/3.344, allocations: 4 kB / 1.089 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01524/3.36, allocations: 1.872 MB / 1.091 GB, free: 13.22 MB / 0.5261 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.4415/3.801, allocations: 34.5 MB / 1.125 GB, free: 72.83 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02228/3.823, allocations: 7.583 MB / 1.132 GB, free: 72.79 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.289e-05/3.824, allocations: 13.62 kB / 1.132 GB, free: 72.79 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005667/3.829, allocations: 2.117 MB / 1.134 GB, free: 72.79 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008726/3.838, allocations: 1.031 MB / 1.135 GB, free: 72.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6374/4.476, allocations: 235.3 MB / 1.365 GB, free: 151.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02079/4.496, allocations: 7.127 MB / 1.372 GB, free: 150.9 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.01781/4.514, allocations: 3.316 MB / 1.375 GB, free: 150.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01164/4.526, allocations: 4.755 MB / 1.38 GB, free: 150.8 MB / 0.6198 GB Notification: Performance of SimCode: time 1.893e-06/4.526, allocations: 0 / 1.38 GB, free: 150.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7675/5.293, allocations: 141.4 MB / 1.518 GB, free: 162.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003021/5.294, allocations: 180.8 kB / 1.518 GB, free: 162 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.41/13.7, allocations: 3.062 kB / 1.518 GB, free: 162 MB / 0.6198 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat does not exist to compare? outputFormat=mat