Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01468/0.01468, allocations: 164.7 kB / 15.11 MB, free: 5.938 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.618/1.618, allocations: 170.8 MB / 186.6 MB, free: 1.035 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001993/0.001993, allocations: 107.3 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4425/0.4425, allocations: 38.06 MB / 303.7 MB, free: 42.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006282/0.0006285, allocations: 16 kB / 363 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.119, allocations: 48.71 MB / 411.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.441/0.56, allocations: 88.53 MB / 0.4885 GB, free: 15.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.5603, allocations: 78.58 kB / 0.4886 GB, free: 15.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4071/0.9674, allocations: 96.14 MB / 0.5825 GB, free: 4.098 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.584e-06/0.9675, allocations: 0 / 0.5825 GB, free: 4.098 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004895/0.968, allocations: 87.98 kB / 0.5825 GB, free: 4.012 MB / 426.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.3148/1.283, allocations: 4.766 MB / 0.5872 GB, free: 77.49 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/1.283, allocations: 12.14 kB / 0.5872 GB, free: 77.49 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002918/1.286, allocations: 0.5361 MB / 0.5877 GB, free: 77.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04842/1.334, allocations: 5.986 MB / 0.5936 GB, free: 77.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03118/1.365, allocations: 9.019 MB / 0.6024 GB, free: 76.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00043/1.366, allocations: 250.9 kB / 0.6026 GB, free: 76.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002112/1.368, allocations: 348.9 kB / 0.603 GB, free: 76.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02368/1.392, allocations: 6.869 MB / 0.6097 GB, free: 75.13 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000398/1.392, allocations: 55.89 kB / 0.6097 GB, free: 75.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001232/1.394, allocations: 151.4 kB / 0.6099 GB, free: 75.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001953/1.396, allocations: 0.585 MB / 0.6104 GB, free: 75.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01837/1.414, allocations: 5.02 MB / 0.6153 GB, free: 75.08 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04861/1.463, allocations: 28.33 MB / 0.643 GB, free: 58.72 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004187/1.467, allocations: 0.7192 MB / 0.6437 GB, free: 58.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.025e-05/1.467, allocations: 13.2 kB / 0.6437 GB, free: 58.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/1.467, allocations: 38.66 kB / 0.6438 GB, free: 58.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 2.955e-06/1.467, allocations: 0 / 0.6438 GB, free: 58.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=37): time 0.01412/1.481, allocations: 2.151 MB / 0.6459 GB, free: 58.03 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/1.481, allocations: 240.6 kB / 0.6461 GB, free: 57.74 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01325/1.495, allocations: 4.238 MB / 0.6502 GB, free: 56.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001036/1.495, allocations: 29.7 kB / 0.6502 GB, free: 56.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003329/1.498, allocations: 2.756 MB / 0.6529 GB, free: 54.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003673/1.498, allocations: 206.5 kB / 0.6531 GB, free: 54.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004289/1.499, allocations: 68.78 kB / 0.6532 GB, free: 53.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002552/1.499, allocations: 459 kB / 0.6536 GB, free: 53.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002724/1.502, allocations: 0.8148 MB / 0.6544 GB, free: 53.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004511/1.506, allocations: 3.41 MB / 0.6578 GB, free: 49.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005099/1.512, allocations: 1.576 MB / 0.6593 GB, free: 49.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001056/1.512, allocations: 27.34 kB / 0.6593 GB, free: 49.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.01214/1.524, allocations: 4.082 MB / 0.6633 GB, free: 47.51 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.547e-05/1.524, allocations: 47.66 kB / 0.6634 GB, free: 47.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001436/1.524, allocations: 94.12 kB / 0.6635 GB, free: 47.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001587/1.524, allocations: 134.2 kB / 0.6636 GB, free: 47.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004634/1.529, allocations: 0.8598 MB / 0.6644 GB, free: 47.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001648/1.529, allocations: 174.5 kB / 0.6646 GB, free: 47.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006244/1.536, allocations: 0.6284 MB / 0.6652 GB, free: 47.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00069/1.536, allocations: 232.1 kB / 0.6654 GB, free: 47 MB / 426.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.004144/1.54, allocations: 1.625 MB / 0.667 GB, free: 46.24 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001187/1.542, allocations: 387.2 kB / 0.6674 GB, free: 46.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/1.543, allocations: 396.1 kB / 0.6678 GB, free: 45.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.178e-06/1.543, allocations: 3.188 kB / 0.6678 GB, free: 45.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/1.543, allocations: 3.25 kB / 0.6678 GB, free: 45.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/1.543, allocations: 3.281 kB / 0.6678 GB, free: 45.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01151/1.555, allocations: 4.563 MB / 0.6722 GB, free: 43.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/1.555, allocations: 17.47 kB / 0.6722 GB, free: 43.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004879/1.555, allocations: 107.2 kB / 0.6723 GB, free: 43.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.292e-05/1.555, allocations: 15.12 kB / 0.6724 GB, free: 43.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.063e-05/1.555, allocations: 27.38 kB / 0.6724 GB, free: 43.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.907e-05/1.555, allocations: 26.3 kB / 0.6724 GB, free: 43.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.366e-05/1.555, allocations: 18.94 kB / 0.6724 GB, free: 43.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002316/1.558, allocations: 2.829 MB / 0.6752 GB, free: 40.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001717/1.559, allocations: 0.514 MB / 0.6757 GB, free: 40.19 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001033/1.561, allocations: 25.02 kB / 0.6757 GB, free: 40.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002401/1.563, allocations: 63.25 kB / 0.6758 GB, free: 40.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/1.563, allocations: 72.38 kB / 0.6758 GB, free: 40.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/1.563, allocations: 31.09 kB / 0.6759 GB, free: 40.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.009195/1.572, allocations: 3.137 MB / 0.6789 GB, free: 39.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.22e-07/1.572, allocations: 0 / 0.6789 GB, free: 39.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005456/1.578, allocations: 0.8535 MB / 0.6798 GB, free: 38.95 MB / 426.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.003484/1.581, allocations: 5.817 MB / 0.6854 GB, free: 33.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005101/1.587, allocations: 1.885 MB / 0.6873 GB, free: 32.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.445e-05/1.587, allocations: 5.906 kB / 0.6873 GB, free: 32.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005081/1.587, allocations: 228.9 kB / 0.6875 GB, free: 32.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005462/1.593, allocations: 0.6178 MB / 0.6881 GB, free: 32.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5252/2.118, allocations: 93.95 MB / 0.7799 GB, free: 75.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007098/2.125, allocations: 2.939 MB / 0.7827 GB, free: 74.73 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007727/2.133, allocations: 1.155 MB / 0.7839 GB, free: 74.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004771/2.138, allocations: 1.719 MB / 0.7855 GB, free: 74.69 MB / 458.7 MB Notification: Performance of SimCode: time 2.074e-06/2.138, allocations: 0 / 0.7855 GB, free: 74.69 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.211/2.349, allocations: 67.08 MB / 0.851 GB, free: 61.68 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002998/2.349, allocations: 170.7 kB / 0.8512 GB, free: 61.43 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.204/7.553, allocations: 0 / 0.8512 GB, free: 61.43 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies_res.mat does not exist to compare? outputFormat=mat