Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.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.InitializationConversion.Bodies,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_InitializationConversion_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.0154/0.01539, allocations: 165.6 kB / 15.11 MB, free: 5.984 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.954/1.954, allocations: 170.8 MB / 186.6 MB, free: 1.113 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.001945/0.001945, allocations: 111.4 kB / 226.2 MB, free: 10.1 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.4852/0.4852, allocations: 38.05 MB / 303.7 MB, free: 42.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007256/0.0007256, allocations: 8 kB / 363 MB, free: 5.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1436, allocations: 48.71 MB / 411.7 MB, free: 4.738 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4497/0.5934, allocations: 88.67 MB / 0.4886 GB, free: 15.01 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.5937, allocations: 78.53 kB / 0.4887 GB, free: 14.97 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7657/1.359, allocations: 102.2 MB / 0.5885 GB, free: 74.94 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.765e-06/1.36, allocations: 0 / 0.5885 GB, free: 74.94 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004549/1.36, allocations: 87.22 kB / 0.5885 GB, free: 74.94 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: 1495 * Number of variables: 1495 Notification: Performance of Generate backend data structure: time 0.0567/1.417, allocations: 6.893 MB / 0.5953 GB, free: 73.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/1.417, allocations: 16.27 kB / 0.5953 GB, free: 73.59 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004425/1.421, allocations: 0.7914 MB / 0.5961 GB, free: 73.51 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05699/1.478, allocations: 7.298 MB / 0.6032 GB, free: 73.19 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06901/1.547, allocations: 18.23 MB / 0.621 GB, free: 72.31 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004648/1.548, allocations: 314.8 kB / 0.6213 GB, free: 72.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002618/1.55, allocations: 443 kB / 0.6217 GB, free: 72.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03218/1.583, allocations: 10.6 MB / 0.6321 GB, free: 69.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004686/1.583, allocations: 83.11 kB / 0.6321 GB, free: 69.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001749/1.585, allocations: 209.7 kB / 0.6323 GB, free: 69.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002734/1.588, allocations: 1.05 MB / 0.6334 GB, free: 69.35 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02615/1.614, allocations: 9.258 MB / 0.6424 GB, free: 69.32 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07391/1.688, allocations: 51.17 MB / 0.6924 GB, free: 31.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0134/1.701, allocations: 3.849 MB / 0.6961 GB, free: 29.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000283/1.702, allocations: 23.66 kB / 0.6962 GB, free: 29.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.644e-05/1.702, allocations: 65.17 kB / 0.6962 GB, free: 29.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=188): time 6.442e-06/1.702, allocations: 0 / 0.6962 GB, free: 29.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=216): time 0.08539/1.787, allocations: 22.69 MB / 0.7184 GB, free: 16.97 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004636/1.792, allocations: 6.228 MB / 0.7245 GB, free: 10.33 MB / 426.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Parts.mo:1606:5-1607:60:writable] Warning: Parameter body3.r[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Parts.mo:1606:5-1607:60:writable] Warning: Parameter body3.r[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Parts.mo:1606:5-1607:60:writable] Warning: Parameter body3.r[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Parts.mo:1371:5-1372:59:writable] Warning: Parameter body2.r[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Parts.mo:1371:5-1372:59:writable] Warning: Parameter body2.r[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Parts.mo:1371:5-1372:59:writable] Warning: Parameter body2.r[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Parts.mo:1045:5-1046:59:writable] Warning: Parameter body1.r[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Parts.mo:1045:5-1046:59:writable] Warning: Parameter body1.r[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Parts.mo:1045:5-1046:59:writable] Warning: Parameter body1.r[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01121/1.803, allocations: 4.567 MB / 0.7289 GB, free: 6.496 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006843/1.804, allocations: 56.36 kB / 0.729 GB, free: 6.438 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003539/1.807, allocations: 3.507 MB / 0.7324 GB, free: 3.277 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001649/1.809, allocations: 0.9103 MB / 0.7333 GB, free: 2.477 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001104/1.81, allocations: 140.1 kB / 0.7334 GB, free: 2.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004653/1.811, allocations: 0.6091 MB / 0.734 GB, free: 1.812 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01239/1.823, allocations: 3.311 MB / 0.7372 GB, free: 15.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01422/1.837, allocations: 7.37 MB / 0.7444 GB, free: 6.309 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01245/1.85, allocations: 4.61 MB / 0.7489 GB, free: 1.703 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001441/1.85, allocations: 48 kB / 0.749 GB, free: 1.656 MB / 442.7 MB Notification: Performance of matching and sorting (n=946) (initialization): time 0.4024/2.253, allocations: 13.04 MB / 0.7617 GB, free: 78.49 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001194/2.253, allocations: 71.88 kB / 0.7618 GB, free: 78.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02636/2.279, allocations: 6.26 MB / 0.7679 GB, free: 78.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02319/2.302, allocations: 3.491 MB / 0.7713 GB, free: 78.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01012/2.313, allocations: 1.701 MB / 0.773 GB, free: 78.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01774/2.33, allocations: 11.99 MB / 0.7847 GB, free: 70.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01268/2.343, allocations: 0.7821 MB / 0.7855 GB, free: 70.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00205/2.345, allocations: 461.2 kB / 0.7859 GB, free: 70.43 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 694 * Number of states: 0 () * Number of discrete variables: 36 (body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],body1.frameTranslation.color[3],body1.frameTranslation.color[2],body1.frameTranslation.color[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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 (870): * Single equations (assignments): 845 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 4 {3 1,3 1,3 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.00784/2.353, allocations: 2.33 MB / 0.7882 GB, free: 70.16 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001724/2.355, allocations: 459.5 kB / 0.7886 GB, free: 70.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003012/2.358, allocations: 0.6095 MB / 0.7892 GB, free: 70.12 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0296/2.388, allocations: 6.018 MB / 0.7951 GB, free: 69.88 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.239e-05/2.388, allocations: 8.656 kB / 0.7951 GB, free: 69.88 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.066e-05/2.388, allocations: 14.77 kB / 0.7951 GB, free: 69.88 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03353/2.421, allocations: 10.44 MB / 0.8053 GB, free: 69.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.577e-05/2.421, allocations: 3.625 kB / 0.8053 GB, free: 69.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004319/2.426, allocations: 445.3 kB / 0.8057 GB, free: 69.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02366/2.449, allocations: 3.604 MB / 0.8093 GB, free: 68.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008518/2.45, allocations: 93.45 kB / 0.8093 GB, free: 68.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02089/2.471, allocations: 13.9 MB / 0.8229 GB, free: 59.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004407/2.476, allocations: 5.923 MB / 0.8287 GB, free: 53.29 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03425/2.51, allocations: 10.69 MB / 0.8391 GB, free: 49.19 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003633/2.514, allocations: 0.9043 MB / 0.84 GB, free: 48.69 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001646/2.515, allocations: 70.56 kB / 0.8401 GB, free: 48.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006694/2.522, allocations: 349.7 kB / 0.8404 GB, free: 48.63 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001201/2.523, allocations: 182.3 kB / 0.8406 GB, free: 48.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003134/2.524, allocations: 70.17 kB / 0.8407 GB, free: 48.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008704/2.532, allocations: 3.226 MB / 0.8438 GB, free: 47.54 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.72e-07/2.532, allocations: 7.375 kB / 0.8438 GB, free: 47.53 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01017/2.543, allocations: 1.584 MB / 0.8454 GB, free: 47.39 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],body3.v_0[1],body3.v_0[2],body3.v_0[3],body3.body.frame_a.r_0[1],body3.body.frame_a.r_0[2],body3.body.frame_a.r_0[3],body3.body.w_a[1],body3.body.w_a[2],body3.body.w_a[3],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.body.frame_a.r_0[1],body2.body.frame_a.r_0[2],body2.body.frame_a.r_0[3],body2.body.w_a[1],body2.body.w_a[2],body2.body.w_a[3],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.body.frame_a.r_0[1],body1.body.frame_a.r_0[2],body1.body.frame_a.r_0[3],body1.body.w_a[1],body1.body.w_a[2],body1.body.w_a[3],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (156): * Single equations (assignments): 139 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04206/2.585, allocations: 12.04 MB / 0.8571 GB, free: 41.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02452/2.609, allocations: 9.163 MB / 0.8661 GB, free: 36.99 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/2.609, allocations: 0 / 0.8661 GB, free: 36.99 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01403/2.623, allocations: 4.668 MB / 0.8706 GB, free: 32.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005927/2.629, allocations: 0.6288 MB / 0.8713 GB, free: 32.36 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4134/3.043, allocations: 131.8 MB / 0.9999 GB, free: 35.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01048/3.053, allocations: 3.789 MB / 1.004 GB, free: 34.58 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01171/3.065, allocations: 2.274 MB / 1.006 GB, free: 34.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00618/3.071, allocations: 2.278 MB / 1.008 GB, free: 34.53 MB / 490.7 MB Notification: Performance of SimCode: time 1.683e-06/3.071, allocations: 0 / 1.008 GB, free: 34.53 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5993/3.671, allocations: 109.3 MB / 1.115 GB, free: 100.6 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/3.671, allocations: 221.2 kB / 1.115 GB, free: 100.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.023/10.69, allocations: 0 / 1.115 GB, free: 100.4 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Bodies_res.mat does not exist to compare? outputFormat=mat