Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.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.BodyShape,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01415/0.01415, allocations: 165.5 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.615/1.615, 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.002016/0.002016, allocations: 106 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.4352/0.4352, allocations: 38.05 MB / 303.7 MB, free: 42.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004764/0.0004762, allocations: 12 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1265, allocations: 48.71 MB / 411.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4228/0.5493, allocations: 92.82 MB / 0.4927 GB, free: 11.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.5497, allocations: 72.97 kB / 0.4928 GB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3651/0.9148, allocations: 81.89 MB / 0.5727 GB, free: 13.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.9148, allocations: 0 / 0.5727 GB, free: 13.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002746/0.9151, allocations: 80 kB / 0.5728 GB, free: 13.81 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: 1491 * Number of variables: 1491 Notification: Performance of Generate backend data structure: time 0.01648/0.9316, allocations: 4.179 MB / 0.5769 GB, free: 9.559 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.9317, allocations: 8.031 kB / 0.5769 GB, free: 9.551 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003269/0.9349, allocations: 0.758 MB / 0.5776 GB, free: 8.781 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01906/0.9541, allocations: 2.322 MB / 0.5799 GB, free: 6.449 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02001/0.9741, allocations: 5.2 MB / 0.585 GB, free: 1.184 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004653/0.9746, allocations: 316.3 kB / 0.5853 GB, free: 0.8711 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002232/0.9769, allocations: 423.8 kB / 0.5857 GB, free: 468 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4155/1.392, allocations: 10.4 MB / 0.5958 GB, free: 76.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005247/1.393, allocations: 60.69 kB / 0.5959 GB, free: 76.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002848/1.396, allocations: 203 kB / 0.5961 GB, free: 76.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003313/1.399, allocations: 0.9934 MB / 0.5971 GB, free: 76.97 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03019/1.43, allocations: 8.449 MB / 0.6053 GB, free: 76.94 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06848/1.498, allocations: 48.29 MB / 0.6525 GB, free: 44.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01547/1.514, allocations: 3.577 MB / 0.656 GB, free: 43.47 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01682/1.531, allocations: 6.985 MB / 0.6628 GB, free: 39.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/1.531, allocations: 53.12 kB / 0.6628 GB, free: 39.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=139): time 4.869e-06/1.531, allocations: 0 / 0.6628 GB, free: 39.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=155): time 0.05849/1.589, allocations: 14.07 MB / 0.6766 GB, free: 33.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001395/1.591, allocations: 1.619 MB / 0.6782 GB, free: 32.31 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008229/1.599, allocations: 3.475 MB / 0.6816 GB, free: 31.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004401/1.599, allocations: 44.58 kB / 0.6816 GB, free: 31.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002909/1.602, allocations: 3.14 MB / 0.6847 GB, free: 28.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001023/1.603, allocations: 0.6361 MB / 0.6853 GB, free: 28.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008972/1.604, allocations: 120.4 kB / 0.6854 GB, free: 28.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000487/1.605, allocations: 0.5557 MB / 0.6859 GB, free: 27.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005178/1.61, allocations: 1.998 MB / 0.6879 GB, free: 27.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008124/1.618, allocations: 5.778 MB / 0.6935 GB, free: 21.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007732/1.626, allocations: 3.319 MB / 0.6968 GB, free: 19.81 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001228/1.626, allocations: 45.44 kB / 0.6968 GB, free: 19.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.02272/1.649, allocations: 8.225 MB / 0.7049 GB, free: 16.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/1.649, allocations: 62.69 kB / 0.7049 GB, free: 16.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008078/1.657, allocations: 2.45 MB / 0.7073 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005146/1.662, allocations: 1.05 MB / 0.7083 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008098/1.67, allocations: 1.399 MB / 0.7097 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006226/1.677, allocations: 4.372 MB / 0.714 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00713/1.684, allocations: 389.4 kB / 0.7143 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001492/1.685, allocations: 375.3 kB / 0.7147 GB, free: 12.29 MB / 426.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 (750): * Single equations (assignments): 741 * 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 {1} * 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.00548/1.691, allocations: 2.071 MB / 0.7167 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008863/1.692, allocations: 342 kB / 0.717 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01034/1.702, allocations: 2.951 MB / 0.7199 GB, free: 9.102 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008322/1.711, allocations: 2.458 MB / 0.7223 GB, free: 7.137 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.047e-05/1.711, allocations: 4 kB / 0.7223 GB, free: 7.133 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-05/1.711, allocations: 8.562 kB / 0.7223 GB, free: 7.133 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02871/1.739, allocations: 9.275 MB / 0.7314 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.167e-05/1.74, allocations: 5.203 kB / 0.7314 GB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002443/1.742, allocations: 253.9 kB / 0.7316 GB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00575/1.748, allocations: 1.016 MB / 0.7326 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000424/1.748, allocations: 38.42 kB / 0.7327 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009701/1.758, allocations: 4.929 MB / 0.7375 GB, free: 10.38 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001606/1.76, allocations: 1.462 MB / 0.7389 GB, free: 8.832 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01522/1.775, allocations: 5.607 MB / 0.7444 GB, free: 3.871 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001385/1.776, allocations: 398.7 kB / 0.7448 GB, free: 3.473 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001127/1.777, allocations: 31.47 kB / 0.7448 GB, free: 3.445 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003086/1.781, allocations: 133.6 kB / 0.7449 GB, free: 3.363 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005207/1.781, allocations: 101.9 kB / 0.745 GB, free: 3.297 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002022/1.781, allocations: 51.59 kB / 0.7451 GB, free: 3.254 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006503/1.788, allocations: 2.403 MB / 0.7474 GB, free: 1.293 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.364e-06/1.788, allocations: 0 / 0.7474 GB, free: 1.293 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007536/1.795, allocations: 1.003 MB / 0.7484 GB, free: 304 kB / 442.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.3153/2.111, allocations: 7.081 MB / 0.7553 GB, free: 84.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01452/2.125, allocations: 5.31 MB / 0.7605 GB, free: 83.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/2.125, allocations: 1.641 kB / 0.7605 GB, free: 83.98 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00733/2.133, allocations: 2.115 MB / 0.7626 GB, free: 83.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003482/2.136, allocations: 415 kB / 0.763 GB, free: 83.53 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1224/2.259, allocations: 126.4 MB / 0.8864 GB, free: 22.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007668/2.266, allocations: 3.296 MB / 0.8897 GB, free: 21.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009701/2.276, allocations: 1.885 MB / 0.8915 GB, free: 21.65 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004941/2.281, allocations: 1.861 MB / 0.8933 GB, free: 21.12 MB / 490.7 MB Notification: Performance of SimCode: time 1.443e-06/2.281, allocations: 0 / 0.8933 GB, free: 21.12 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4679/2.749, allocations: 73.71 MB / 0.9653 GB, free: 123.7 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002495/2.749, allocations: 208.7 kB / 0.9655 GB, free: 123.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.308/8.058, allocations: 4 kB / 0.9655 GB, free: 123.4 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape_res.mat does not exist to compare? outputFormat=mat