Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies.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.FreeBodies,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_FreeBodies",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.01486/0.01486, allocations: 165.9 kB / 15.11 MB, free: 6 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.719/1.719, allocations: 170.8 MB / 186.6 MB, free: 1.105 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.002012/0.002012, allocations: 103.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.441/0.441, allocations: 38.05 MB / 303.7 MB, free: 42.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000641/0.0006413, allocations: 15.98 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1091, allocations: 48.7 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4418/0.551, allocations: 92.66 MB / 0.4925 GB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/0.5513, allocations: 80.58 kB / 0.4926 GB, free: 10.95 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/MultiBody.mo:7433:35-7433:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/MultiBody.mo:7434:13-7434:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/MultiBody.mo:7456:35-7456:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/MultiBody.mo:7457:13-7457:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/MultiBody.mo:7478:35-7478:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/MultiBody.mo:7479:13-7479:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/MultiBody.mo:7506:35-7506:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/MultiBody.mo:7507:13-7507:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/MultiBody.mo:7518:35-7518:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/MultiBody.mo:7519:13-7519:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.8924/1.444, allocations: 142.3 MB / 0.6316 GB, free: 69.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.006e-06/1.444, allocations: 0 / 0.6316 GB, free: 69.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007488/1.445, allocations: 153.2 kB / 0.6317 GB, free: 69.2 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: 2525 * Number of variables: 2525 Notification: Performance of Generate backend data structure: time 0.0683/1.513, allocations: 9.286 MB / 0.6408 GB, free: 66.06 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/1.513, allocations: 9.719 kB / 0.6408 GB, free: 66.06 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007281/1.52, allocations: 1.302 MB / 0.642 GB, free: 65.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0588/1.579, allocations: 7.686 MB / 0.6496 GB, free: 65.44 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04116/1.62, allocations: 10.96 MB / 0.6603 GB, free: 64.39 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008074/1.621, allocations: 0.5572 MB / 0.6608 GB, free: 64.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004308/1.626, allocations: 0.7596 MB / 0.6615 GB, free: 64.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06001/1.686, allocations: 17.61 MB / 0.6787 GB, free: 55.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007911/1.686, allocations: 108.8 kB / 0.6788 GB, free: 55.37 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004265/1.691, allocations: 363.6 kB / 0.6792 GB, free: 55.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004136/1.695, allocations: 1.601 MB / 0.6808 GB, free: 54.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04962/1.745, allocations: 14.3 MB / 0.6947 GB, free: 47.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5065/2.251, allocations: 79 MB / 0.7719 GB, free: 46.11 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03533/2.287, allocations: 6.934 MB / 0.7786 GB, free: 45.45 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03658/2.323, allocations: 14.68 MB / 0.793 GB, free: 42.47 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.02e-05/2.323, allocations: 70.66 kB / 0.793 GB, free: 42.43 MB / 458.7 MB Notification: Performance of pre-optimization done (n=259): time 7.634e-06/2.323, allocations: 0 / 0.793 GB, free: 42.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=287): time 0.1321/2.456, allocations: 27.72 MB / 0.8201 GB, free: 36.38 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00659/2.462, allocations: 6.312 MB / 0.8263 GB, free: 30.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01605/2.478, allocations: 5.841 MB / 0.832 GB, free: 30.07 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009475/2.479, allocations: 70.59 kB / 0.832 GB, free: 30.04 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005213/2.485, allocations: 5.282 MB / 0.8372 GB, free: 26.16 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002377/2.487, allocations: 1.178 MB / 0.8384 GB, free: 25.32 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001916/2.489, allocations: 195.4 kB / 0.8385 GB, free: 25.17 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.00114/2.49, allocations: 0.7227 MB / 0.8392 GB, free: 24.68 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01078/2.501, allocations: 3.901 MB / 0.8431 GB, free: 23.39 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01547/2.516, allocations: 9.689 MB / 0.8525 GB, free: 14.34 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01481/2.531, allocations: 5.943 MB / 0.8583 GB, free: 12.32 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002385/2.532, allocations: 57.5 kB / 0.8584 GB, free: 12.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.04878/2.58, allocations: 15.37 MB / 0.8734 GB, free: 7.387 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001758/2.581, allocations: 92.66 kB / 0.8735 GB, free: 7.387 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02403/2.605, allocations: 6.763 MB / 0.8801 GB, free: 5.207 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01668/2.621, allocations: 2.844 MB / 0.8829 GB, free: 3.211 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0163/2.638, allocations: 2.357 MB / 0.8852 GB, free: 1.188 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01773/2.656, allocations: 11.39 MB / 0.8963 GB, free: 5.961 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01501/2.671, allocations: 0.8707 MB / 0.8971 GB, free: 5.312 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003322/2.674, allocations: 0.5897 MB / 0.8977 GB, free: 4.75 MB / 474.7 MB 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 (1204): * Single equations (assignments): 1179 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 11 * Torn equation systems: 3 * 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: 3 {1,1,1} * 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: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.0123/2.686, allocations: 3.416 MB / 0.901 GB, free: 1.746 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002293/2.689, allocations: 0.5823 MB / 0.9016 GB, free: 1.156 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03991/2.729, allocations: 8.082 MB / 0.9095 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02677/2.755, allocations: 6.757 MB / 0.9161 GB, free: 7.125 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.255e-05/2.756, allocations: 4 kB / 0.9161 GB, free: 7.121 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.192e-05/2.756, allocations: 14.73 kB / 0.9161 GB, free: 7.117 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02404/2.78, allocations: 7.431 MB / 0.9234 GB, free: 1.062 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.274e-05/2.78, allocations: 3.984 kB / 0.9234 GB, free: 1.059 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0066/2.786, allocations: 0.5968 MB / 0.924 GB, free: 472 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01835/2.805, allocations: 3.136 MB / 0.927 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001122/2.806, allocations: 91.91 kB / 0.9271 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02728/2.833, allocations: 14.31 MB / 0.9411 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006708/2.84, allocations: 6.07 MB / 0.947 GB, free: 7.492 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4221/3.262, allocations: 11.73 MB / 0.9585 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006593/3.269, allocations: 1.134 MB / 0.9596 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003044/3.272, allocations: 82.44 kB / 0.9597 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008122/3.28, allocations: 372.6 kB / 0.96 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001637/3.282, allocations: 220 kB / 0.9602 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009348/3.283, allocations: 91.12 kB / 0.9603 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01348/3.296, allocations: 4.089 MB / 0.9643 GB, free: 139.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.81e-07/3.296, allocations: 0 / 0.9643 GB, free: 139.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01522/3.312, allocations: 2.004 MB / 0.9663 GB, free: 139.4 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.0385/3.35, allocations: 12.59 MB / 0.9785 GB, free: 138.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0336/3.384, allocations: 10.81 MB / 0.9891 GB, free: 136.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/3.384, allocations: 0 / 0.9891 GB, free: 136.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01828/3.402, allocations: 5.333 MB / 0.9943 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008413/3.411, allocations: 0.8285 MB / 0.9951 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6411/4.052, allocations: 212.6 MB / 1.203 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01646/4.068, allocations: 5.401 MB / 1.208 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0149/4.083, allocations: 2.932 MB / 1.211 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008875/4.092, allocations: 3.612 MB / 1.214 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.222e-06/4.092, allocations: 0 / 1.214 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7178/4.81, allocations: 144.1 MB / 1.355 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000242/4.81, allocations: 195.7 kB / 1.355 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.411/13.22, allocations: 0 / 1.355 GB, free: 136.8 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies_res.mat does not exist to compare? outputFormat=mat