Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape.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.BodyShape,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_BodyShape",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.009977/0.009977, allocations: 175.9 kB / 15.12 MB, free: 5.934 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.915/1.915, allocations: 194.5 MB / 210.3 MB, free: 8.586 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.001938/0.001938, allocations: 116.6 kB / 255.6 MB, free: 11.21 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.2524/0.2524, allocations: 40.01 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004748/0.0004749, allocations: 10.34 kB / 406.3 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09443/0.09494, allocations: 54.87 MB / 461.1 MB, free: 3.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5066/0.6016, allocations: 99.55 MB / 0.5475 GB, free: 21.3 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.6019, allocations: 77.94 kB / 0.5476 GB, free: 21.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3302/0.9322, allocations: 82.07 MB / 0.6278 GB, free: 15.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.9322, allocations: 0 / 0.6278 GB, free: 15.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003162/0.9326, allocations: 84 kB / 0.6278 GB, free: 15.25 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1491 * Number of variables: 1491 Notification: Performance of Generate backend data structure: time 0.01816/0.9507, allocations: 4.173 MB / 0.6319 GB, free: 11.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.9508, allocations: 8.031 kB / 0.6319 GB, free: 11.33 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00346/0.9543, allocations: 0.7568 MB / 0.6327 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01914/0.9735, allocations: 2.332 MB / 0.6349 GB, free: 8.547 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01961/0.9931, allocations: 5.224 MB / 0.64 GB, free: 3.484 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004736/0.9936, allocations: 312.3 kB / 0.6403 GB, free: 3.176 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002359/0.996, allocations: 427.8 kB / 0.6407 GB, free: 2.758 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03254/1.029, allocations: 10.4 MB / 0.6509 GB, free: 7.293 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003114/1.029, allocations: 55.47 kB / 0.651 GB, free: 7.238 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002253/1.031, allocations: 203.9 kB / 0.6511 GB, free: 7.039 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002784/1.034, allocations: 1.002 MB / 0.6521 GB, free: 6.031 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02784/1.062, allocations: 8.445 MB / 0.6604 GB, free: 13.56 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08626/1.148, allocations: 48.3 MB / 0.7075 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01578/1.164, allocations: 3.585 MB / 0.711 GB, free: 7.883 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01779/1.182, allocations: 6.989 MB / 0.7179 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.826e-05/1.182, allocations: 51.48 kB / 0.7179 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 5.22e-06/1.182, allocations: 0 / 0.7179 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of matching and sorting (n=155): time 0.3864/1.568, allocations: 14.06 MB / 0.7316 GB, free: 120.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001678/1.57, allocations: 1.599 MB / 0.7332 GB, free: 118.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01073/1.581, allocations: 3.485 MB / 0.7366 GB, free: 118.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005306/1.582, allocations: 43.95 kB / 0.7367 GB, free: 118.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003197/1.585, allocations: 3.14 MB / 0.7397 GB, free: 116.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001179/1.586, allocations: 0.6282 MB / 0.7403 GB, free: 116.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007989/1.587, allocations: 119.5 kB / 0.7404 GB, free: 116.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004032/1.587, allocations: 0.5628 MB / 0.741 GB, free: 116.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005084/1.592, allocations: 1.997 MB / 0.7429 GB, free: 116.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007563/1.6, allocations: 5.784 MB / 0.7486 GB, free: 111.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007693/1.608, allocations: 3.331 MB / 0.7518 GB, free: 111.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001296/1.608, allocations: 38.66 kB / 0.7519 GB, free: 111.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.02417/1.632, allocations: 8.328 MB / 0.76 GB, free: 110.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/1.632, allocations: 71.61 kB / 0.7601 GB, free: 110.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008765/1.641, allocations: 2.529 MB / 0.7626 GB, free: 110.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006104/1.647, allocations: 1.14 MB / 0.7637 GB, free: 110.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007867/1.655, allocations: 1.392 MB / 0.765 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007425/1.663, allocations: 4.742 MB / 0.7697 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007196/1.67, allocations: 381 kB / 0.77 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001472/1.671, allocations: 376.5 kB / 0.7704 GB, free: 106.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 616 * Number of states: 0 () * Number of discrete variables: 36 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (747): * Single equations (assignments): 738 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005256/1.677, allocations: 2.075 MB / 0.7724 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00101/1.678, allocations: 339.5 kB / 0.7727 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009764/1.687, allocations: 2.947 MB / 0.7756 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008521/1.696, allocations: 2.472 MB / 0.778 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.363e-05/1.696, allocations: 3.594 kB / 0.778 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-05/1.696, allocations: 7.594 kB / 0.778 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02698/1.723, allocations: 9.215 MB / 0.787 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.074e-05/1.723, allocations: 3.781 kB / 0.787 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002305/1.726, allocations: 250.1 kB / 0.7873 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005403/1.731, allocations: 1.011 MB / 0.7883 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004149/1.731, allocations: 38.7 kB / 0.7883 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008266/1.74, allocations: 4.932 MB / 0.7931 GB, free: 96.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001196/1.741, allocations: 1.466 MB / 0.7945 GB, free: 95.33 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01413/1.755, allocations: 5.601 MB / 0.8 GB, free: 92.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/1.756, allocations: 399.5 kB / 0.8004 GB, free: 92.42 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001032/1.758, allocations: 36.36 kB / 0.8004 GB, free: 92.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002987/1.761, allocations: 128.6 kB / 0.8006 GB, free: 92.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005257/1.761, allocations: 104.9 kB / 0.8007 GB, free: 92.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001905/1.761, allocations: 55.23 kB / 0.8007 GB, free: 92.36 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005998/1.767, allocations: 2.402 MB / 0.8031 GB, free: 90.64 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.102e-06/1.767, allocations: 0 / 0.8031 GB, free: 90.64 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007211/1.775, allocations: 1.014 MB / 0.804 GB, free: 89.63 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[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 (124): * Single equations (assignments): 117 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01402/1.789, allocations: 7.077 MB / 0.811 GB, free: 83.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01407/1.803, allocations: 5.421 MB / 0.8162 GB, free: 78.45 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/1.803, allocations: 0 / 0.8162 GB, free: 78.45 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006634/1.809, allocations: 2.116 MB / 0.8183 GB, free: 76.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003142/1.813, allocations: 413.5 kB / 0.8187 GB, free: 76.27 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4396/2.252, allocations: 126.5 MB / 0.9423 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007459/2.26, allocations: 3.292 MB / 0.9455 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008749/2.269, allocations: 1.883 MB / 0.9473 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004675/2.273, allocations: 1.849 MB / 0.9491 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.563e-06/2.273, allocations: 0 / 0.9491 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1775/2.451, allocations: 74.37 MB / 1.022 GB, free: 68.25 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002747/2.451, allocations: 202.4 kB / 1.022 GB, free: 68.01 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.557/8.008, allocations: 6.891 kB / 1.022 GB, free: 68.01 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape_res.mat does not exist to compare? outputFormat=mat