Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Joints.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.InitializationConversion.Joints,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_InitializationConversion_Joints",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.009899/0.009899, allocations: 176 kB / 15.12 MB, free: 6.055 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 2.045/2.045, allocations: 194.5 MB / 210.3 MB, free: 7.621 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.002006/0.002005, allocations: 116.6 kB / 255.6 MB, free: 10.24 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.2591/0.2591, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006488/0.0006489, allocations: 14.53 kB / 406.3 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09804/0.09874, allocations: 54.88 MB / 461.1 MB, free: 3.219 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5183/0.6171, allocations: 107.2 MB / 0.555 GB, free: 21.79 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.6174, allocations: 77.27 kB / 0.5551 GB, free: 21.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.544/2.162, allocations: 258.7 MB / 0.8078 GB, free: 58.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.976e-06/2.162, allocations: 0 / 0.8078 GB, free: 58.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.001378/2.163, allocations: 264.3 kB / 0.808 GB, free: 58.06 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3972 * Number of variables: 3972 Notification: Performance of Generate backend data structure: time 0.07543/2.239, allocations: 15.26 MB / 0.8229 GB, free: 52.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/2.239, allocations: 14.03 kB / 0.8229 GB, free: 52.64 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01066/2.25, allocations: 1.999 MB / 0.8249 GB, free: 52.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2156/2.465, allocations: 26.78 MB / 0.851 GB, free: 48.54 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09807/2.563, allocations: 27.23 MB / 0.8776 GB, free: 22.68 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001212/2.565, allocations: 0.8901 MB / 0.8785 GB, free: 21.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007135/2.572, allocations: 1.249 MB / 0.8797 GB, free: 20.65 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09383/2.666, allocations: 27.35 MB / 0.9064 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001541/2.667, allocations: 182.4 kB / 0.9066 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006767/2.674, allocations: 0.5447 MB / 0.9071 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006581/2.681, allocations: 2.418 MB / 0.9095 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5744/3.255, allocations: 22.4 MB / 0.9314 GB, free: 61.76 MB / 0.4948 GB 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.3048/3.56, allocations: 119.7 MB / 1.048 GB, free: 24.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08739/3.647, allocations: 13.34 MB / 1.061 GB, free: 20.53 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/3.649, allocations: 409.2 kB / 1.062 GB, free: 20.22 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001026/3.649, allocations: 95.23 kB / 1.062 GB, free: 20.14 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=550): time 1.089e-05/3.649, allocations: 3.188 kB / 1.062 GB, free: 20.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=734): time 1.392/5.041, allocations: 129.8 MB / 1.189 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002376/5.043, allocations: 2.376 MB / 1.191 GB, free: 103 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02792/5.071, allocations: 9.707 MB / 1.2 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002518/5.074, allocations: 141.1 kB / 1.201 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.00911/5.083, allocations: 8.263 MB / 1.209 GB, free: 96.28 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.005428/5.088, allocations: 2.667 MB / 1.211 GB, free: 94.28 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004062/5.092, allocations: 282.6 kB / 1.211 GB, free: 94.06 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001875/5.094, allocations: 0.9084 MB / 1.212 GB, free: 93.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02385/5.118, allocations: 9.246 MB / 1.221 GB, free: 90.05 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02827/5.147, allocations: 16.13 MB / 1.237 GB, free: 77.6 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03517/5.182, allocations: 12.04 MB / 1.249 GB, free: 72.93 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003393/5.182, allocations: 69.41 kB / 1.249 GB, free: 72.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.2587/5.441, allocations: 45.74 MB / 1.294 GB, free: 44.36 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001594/5.441, allocations: 108 kB / 1.294 GB, free: 44.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.6584/6.1, allocations: 33.72 MB / 1.327 GB, free: 92.34 MB / 0.5417 GB Notification: Tearing is skipped for strong component 3 because system size of 214 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.1226/6.222, allocations: 12 MB / 1.338 GB, free: 92.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02237/6.245, allocations: 3.168 MB / 1.341 GB, free: 92.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05103/6.296, allocations: 17.52 MB / 1.359 GB, free: 89.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02621/6.322, allocations: 1.319 MB / 1.36 GB, free: 89.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005063/6.327, allocations: 0.7726 MB / 1.361 GB, free: 89.73 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1061 * Number of states: 0 () * Number of discrete variables: 108 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],bodyBox8.color[3],bodyBox8.color[2],bodyBox8.color[1],bodyBox8.body.sphereColor[3],bodyBox8.body.sphereColor[2],bodyBox8.body.sphereColor[1],bodyBox7.color[3],bodyBox7.color[2],bodyBox7.color[1],bodyBox7.body.sphereColor[3],bodyBox7.body.sphereColor[2],bodyBox7.body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],bodyBox6.color[3],bodyBox6.color[2],bodyBox6.color[1],bodyBox6.body.sphereColor[3],bodyBox6.body.sphereColor[2],bodyBox6.body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],bodyBox5.color[3],bodyBox5.color[2],bodyBox5.color[1],bodyBox5.body.sphereColor[3],bodyBox5.body.sphereColor[2],bodyBox5.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox4.color[3],bodyBox4.color[2],bodyBox4.color[1],bodyBox4.body.sphereColor[3],bodyBox4.body.sphereColor[2],bodyBox4.body.sphereColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],actuatedPrismatic.boxColor[3],actuatedPrismatic.boxColor[2],actuatedPrismatic.boxColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],actuatedRevolute.cylinderColor[3],actuatedRevolute.cylinderColor[2],actuatedRevolute.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (1573): * Single equations (assignments): 1561 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(3,100.0%),(3,100.0%),(4,100.0%),(214,1.6%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.0204/6.347, allocations: 5.726 MB / 1.366 GB, free: 89.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004722/6.352, allocations: 1.099 MB / 1.367 GB, free: 89.59 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1081/6.46, allocations: 27.27 MB / 1.394 GB, free: 89.04 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.09739/6.558, allocations: 24.56 MB / 1.418 GB, free: 82.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002254/6.558, allocations: 40.88 kB / 1.418 GB, free: 82.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002835/6.558, allocations: 32.86 kB / 1.418 GB, free: 82.6 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1946/6.753, allocations: 56.21 MB / 1.473 GB, free: 52.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001178/6.753, allocations: 4 kB / 1.473 GB, free: 52.26 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01232/6.765, allocations: 1.149 MB / 1.474 GB, free: 51.16 MB / 0.5417 GB Notification: Tearing is skipped for strong component 12 because system size of 211 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.01279/6.778, allocations: 2.118 MB / 1.476 GB, free: 49.05 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002732/6.781, allocations: 156.9 kB / 1.476 GB, free: 48.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01064/6.792, allocations: 4.793 MB / 1.481 GB, free: 44.03 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00194/6.794, allocations: 1.734 MB / 1.483 GB, free: 42.19 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5703/7.364, allocations: 39.08 MB / 1.521 GB, free: 88.05 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01369/7.378, allocations: 2.729 MB / 1.523 GB, free: 87.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006578/7.385, allocations: 137.6 kB / 1.524 GB, free: 87.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01826/7.403, allocations: 0.7433 MB / 1.524 GB, free: 87.95 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005041/7.408, allocations: 0.6481 MB / 1.525 GB, free: 87.95 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002873/7.411, allocations: 191.9 kB / 1.525 GB, free: 87.95 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0261/7.437, allocations: 7.05 MB / 1.532 GB, free: 87.62 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.12e-07/7.437, allocations: 0.625 kB / 1.532 GB, free: 87.62 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02481/7.462, allocations: 3.719 MB / 1.536 GB, free: 87.62 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 40 ($STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],revolute.phi,revolute.w,actuatedRevolute.phi,actuatedRevolute.w,prismatic.s,prismatic.v,actuatedPrismatic.s,actuatedPrismatic.v,cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w,universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w,bodyBox7.body.w_a[1],bodyBox7.body.w_a[2],bodyBox7.body.w_a[3],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 (496): * Single equations (assignments): 487 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(3,100.0%),(211,1.7%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {8} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1372/7.599, allocations: 39.98 MB / 1.575 GB, free: 85.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.09862/7.698, allocations: 26.94 MB / 1.601 GB, free: 78.71 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/7.698, allocations: 2.875 kB / 1.601 GB, free: 78.71 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.06419/7.762, allocations: 14.61 MB / 1.615 GB, free: 74 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01733/7.78, allocations: 1.646 MB / 1.617 GB, free: 73.37 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9931/8.773, allocations: 337.2 MB / 1.946 GB, free: 31.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02503/8.798, allocations: 9.18 MB / 1.955 GB, free: 30.32 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.02799/8.826, allocations: 4.746 MB / 1.96 GB, free: 30.22 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02692/8.853, allocations: 6.821 MB / 1.966 GB, free: 24.54 MB / 0.6355 GB Notification: Performance of SimCode: time 2.836e-06/8.853, allocations: 0 / 1.966 GB, free: 24.54 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.7/10.55, allocations: 295.5 MB / 2.255 GB, free: 131.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002624/10.55, allocations: 225.8 kB / 2.255 GB, free: 131.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.03/25.58, allocations: 0 / 2.255 GB, free: 131.2 MB / 0.6355 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Joints_res.mat does not exist to compare? outputFormat=mat