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.Bodies.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Bodies,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_InitializationConversion_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.426/2.426, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.048e-05/2.046e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3388, allocations: 54.84 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1734/0.5123, allocations: 94.62 MB / 452.7 MB, free: 184 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.5126, allocations: 71.97 kB / 452.8 MB, free: 112 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8743/1.387, allocations: 100.8 MB / 0.5406 GB, free: 27.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.563e-06/1.387, allocations: 0 / 0.5406 GB, free: 27.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003821/1.387, allocations: 91.98 kB / 0.5407 GB, free: 27.18 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1495 * Number of variables: 1495 Notification: Performance of Generate backend data structure: time 0.05551/1.443, allocations: 6.372 MB / 0.547 GB, free: 20.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/1.443, allocations: 8.031 kB / 0.547 GB, free: 20.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05504/1.498, allocations: 7.361 MB / 0.5542 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06613/1.564, allocations: 18.23 MB / 0.572 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003173/1.565, allocations: 136 kB / 0.5721 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002478/1.567, allocations: 271.6 kB / 0.5723 GB, free: 10.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01708/1.584, allocations: 6.197 MB / 0.5784 GB, free: 4.418 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02573/1.61, allocations: 9.531 MB / 0.5877 GB, free: 9.801 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003779/1.61, allocations: 83.3 kB / 0.5878 GB, free: 9.719 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001726/1.612, allocations: 32 kB / 0.5878 GB, free: 9.688 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002933/1.615, allocations: 1.046 MB / 0.5888 GB, free: 8.633 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.4501/2.065, allocations: 49.29 MB / 0.637 GB, free: 70.16 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006308/2.072, allocations: 3.185 MB / 0.6401 GB, free: 69.41 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003479/2.075, allocations: 1.908 MB / 0.6419 GB, free: 69.34 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002206/2.075, allocations: 17.92 kB / 0.642 GB, free: 69.34 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.583e-05/2.075, allocations: 66.95 kB / 0.642 GB, free: 69.3 MB / 458.7 MB Notification: Performance of pre-optimization done (n=188): time 6.412e-06/2.075, allocations: 0 / 0.642 GB, free: 69.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=216): time 0.06502/2.14, allocations: 18.82 MB / 0.6604 GB, free: 63.46 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/2.141, allocations: 337 kB / 0.6607 GB, free: 63.08 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008152/2.149, allocations: 3.973 MB / 0.6646 GB, free: 62.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006414/2.149, allocations: 28.95 kB / 0.6646 GB, free: 62.66 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002856/2.152, allocations: 3.425 MB / 0.668 GB, free: 60.97 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001532/2.154, allocations: 0.8865 MB / 0.6688 GB, free: 60.46 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008077/2.155, allocations: 0 / 0.6688 GB, free: 60.46 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004448/2.155, allocations: 0.6281 MB / 0.6694 GB, free: 60.14 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00606/2.161, allocations: 2.909 MB / 0.6723 GB, free: 60.12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009181/2.171, allocations: 7.323 MB / 0.6794 GB, free: 54.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009466/2.18, allocations: 4.513 MB / 0.6838 GB, free: 53.21 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001894/2.18, allocations: 46.66 kB / 0.6839 GB, free: 53.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=970) (initialization): time 0.08046/2.261, allocations: 14.56 MB / 0.6981 GB, free: 50.21 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001273/2.261, allocations: 75.91 kB / 0.6982 GB, free: 50.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06296/2.324, allocations: 8.807 MB / 0.7068 GB, free: 46.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.06955/2.394, allocations: 6.669 MB / 0.7133 GB, free: 42.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01023/2.404, allocations: 1.731 MB / 0.715 GB, free: 40.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03274/2.437, allocations: 15.22 MB / 0.7299 GB, free: 27.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01242/2.449, allocations: 0.6519 MB / 0.7305 GB, free: 26.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001926/2.451, allocations: 465.1 kB / 0.7309 GB, free: 26.29 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 718 * Number of states: 0 () * Number of discrete variables: 36 (body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],body1.frameTranslation.color[3],body1.frameTranslation.color[2],body1.frameTranslation.color[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (894): * Single equations (assignments): 869 * Array equations: 11 * 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%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,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 prepare postOptimizeDAE: time 0.002491/2.454, allocations: 0.5001 MB / 0.7314 GB, free: 25.79 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02834/2.482, allocations: 6.692 MB / 0.738 GB, free: 19.87 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001712/2.484, allocations: 422.6 kB / 0.7384 GB, free: 19.45 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/2.486, allocations: 0.573 MB / 0.7389 GB, free: 18.87 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02587/2.512, allocations: 5.873 MB / 0.7447 GB, free: 12.97 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.878e-05/2.512, allocations: 8 kB / 0.7447 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.236e-05/2.512, allocations: 11.97 kB / 0.7447 GB, free: 12.95 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03027/2.542, allocations: 9.857 MB / 0.7543 GB, free: 3.023 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.384e-05/2.542, allocations: 0 / 0.7543 GB, free: 3.023 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004395/2.547, allocations: 447.3 kB / 0.7547 GB, free: 2.586 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02359/2.57, allocations: 3.541 MB / 0.7582 GB, free: 15.04 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007638/2.571, allocations: 59.91 kB / 0.7582 GB, free: 14.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02322/2.594, allocations: 13.39 MB / 0.7713 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005227/2.6, allocations: 5.614 MB / 0.7768 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03649/2.636, allocations: 10.46 MB / 0.787 GB, free: 200 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00193/2.638, allocations: 0.4993 MB / 0.7875 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001634/2.64, allocations: 39.95 kB / 0.7875 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006325/2.646, allocations: 311.4 kB / 0.7878 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00115/2.647, allocations: 187.6 kB / 0.788 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003499/2.648, allocations: 73.73 kB / 0.7881 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007317/2.655, allocations: 2.703 MB / 0.7907 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.11e-07/2.655, allocations: 0 / 0.7907 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01104/2.666, allocations: 1.548 MB / 0.7922 GB, free: 10.84 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 54 ($STATESET140611505463691.x[3],$STATESET140611505463691.x[2],$STATESET140611505463691.x[1],body3.v_0[1],body3.v_0[2],body3.v_0[3],body3.body.frame_a.r_0[1],body3.body.frame_a.r_0[2],body3.body.frame_a.r_0[3],body3.body.w_a[1],body3.body.w_a[2],body3.body.w_a[3],$STATESET140611505463690.x[3],$STATESET140611505463690.x[2],$STATESET140611505463690.x[1],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.body.frame_a.r_0[1],body2.body.frame_a.r_0[2],body2.body.frame_a.r_0[3],body2.body.w_a[1],body2.body.w_a[2],body2.body.w_a[3],$STATESET140611505463689.x[3],$STATESET140611505463689.x[2],$STATESET140611505463689.x[1],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.body.frame_a.r_0[1],body1.body.frame_a.r_0[2],body1.body.frame_a.r_0[3],body1.body.w_a[1],body1.body.w_a[2],body1.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],$STATESET140611505463688.x[3],$STATESET140611505463688.x[2],$STATESET140611505463688.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 139 * 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.03794/2.704, allocations: 11.78 MB / 0.8037 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02614/2.73, allocations: 8.806 MB / 0.8123 GB, free: 5.891 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/2.73, allocations: 0 / 0.8123 GB, free: 5.891 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01529/2.746, allocations: 4.55 MB / 0.8168 GB, free: 1.098 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005832/2.752, allocations: 0.5574 MB / 0.8173 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3624/3.114, allocations: 14.29 MB / 0.8313 GB, free: 150.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008365/3.123, allocations: 3.796 MB / 0.835 GB, free: 149.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005591/3.128, allocations: 2.327 MB / 0.8373 GB, free: 149.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.693e-06/3.128, allocations: 0 / 0.8373 GB, free: 149.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.106/10.23, allocations: 365.4 MB / 1.194 GB, free: 143.6 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.InitializationConversion.Bodies_res.mat does not exist to compare? outputFormat=mat