Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Joints.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.InitializationConversion.Joints,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.009923/0.009923, allocations: 165.6 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.712/1.712, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.001998/0.001998, allocations: 115.3 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.4655/0.4655, allocations: 38.05 MB / 303.7 MB, free: 42.3 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004918/0.0004918, allocations: 12 kB / 363 MB, free: 5.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.107, allocations: 48.7 MB / 411.7 MB, free: 4.738 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4638/0.5708, allocations: 100.4 MB / 0.5 GB, free: 3.707 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003351/0.5712, allocations: 74.09 kB / 0.5001 GB, free: 3.668 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174/2.745, allocations: 258.2 MB / 0.7523 GB, free: 20.72 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.976e-06/2.746, allocations: 2.188 kB / 0.7523 GB, free: 20.72 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.001397/2.747, allocations: 267.1 kB / 0.7525 GB, free: 20.72 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3966 * Number of variables: 3966 Notification: Performance of Generate backend data structure: time 0.07817/2.825, allocations: 15.26 MB / 0.7674 GB, free: 16.48 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/2.825, allocations: 9 kB / 0.7674 GB, free: 16.48 MB / 426.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01061/2.836, allocations: 1.994 MB / 0.7694 GB, free: 16.35 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1962/3.032, allocations: 26.77 MB / 0.7955 GB, free: 15.46 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09925/3.131, allocations: 27.22 MB / 0.8221 GB, free: 13.59 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001303/3.133, allocations: 0.8885 MB / 0.823 GB, free: 13.56 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007293/3.14, allocations: 1.231 MB / 0.8242 GB, free: 13.53 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.112/3.252, allocations: 27.34 MB / 0.8509 GB, free: 8.031 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001218/3.253, allocations: 176.2 kB / 0.851 GB, free: 8.004 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00571/3.259, allocations: 0.5386 MB / 0.8516 GB, free: 8.004 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005586/3.265, allocations: 2.425 MB / 0.8539 GB, free: 7.688 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08309/3.348, allocations: 22.54 MB / 0.8759 GB, free: 8.762 MB / 442.8 MB 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.6319/3.98, allocations: 120 MB / 0.9931 GB, free: 22.55 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0637/4.044, allocations: 13.34 MB / 1.006 GB, free: 21.85 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001208/4.045, allocations: 409 kB / 1.007 GB, free: 21.56 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.119e-05/4.045, allocations: 93.22 kB / 1.007 GB, free: 21.52 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=550): time 1.057e-05/4.045, allocations: 0 / 1.007 GB, free: 21.52 MB / 0.4949 GB Notification: Performance of matching and sorting (n=734): time 1.179/5.224, allocations: 129.5 MB / 1.133 GB, free: 88.96 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002275/5.226, allocations: 2.379 MB / 1.135 GB, free: 86.85 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0282/5.254, allocations: 9.704 MB / 1.145 GB, free: 86.13 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.002589/5.257, allocations: 138.2 kB / 1.145 GB, free: 86.1 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.009465/5.266, allocations: 8.249 MB / 1.153 GB, free: 82.7 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.005585/5.272, allocations: 2.678 MB / 1.156 GB, free: 81.09 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004245/5.276, allocations: 282.4 kB / 1.156 GB, free: 81.09 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001651/5.278, allocations: 0.9029 MB / 1.157 GB, free: 80.75 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02742/5.306, allocations: 9.239 MB / 1.166 GB, free: 80.72 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03522/5.341, allocations: 16.12 MB / 1.182 GB, free: 72.1 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04265/5.384, allocations: 12.01 MB / 1.193 GB, free: 69.5 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000385/5.384, allocations: 65.69 kB / 1.193 GB, free: 69.5 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.289/5.673, allocations: 45.06 MB / 1.237 GB, free: 57.9 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002423/5.673, allocations: 107.3 kB / 1.237 GB, free: 57.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.184/5.857, allocations: 32.98 MB / 1.27 GB, free: 38.08 MB / 0.4949 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.1219/5.979, allocations: 11.19 MB / 1.281 GB, free: 30.85 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02277/6.002, allocations: 3.166 MB / 1.284 GB, free: 27.68 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4632/6.465, allocations: 16.55 MB / 1.3 GB, free: 76.91 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02676/6.492, allocations: 1.307 MB / 1.301 GB, free: 76.91 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005184/6.497, allocations: 0.7755 MB / 1.302 GB, free: 76.91 MB / 0.4949 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): 5 * Torn equation systems: 2 * 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: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 9,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.02062/6.518, allocations: 5.736 MB / 1.307 GB, free: 76.78 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004343/6.522, allocations: 1.096 MB / 1.309 GB, free: 76.78 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1045/6.627, allocations: 27.26 MB / 1.335 GB, free: 76.25 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.09847/6.725, allocations: 24.57 MB / 1.359 GB, free: 73.38 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001812/6.726, allocations: 41.31 kB / 1.359 GB, free: 73.38 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002282/6.726, allocations: 36.02 kB / 1.359 GB, free: 73.38 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2245/6.95, allocations: 56.18 MB / 1.414 GB, free: 52.46 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001101/6.951, allocations: 3.906 kB / 1.414 GB, free: 52.46 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.012/6.963, allocations: 1.154 MB / 1.415 GB, free: 52.17 MB / 0.4949 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.01242/6.975, allocations: 2.112 MB / 1.417 GB, free: 50.89 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002638/6.978, allocations: 157.3 kB / 1.417 GB, free: 50.76 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01026/6.988, allocations: 4.798 MB / 1.422 GB, free: 46.84 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001804/6.99, allocations: 1.726 MB / 1.424 GB, free: 45.1 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1454/7.135, allocations: 39.07 MB / 1.462 GB, free: 13.38 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01457/7.15, allocations: 2.741 MB / 1.465 GB, free: 10.91 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005992/7.156, allocations: 136 kB / 1.465 GB, free: 10.78 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01707/7.173, allocations: 0.7438 MB / 1.465 GB, free: 10.04 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005547/7.179, allocations: 0.6502 MB / 1.466 GB, free: 9.387 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002743/7.182, allocations: 190.5 kB / 1.466 GB, free: 9.203 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.4292/7.611, allocations: 7.051 MB / 1.473 GB, free: 76.73 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.012e-06/7.611, allocations: 0 / 1.473 GB, free: 76.73 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.02368/7.635, allocations: 3.705 MB / 1.477 GB, free: 76.73 MB / 0.4949 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.1475/7.782, allocations: 39.98 MB / 1.516 GB, free: 75.01 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.1151/7.897, allocations: 26.91 MB / 1.542 GB, free: 71.66 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/7.897, allocations: 3.656 kB / 1.542 GB, free: 71.66 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.05954/7.957, allocations: 14.61 MB / 1.556 GB, free: 66.95 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01676/7.974, allocations: 1.642 MB / 1.558 GB, free: 66.33 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.211/9.184, allocations: 336.4 MB / 1.887 GB, free: 13.68 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02561/9.21, allocations: 9.174 MB / 1.896 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.02384/9.234, allocations: 4.739 MB / 1.9 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01868/9.253, allocations: 6.816 MB / 1.907 GB, free: 6.648 MB / 0.6043 GB Notification: Performance of SimCode: time 1.823e-06/9.253, allocations: 3.969 kB / 1.907 GB, free: 6.648 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.617/10.87, allocations: 293.9 MB / 2.194 GB, free: 168.6 MB / 0.6043 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002428/10.87, allocations: 236.8 kB / 2.194 GB, free: 168.3 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.93/25.8, allocations: 0 / 2.194 GB, free: 168.3 MB / 0.6043 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Joints_res.mat does not exist to compare? outputFormat=mat