Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.InitializationConversion.Joints.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Joints,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_InitializationConversion_Joints",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.977/1.977, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000458/0.000458, allocations: 12 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4432/0.4437, allocations: 48.7 MB / 331.3 MB, free: 6.512 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Joints): time 0.6064/1.05, allocations: 152.3 MB / 483.6 MB, free: 224 kB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.09396/1.144, allocations: 33.71 MB / 0.5051 GB, free: 14.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03719/1.181, allocations: 0.7806 MB / 0.5059 GB, free: 14.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02977/1.211, allocations: 7.871 MB / 0.5136 GB, free: 9.391 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.08625/1.298, allocations: 21.71 MB / 0.5348 GB, free: 2.848 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01478/1.312, allocations: 2.314 MB / 0.5371 GB, free: 2.246 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.227/1.539, allocations: 75.98 MB / 0.6113 GB, free: 1.461 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03598/1.575, allocations: 16.28 MB / 0.6272 GB, free: 5.648 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01098/1.587, allocations: 3.87 MB / 0.6309 GB, free: 2.602 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01238/1.599, allocations: 5.271 MB / 0.6361 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.003951/1.603, allocations: 484 kB / 0.6365 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008616/1.612, allocations: 1.874 MB / 0.6384 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.01085/1.623, allocations: 5.632 MB / 0.6439 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.006936/1.63, allocations: 2.665 MB / 0.6465 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.8255/2.455, allocations: 19.41 MB / 0.6654 GB, free: 74.09 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/2.455, allocations: 0.75 kB / 0.6654 GB, free: 74.09 MB / 0.4949 GB Notification: Performance of FrontEnd: time 3.587e-06/2.455, allocations: 0 / 0.6654 GB, free: 74.09 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0009754/2.456, allocations: 0.6875 kB / 0.6654 GB, free: 74.09 MB / 0.4949 GB 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.08432/2.541, allocations: 15.38 MB / 0.6805 GB, free: 68.65 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/2.541, allocations: 8.844 kB / 0.6805 GB, free: 68.65 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00939/2.55, allocations: 1.893 MB / 0.6823 GB, free: 68.51 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.536/4.086, allocations: 61.87 MB / 0.7427 GB, free: 28 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05419/4.14, allocations: 15.83 MB / 0.7582 GB, free: 16.78 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009574/4.141, allocations: 0.7252 MB / 0.7589 GB, free: 16.38 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007137/4.148, allocations: 1.189 MB / 0.7601 GB, free: 15.57 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08709/4.235, allocations: 27.81 MB / 0.7872 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00117/4.237, allocations: 166 kB / 0.7874 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005892/4.243, allocations: 453.3 kB / 0.7878 GB, free: 9.922 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01128/4.254, allocations: 4.179 MB / 0.7919 GB, free: 6.57 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08207/4.336, allocations: 23.04 MB / 0.8144 GB, free: 6.484 MB / 0.5262 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.6458/4.982, allocations: 111.9 MB / 0.9236 GB, free: 179.7 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06356/5.045, allocations: 13.65 MB / 0.937 GB, free: 179 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001267/5.047, allocations: 404.6 kB / 0.9374 GB, free: 178.7 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.503e-05/5.047, allocations: 93.39 kB / 0.9374 GB, free: 178.7 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=552): time 9.889e-06/5.047, allocations: 0 / 0.9374 GB, free: 178.7 MB / 0.5574 GB Notification: Performance of matching and sorting (n=735): time 0.7847/5.832, allocations: 132.8 MB / 1.067 GB, free: 71.57 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002226/5.834, allocations: 2.381 MB / 1.07 GB, free: 68.92 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02854/5.862, allocations: 12.66 MB / 1.082 GB, free: 56.29 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.003154/5.866, allocations: 143.1 kB / 1.082 GB, free: 56.14 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.007361/5.873, allocations: 7.536 MB / 1.089 GB, free: 48.64 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.005508/5.879, allocations: 2.673 MB / 1.092 GB, free: 45.99 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003612/5.882, allocations: 281.4 kB / 1.092 GB, free: 45.72 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.001241/5.884, allocations: 0.9058 MB / 1.093 GB, free: 44.8 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02388/5.907, allocations: 9.51 MB / 1.102 GB, free: 35.29 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02855/5.936, allocations: 16.34 MB / 1.118 GB, free: 15.74 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0299/5.966, allocations: 12.25 MB / 1.13 GB, free: 3.461 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000223/5.966, allocations: 64 kB / 1.13 GB, free: 3.398 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1826) (initialization): time 0.5971/6.563, allocations: 45.33 MB / 1.175 GB, free: 220 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001677/6.564, allocations: 101.8 kB / 1.175 GB, free: 220 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1914/6.755, allocations: 33.93 MB / 1.208 GB, free: 201.3 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1526/6.908, allocations: 21.52 MB / 1.229 GB, free: 179.9 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02162/6.929, allocations: 3.174 MB / 1.232 GB, free: 176.7 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.19/7.119, allocations: 71.71 MB / 1.302 GB, free: 105.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02629/7.146, allocations: 1.341 MB / 1.303 GB, free: 103.8 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004638/7.15, allocations: 0.7624 MB / 1.304 GB, free: 103 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1041 * 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 (1554): * Single equations (assignments): 1542 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(4,100.0%),(3,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,57.8%) 194} * Non-linear torn systems: 2 {4 9,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.02003/7.171, allocations: 5.721 MB / 1.31 GB, free: 97.38 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00569/7.176, allocations: 1.093 MB / 1.311 GB, free: 96.87 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1282/7.305, allocations: 28.24 MB / 1.338 GB, free: 68.61 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1003/7.405, allocations: 25.5 MB / 1.363 GB, free: 43.09 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001784/7.405, allocations: 40 kB / 1.363 GB, free: 43.05 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002323/7.405, allocations: 35.88 kB / 1.363 GB, free: 43.02 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5424/7.948, allocations: 58.19 MB / 1.42 GB, free: 202.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001253/7.948, allocations: 3.875 kB / 1.42 GB, free: 202.1 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01574/7.964, allocations: 1.187 MB / 1.421 GB, free: 202.1 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07825/8.042, allocations: 12.07 MB / 1.433 GB, free: 199.7 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003194/8.045, allocations: 155 kB / 1.433 GB, free: 199.6 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1602/8.206, allocations: 59.68 MB / 1.492 GB, free: 148 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002017/8.208, allocations: 1.77 MB / 1.493 GB, free: 146.2 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1319/8.34, allocations: 40.31 MB / 1.533 GB, free: 106.4 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01184/8.351, allocations: 2.905 MB / 1.535 GB, free: 103.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006576/8.358, allocations: 136 kB / 1.536 GB, free: 103.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01707/8.375, allocations: 0.7676 MB / 1.536 GB, free: 103 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004231/8.379, allocations: 0.5092 MB / 1.537 GB, free: 102.5 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002226/8.382, allocations: 185.4 kB / 1.537 GB, free: 102.3 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.02133/8.403, allocations: 8.393 MB / 1.545 GB, free: 93.98 MB / 0.5574 GB Notification: Performance of sort global known variables: time 9.82e-07/8.403, allocations: 0 / 1.545 GB, free: 93.98 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.02561/8.429, allocations: 4.304 MB / 1.549 GB, free: 89.68 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (497): * Single equations (assignments): 488 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {8} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(18,71.3%) 193} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1354/8.564, allocations: 41.09 MB / 1.59 GB, free: 48.54 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.3755/8.94, allocations: 25.11 MB / 1.614 GB, free: 234.7 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/8.94, allocations: 0 / 1.614 GB, free: 234.7 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.03909/8.979, allocations: 12.55 MB / 1.626 GB, free: 233.3 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01618/8.995, allocations: 1.649 MB / 1.628 GB, free: 232.6 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5361/9.531, allocations: 185.2 MB / 1.809 GB, free: 66.04 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02241/9.554, allocations: 9.308 MB / 1.818 GB, free: 56.69 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01809/9.572, allocations: 6.931 MB / 1.825 GB, free: 49.75 MB / 0.5574 GB Notification: Performance of SimCode: time 1.323e-06/9.572, allocations: 0 / 1.825 GB, free: 49.75 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 9.374/18.95, allocations: 0.6063 GB / 2.431 GB, free: 77.85 MB / 0.5574 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.InitializationConversion.Joints_res.mat does not exist to compare? outputFormat=mat