Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.InitializationConversion.Joints.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Joints,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_InitializationConversion_Joints",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.554/2.554, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005115/0.0005119, allocations: 19.98 kB / 314.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3875, allocations: 54.86 MB / 369.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Joints): time 0.6071/0.9946, allocations: 152.3 MB / 0.5094 GB, free: 216 kB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.08933/1.084, allocations: 33.75 MB / 0.5423 GB, free: 14.57 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03622/1.12, allocations: 0.78 MB / 0.5431 GB, free: 14.44 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.03016/1.15, allocations: 7.872 MB / 0.5508 GB, free: 9.684 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.08672/1.237, allocations: 21.7 MB / 0.572 GB, free: 3.145 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01512/1.252, allocations: 2.312 MB / 0.5742 GB, free: 2.539 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.2296/1.482, allocations: 76.01 MB / 0.6485 GB, free: 2.453 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03656/1.519, allocations: 16.29 MB / 0.6644 GB, free: 6.621 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01102/1.53, allocations: 3.876 MB / 0.6682 GB, free: 3.574 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01251/1.542, allocations: 5.278 MB / 0.6733 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.003855/1.546, allocations: 492 kB / 0.6738 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009056/1.555, allocations: 1.891 MB / 0.6756 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.01087/1.566, allocations: 5.628 MB / 0.6811 GB, free: 8.516 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.006662/1.573, allocations: 2.666 MB / 0.6837 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.03282/1.606, allocations: 19.45 MB / 0.7027 GB, free: 5.637 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/1.606, allocations: 5.422 kB / 0.7027 GB, free: 5.633 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.725e-06/1.606, allocations: 4 kB / 0.7027 GB, free: 5.629 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0008117/1.607, allocations: 0 / 0.7027 GB, free: 5.629 MB / 0.5417 GB 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.7466/2.353, allocations: 15.37 MB / 0.7177 GB, free: 232.2 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/2.353, allocations: 11.66 kB / 0.7178 GB, free: 232.2 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00758/2.361, allocations: 1.895 MB / 0.7196 GB, free: 230.9 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.592/3.953, allocations: 61.89 MB / 0.78 GB, free: 171.1 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05276/4.006, allocations: 15.85 MB / 0.7955 GB, free: 155.4 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009159/4.006, allocations: 0.725 MB / 0.7962 GB, free: 154.7 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006579/4.013, allocations: 1.2 MB / 0.7974 GB, free: 153.6 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08112/4.094, allocations: 27.83 MB / 0.8246 GB, free: 124.3 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009339/4.095, allocations: 162.6 kB / 0.8247 GB, free: 124.2 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004854/4.1, allocations: 463.5 kB / 0.8252 GB, free: 123.8 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009084/4.109, allocations: 4.181 MB / 0.8293 GB, free: 119.6 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09671/4.206, allocations: 23.06 MB / 0.8518 GB, free: 96.58 MB / 0.5418 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.709/4.915, allocations: 112 MB / 0.9611 GB, free: 153.2 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0801/4.995, allocations: 13.64 MB / 0.9744 GB, free: 152.5 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00134/4.997, allocations: 407.5 kB / 0.9748 GB, free: 152.2 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.446e-05/4.997, allocations: 93.92 kB / 0.9749 GB, free: 152.1 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=552): time 9.798e-06/4.997, allocations: 0 / 0.9749 GB, free: 152.1 MB / 0.5418 GB Notification: Performance of matching and sorting (n=735): time 0.7501/5.747, allocations: 132.9 MB / 1.105 GB, free: 37.63 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002328/5.749, allocations: 2.384 MB / 1.107 GB, free: 34.96 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02561/5.775, allocations: 12.66 MB / 1.119 GB, free: 22.34 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.002752/5.778, allocations: 140 kB / 1.119 GB, free: 22.2 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.00677/5.785, allocations: 7.538 MB / 1.127 GB, free: 14.7 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.005134/5.79, allocations: 2.671 MB / 1.129 GB, free: 12.05 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002382/5.792, allocations: 280 kB / 1.13 GB, free: 11.77 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0008255/5.793, allocations: 0.9135 MB / 1.131 GB, free: 10.85 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02259/5.816, allocations: 9.541 MB / 1.14 GB, free: 1.305 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.384/6.2, allocations: 16.34 MB / 1.156 GB, free: 200.9 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02983/6.23, allocations: 12.28 MB / 1.168 GB, free: 198.5 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002652/6.23, allocations: 66.88 kB / 1.168 GB, free: 198.5 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1826) (initialization): time 0.2269/6.457, allocations: 46.23 MB / 1.213 GB, free: 181.7 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001732/6.457, allocations: 104 kB / 1.213 GB, free: 181.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1773/6.634, allocations: 34.84 MB / 1.247 GB, free: 146.7 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1655/6.8, allocations: 22.5 MB / 1.269 GB, free: 124.2 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02095/6.821, allocations: 3.174 MB / 1.272 GB, free: 121.1 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1851/7.006, allocations: 73.46 MB / 1.344 GB, free: 47.7 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02491/7.031, allocations: 1.353 MB / 1.345 GB, free: 46.38 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004131/7.035, allocations: 0.7693 MB / 1.346 GB, free: 45.61 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): 5 * Torn equation systems: 2 * 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: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,57.8%) 194} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.01625/7.051, allocations: 5.718 MB / 1.352 GB, free: 39.97 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004413/7.056, allocations: 1.091 MB / 1.353 GB, free: 39.46 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4559/7.512, allocations: 28.27 MB / 1.38 GB, free: 191.7 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1005/7.612, allocations: 25.5 MB / 1.405 GB, free: 183.3 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001213/7.613, allocations: 42.7 kB / 1.405 GB, free: 183.3 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001669/7.613, allocations: 32.59 kB / 1.405 GB, free: 183.3 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1736/7.786, allocations: 58.21 MB / 1.462 GB, free: 129.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001001/7.786, allocations: 0 / 1.462 GB, free: 129.1 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0117/7.798, allocations: 1.182 MB / 1.463 GB, free: 127.9 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06389/7.862, allocations: 12.07 MB / 1.475 GB, free: 116 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002586/7.865, allocations: 151.8 kB / 1.475 GB, free: 115.8 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1416/8.006, allocations: 59.68 MB / 1.534 GB, free: 56.35 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001967/8.008, allocations: 1.769 MB / 1.535 GB, free: 54.46 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4826/8.491, allocations: 40.32 MB / 1.575 GB, free: 180.3 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01575/8.507, allocations: 2.902 MB / 1.577 GB, free: 179.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007807/8.515, allocations: 131 kB / 1.578 GB, free: 179.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02335/8.538, allocations: 0.7736 MB / 1.578 GB, free: 179.7 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00628/8.544, allocations: 0.5 MB / 1.579 GB, free: 179.6 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003628/8.548, allocations: 184.5 kB / 1.579 GB, free: 179.5 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.03326/8.582, allocations: 8.397 MB / 1.587 GB, free: 176.8 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.383e-06/8.582, allocations: 3.844 kB / 1.587 GB, free: 176.8 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.03429/8.616, allocations: 4.313 MB / 1.591 GB, free: 176.5 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.1853/8.801, allocations: 41.1 MB / 1.632 GB, free: 154.9 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.1193/8.921, allocations: 25.16 MB / 1.656 GB, free: 133.1 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/8.921, allocations: 2.031 kB / 1.656 GB, free: 133.1 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.04423/8.965, allocations: 12.56 MB / 1.668 GB, free: 120.9 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01856/8.983, allocations: 1.652 MB / 1.67 GB, free: 119.3 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.022/10.01, allocations: 186.2 MB / 1.852 GB, free: 160 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02192/10.03, allocations: 9.311 MB / 1.861 GB, free: 150.7 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01872/10.05, allocations: 6.936 MB / 1.868 GB, free: 143.7 MB / 0.5574 GB Notification: Performance of SimCode: time 1.823e-06/10.05, allocations: 0 / 1.868 GB, free: 143.7 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 10.48/20.53, allocations: 0.6076 GB / 2.475 GB, free: 108.3 MB / 0.5574 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.InitializationConversion.Joints_res.mat does not exist to compare? outputFormat=mat