Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies.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.Parts.Bodies,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Bodies",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.00988/0.00988, allocations: 174.2 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.859/1.859, allocations: 194.5 MB / 210.3 MB, free: 11.2 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.002005, allocations: 115.3 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.4629/0.4629, allocations: 40 MB / 340.8 MB, free: 14.98 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004923/0.0004923, allocations: 16 kB / 406.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.4325, allocations: 54.85 MB / 461.1 MB, free: 24.57 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2255/0.6581, allocations: 95.24 MB / 0.5433 GB, free: 11.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003783/0.6585, allocations: 75.95 kB / 0.5434 GB, free: 11.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7311/1.39, allocations: 96.12 MB / 0.6373 GB, free: 24.56 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.797e-06/1.39, allocations: 0 / 0.6373 GB, free: 24.56 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004947/1.39, allocations: 83.98 kB / 0.6374 GB, free: 24.48 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1018 * Number of variables: 1018 Notification: Performance of Generate backend data structure: time 0.02086/1.411, allocations: 4.77 MB / 0.642 GB, free: 19.64 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/1.411, allocations: 8.031 kB / 0.642 GB, free: 19.63 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002788/1.414, allocations: 0.5352 MB / 0.6425 GB, free: 19.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04602/1.46, allocations: 5.982 MB / 0.6484 GB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0286/1.489, allocations: 9.029 MB / 0.6572 GB, free: 3.988 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002908/1.489, allocations: 246.5 kB / 0.6574 GB, free: 3.746 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00167/1.491, allocations: 351.7 kB / 0.6578 GB, free: 3.402 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02238/1.513, allocations: 6.869 MB / 0.6645 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000325/1.514, allocations: 59.41 kB / 0.6645 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009233/1.514, allocations: 155.9 kB / 0.6647 GB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001913/1.516, allocations: 0.5801 MB / 0.6653 GB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01931/1.536, allocations: 5.021 MB / 0.6702 GB, free: 6.141 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05339/1.589, allocations: 28.34 MB / 0.6978 GB, free: 9.027 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004348/1.594, allocations: 0.7232 MB / 0.6985 GB, free: 8.258 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.962e-05/1.594, allocations: 12.23 kB / 0.6986 GB, free: 8.246 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.945e-05/1.594, allocations: 38.56 kB / 0.6986 GB, free: 8.199 MB / 442.7 MB Notification: Performance of pre-optimization done (n=37): time 3.837e-06/1.594, allocations: 0 / 0.6986 GB, free: 8.199 MB / 442.7 MB Notification: Performance of matching and sorting (n=37): time 0.01433/1.608, allocations: 2.151 MB / 0.7007 GB, free: 6.035 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/1.608, allocations: 235.4 kB / 0.7009 GB, free: 5.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01314/1.621, allocations: 4.244 MB / 0.7051 GB, free: 1.512 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001131/1.622, allocations: 33.7 kB / 0.7051 GB, free: 1.473 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003825/1.625, allocations: 2.746 MB / 0.7078 GB, free: 14.7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003716/1.626, allocations: 190.1 kB / 0.708 GB, free: 14.51 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003449/1.626, allocations: 72 kB / 0.708 GB, free: 14.44 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003148/1.627, allocations: 449.4 kB / 0.7084 GB, free: 13.99 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00287/1.629, allocations: 0.8226 MB / 0.7093 GB, free: 13.17 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005511/1.635, allocations: 3.403 MB / 0.7126 GB, free: 8.445 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004808/1.64, allocations: 1.58 MB / 0.7141 GB, free: 6.863 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.713e-05/1.64, allocations: 28 kB / 0.7141 GB, free: 6.836 MB / 458.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.01392/1.654, allocations: 4.09 MB / 0.7181 GB, free: 2.738 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/1.654, allocations: 51.98 kB / 0.7182 GB, free: 2.688 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001819/1.654, allocations: 96.06 kB / 0.7183 GB, free: 2.594 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001986/1.655, allocations: 139.9 kB / 0.7184 GB, free: 2.457 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005065/1.66, allocations: 0.8538 MB / 0.7192 GB, free: 1.602 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002185/1.66, allocations: 187.5 kB / 0.7194 GB, free: 1.418 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006599/1.666, allocations: 0.6155 MB / 0.72 GB, free: 0.7969 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009113/1.667, allocations: 232 kB / 0.7202 GB, free: 0.5703 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 427 * Number of states: 0 () * Number of discrete variables: 51 (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],Fixed2.color[3],Fixed2.color[2],Fixed2.color[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],Fixed5.color[3],Fixed5.color[2],Fixed5.color[1],Fixed4.color[3],Fixed4.color[2],Fixed4.color[1],Fixed3.color[3],Fixed3.color[2],Fixed3.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (446): * Single equations (assignments): 446 * Array equations: 0 * 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.004866/1.672, allocations: 1.629 MB / 0.7218 GB, free: 14.93 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001267/1.674, allocations: 383.1 kB / 0.7222 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/1.675, allocations: 397.4 kB / 0.7226 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/1.675, allocations: 7.984 kB / 0.7226 GB, free: 14.15 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/1.675, allocations: 0 / 0.7226 GB, free: 14.15 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/1.675, allocations: 4 kB / 0.7226 GB, free: 14.14 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01181/1.687, allocations: 4.562 MB / 0.7271 GB, free: 9.348 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.997e-05/1.687, allocations: 12 kB / 0.7271 GB, free: 9.336 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005552/1.688, allocations: 95.94 kB / 0.7272 GB, free: 9.242 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-05/1.688, allocations: 20 kB / 0.7272 GB, free: 9.223 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.041e-05/1.688, allocations: 27.95 kB / 0.7272 GB, free: 9.195 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.649e-05/1.688, allocations: 19.92 kB / 0.7272 GB, free: 9.176 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.987e-05/1.688, allocations: 19.94 kB / 0.7272 GB, free: 9.156 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002959/1.691, allocations: 2.85 MB / 0.73 GB, free: 5.734 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001534/1.692, allocations: 487.9 kB / 0.7305 GB, free: 5.234 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007012/1.693, allocations: 23.98 kB / 0.7305 GB, free: 5.211 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001978/1.695, allocations: 67.89 kB / 0.7306 GB, free: 5.145 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/1.695, allocations: 79.67 kB / 0.7306 GB, free: 5.066 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.416e-05/1.695, allocations: 24 kB / 0.7307 GB, free: 5.043 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0107/1.706, allocations: 3.141 MB / 0.7337 GB, free: 1.91 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.31e-07/1.706, allocations: 0 / 0.7337 GB, free: 1.91 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00569/1.712, allocations: 0.8532 MB / 0.7346 GB, free: 1.055 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 (52): * Single equations (assignments): 52 * Array equations: 0 * 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.3532/2.065, allocations: 5.797 MB / 0.7402 GB, free: 110.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00516/2.07, allocations: 1.892 MB / 0.7421 GB, free: 110.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-05/2.07, allocations: 3.875 kB / 0.7421 GB, free: 110.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004942/2.071, allocations: 220.9 kB / 0.7423 GB, free: 110.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005346/2.076, allocations: 0.629 MB / 0.7429 GB, free: 110.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08876/2.165, allocations: 93.94 MB / 0.8346 GB, free: 29.96 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007209/2.172, allocations: 2.944 MB / 0.8375 GB, free: 29.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006203/2.178, allocations: 1.153 MB / 0.8386 GB, free: 29.16 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003841/2.182, allocations: 1.716 MB / 0.8403 GB, free: 29.16 MB / 474.7 MB Notification: Performance of SimCode: time 1.302e-06/2.182, allocations: 0 / 0.8403 GB, free: 29.16 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1551/2.337, allocations: 67.09 MB / 0.9058 GB, free: 5.32 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003648/2.338, allocations: 162.9 kB / 0.906 GB, free: 5.082 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.165/7.503, allocations: 3.938 kB / 0.906 GB, free: 5.078 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies_res.mat does not exist to compare? outputFormat=mat