Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2.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.FreeBodies2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_FreeBodies2",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.01386/0.01386, 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.965/1.965, allocations: 194.5 MB / 210.3 MB, free: 7.816 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.002076/0.002076, allocations: 112.7 kB / 255.6 MB, free: 10.43 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.2545/0.2545, allocations: 40.01 MB / 340.8 MB, free: 11.44 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000494/0.000494, allocations: 17.69 kB / 406.3 MB, free: 51.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1136, allocations: 54.86 MB / 461.1 MB, free: 3.258 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.536/0.6497, allocations: 99.38 MB / 0.5474 GB, free: 26.42 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/0.65, allocations: 77.38 kB / 0.5474 GB, free: 26.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5725/1.223, allocations: 142.5 MB / 0.6866 GB, free: 5.613 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.594e-06/1.223, allocations: 0 / 0.6866 GB, free: 5.613 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006336/1.223, allocations: 156 kB / 0.6867 GB, free: 5.461 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2525 * Number of variables: 2525 Notification: Performance of Generate backend data structure: time 0.06852/1.292, allocations: 9.283 MB / 0.6958 GB, free: 12.09 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/1.292, allocations: 8.031 kB / 0.6958 GB, free: 12.09 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00699/1.299, allocations: 1.308 MB / 0.6971 GB, free: 10.77 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0628/1.362, allocations: 7.743 MB / 0.7047 GB, free: 3.004 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3942/1.756, allocations: 10.99 MB / 0.7154 GB, free: 66.52 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008709/1.757, allocations: 0.5596 MB / 0.7159 GB, free: 66.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004292/1.761, allocations: 0.7576 MB / 0.7167 GB, free: 66.5 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06151/1.823, allocations: 17.61 MB / 0.7339 GB, free: 62.36 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007917/1.824, allocations: 106 kB / 0.734 GB, free: 62.36 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003945/1.828, allocations: 365.7 kB / 0.7343 GB, free: 62.36 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004018/1.832, allocations: 1.599 MB / 0.7359 GB, free: 62.34 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05089/1.883, allocations: 14.29 MB / 0.7498 GB, free: 62.28 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1316/2.014, allocations: 79.04 MB / 0.827 GB, free: 26.47 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03579/2.05, allocations: 6.943 MB / 0.8338 GB, free: 24.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03595/2.086, allocations: 14.69 MB / 0.8482 GB, free: 16.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.196e-05/2.086, allocations: 70.41 kB / 0.8482 GB, free: 16.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=259): time 6.893e-06/2.086, allocations: 0 / 0.8482 GB, free: 16.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=287): time 0.1461/2.232, allocations: 27.71 MB / 0.8753 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006804/2.239, allocations: 6.305 MB / 0.8814 GB, free: 4.664 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01718/2.257, allocations: 5.859 MB / 0.8872 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009075/2.257, allocations: 65.7 kB / 0.8872 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.006403/2.264, allocations: 5.274 MB / 0.8924 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002403/2.266, allocations: 1.187 MB / 0.8935 GB, free: 9.906 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001627/2.268, allocations: 192 kB / 0.8937 GB, free: 9.719 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0009014/2.269, allocations: 0.7202 MB / 0.8944 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01149/2.28, allocations: 3.922 MB / 0.8982 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3988/2.679, allocations: 9.71 MB / 0.9077 GB, free: 99.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01591/2.695, allocations: 5.974 MB / 0.9136 GB, free: 99.54 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003307/2.696, allocations: 57.25 kB / 0.9136 GB, free: 99.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.0634/2.759, allocations: 16.37 MB / 0.9296 GB, free: 98.83 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004497/2.76, allocations: 92.66 kB / 0.9297 GB, free: 98.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04483/2.804, allocations: 7.7 MB / 0.9372 GB, free: 98.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.041/2.846, allocations: 3.904 MB / 0.941 GB, free: 98.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01895/2.865, allocations: 2.31 MB / 0.9433 GB, free: 98.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02634/2.891, allocations: 13.99 MB / 0.9569 GB, free: 90.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01412/2.905, allocations: 0.8619 MB / 0.9578 GB, free: 90.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002539/2.908, allocations: 0.5952 MB / 0.9584 GB, free: 90.37 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 933 * Number of states: 0 () * Number of discrete variables: 75 (spring6.color[3],spring6.color[2],spring6.color[1],spring6.massColor[3],spring6.massColor[2],spring6.massColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],spring5.color[3],spring5.color[2],spring5.color[1],spring5.massColor[3],spring5.massColor[2],spring5.massColor[1],spring4.color[3],spring4.color[2],spring4.color[1],spring4.massColor[3],spring4.massColor[2],spring4.massColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[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],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 (1195): * Single equations (assignments): 1170 * Array equations: 11 * 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 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,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 prepare postOptimizeDAE: time 0.01017/2.918, allocations: 3.412 MB / 0.9617 GB, free: 90.05 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001698/2.92, allocations: 0.5863 MB / 0.9623 GB, free: 90.04 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02751/2.947, allocations: 7.584 MB / 0.9697 GB, free: 89.71 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0253/2.973, allocations: 6.753 MB / 0.9763 GB, free: 89.44 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.745e-05/2.973, allocations: 8.031 kB / 0.9763 GB, free: 89.44 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-05/2.973, allocations: 19.56 kB / 0.9763 GB, free: 89.44 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02052/2.993, allocations: 7.424 MB / 0.9835 GB, free: 87.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.122e-05/2.993, allocations: 3.906 kB / 0.9836 GB, free: 87.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006278/3, allocations: 0.598 MB / 0.9841 GB, free: 87.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0173/3.017, allocations: 3.133 MB / 0.9872 GB, free: 86.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001033/3.018, allocations: 99.31 kB / 0.9873 GB, free: 86.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02445/3.043, allocations: 14.31 MB / 1.001 GB, free: 76.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005618/3.048, allocations: 6.069 MB / 1.007 GB, free: 71.19 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03382/3.082, allocations: 11.73 MB / 1.019 GB, free: 66.94 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002154/3.084, allocations: 0.6378 MB / 1.019 GB, free: 66.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002411/3.087, allocations: 77.5 kB / 1.019 GB, free: 66.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007194/3.094, allocations: 382.4 kB / 1.02 GB, free: 66.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001414/3.096, allocations: 215.4 kB / 1.02 GB, free: 66.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005384/3.096, allocations: 90.06 kB / 1.02 GB, free: 66.36 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0111/3.107, allocations: 4.096 MB / 1.024 GB, free: 65.01 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.52e-07/3.107, allocations: 0 / 1.024 GB, free: 65.01 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01259/3.12, allocations: 2.027 MB / 1.026 GB, free: 63.83 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyShape.r_0[1],bodyShape.r_0[2],bodyShape.r_0[3],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.r_0[1],body.r_0[2],body.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],bodyBox.r_0[1],bodyBox.r_0[2],bodyBox.r_0[3],bodyBox.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.r_0[1],bodyCylinder.r_0[2],bodyCylinder.r_0[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.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]) * 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 (233): * Single equations (assignments): 216 * 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.03567/3.156, allocations: 12.59 MB / 1.038 GB, free: 53.09 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.03016/3.186, allocations: 11.28 MB / 1.049 GB, free: 43.08 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/3.186, allocations: 3.844 kB / 1.049 GB, free: 43.08 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01703/3.203, allocations: 5.344 MB / 1.055 GB, free: 38.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01012/3.213, allocations: 0.8245 MB / 1.055 GB, free: 37.64 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6874/3.901, allocations: 213.6 MB / 1.264 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01364/3.914, allocations: 5.405 MB / 1.269 GB, free: 20.15 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01424/3.929, allocations: 2.923 MB / 1.272 GB, free: 20.09 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01167/3.94, allocations: 3.606 MB / 1.276 GB, free: 20.08 MB / 0.5886 GB Notification: Performance of SimCode: time 2.194e-06/3.94, allocations: 0 / 1.276 GB, free: 20.08 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7234/4.664, allocations: 148 MB / 1.42 GB, free: 167.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002647/4.664, allocations: 201.8 kB / 1.42 GB, free: 166.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.419/13.08, allocations: 3.25 kB / 1.42 GB, free: 166.9 MB / 0.5886 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2_res.mat does not exist to compare? outputFormat=mat