Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.FreeBodies2.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.Parts.FreeBodies2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Parts_FreeBodies2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.211/2.211, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.255e-05/2.255e-05, allocations: 0 / 303.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3334, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1706/0.504, allocations: 98.61 MB / 456.7 MB, free: 12.1 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/0.5044, allocations: 75.95 kB / 456.8 MB, free: 12.03 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8301/1.335, allocations: 139.1 MB / 0.582 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.134e-06/1.335, allocations: 0 / 0.582 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000625/1.335, allocations: 163.9 kB / 0.5821 GB, free: 0.668 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2525 * Number of variables: 2525 Notification: Performance of Generate backend data structure: time 0.06453/1.4, allocations: 8.671 MB / 0.5906 GB, free: 7.922 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/1.4, allocations: 8.031 kB / 0.5906 GB, free: 7.914 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06154/1.461, allocations: 7.744 MB / 0.5982 GB, free: 152 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04403/1.505, allocations: 10.95 MB / 0.6089 GB, free: 5.113 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000577/1.506, allocations: 244 kB / 0.6091 GB, free: 4.875 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003885/1.51, allocations: 447.8 kB / 0.6095 GB, free: 4.438 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03009/1.54, allocations: 10.05 MB / 0.6193 GB, free: 10.39 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7344/2.275, allocations: 15.12 MB / 0.6341 GB, free: 61.7 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009216/2.276, allocations: 101.6 kB / 0.6342 GB, free: 61.7 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004064/2.28, allocations: 46.66 kB / 0.6342 GB, free: 61.7 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005833/2.286, allocations: 1.603 MB / 0.6358 GB, free: 61.69 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1195/2.405, allocations: 77.62 MB / 0.7116 GB, free: 16.73 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008323/2.414, allocations: 4.359 MB / 0.7159 GB, free: 16.05 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005548/2.419, allocations: 3.037 MB / 0.7188 GB, free: 14.83 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002945/2.419, allocations: 53.39 kB / 0.7189 GB, free: 14.82 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.376e-05/2.42, allocations: 65.19 kB / 0.7189 GB, free: 14.77 MB / 458.8 MB Notification: Performance of pre-optimization done (n=265): time 6.843e-06/2.42, allocations: 0 / 0.7189 GB, free: 14.77 MB / 458.8 MB Notification: Performance of matching and sorting (n=293): time 0.07811/2.498, allocations: 21.59 MB / 0.74 GB, free: 6.648 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/2.498, allocations: 244.7 kB / 0.7403 GB, free: 6.395 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01214/2.51, allocations: 5.141 MB / 0.7453 GB, free: 4.527 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009687/2.511, allocations: 28.98 kB / 0.7453 GB, free: 4.496 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004566/2.516, allocations: 5.131 MB / 0.7503 GB, free: 460 kB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0024/2.518, allocations: 1.17 MB / 0.7515 GB, free: 15.59 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001379/2.52, allocations: 0 / 0.7515 GB, free: 15.59 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0009883/2.521, allocations: 0.7355 MB / 0.7522 GB, free: 15.09 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009697/2.53, allocations: 3.696 MB / 0.7558 GB, free: 13.77 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01554/2.546, allocations: 9.564 MB / 0.7651 GB, free: 4.461 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01392/2.56, allocations: 5.807 MB / 0.7708 GB, free: 2.301 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002255/2.56, allocations: 63 kB / 0.7709 GB, free: 2.301 MB / 474.8 MB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.0592/2.619, allocations: 14.8 MB / 0.7853 GB, free: 9.121 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002044/2.62, allocations: 92.97 kB / 0.7854 GB, free: 9.031 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03529/2.655, allocations: 7.492 MB / 0.7927 GB, free: 3.168 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03036/2.685, allocations: 3.851 MB / 0.7965 GB, free: 0.5977 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01571/2.701, allocations: 2.364 MB / 0.7988 GB, free: 14.58 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02513/2.726, allocations: 13.11 MB / 0.8116 GB, free: 2.27 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01475/2.741, allocations: 0.6799 MB / 0.8123 GB, free: 1.812 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002924/2.744, allocations: 0.604 MB / 0.8128 GB, free: 1.234 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 957 * Number of states: 0 () * Number of discrete variables: 75 (spring6.color[3],spring6.color[2],spring6.color[1],spring6.massColor[3],spring6.massColor[2],spring6.massColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],spring5.color[3],spring5.color[2],spring5.color[1],spring5.massColor[3],spring5.massColor[2],spring5.massColor[1],spring4.color[3],spring4.color[2],spring4.color[1],spring4.massColor[3],spring4.massColor[2],spring4.massColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (1225): * Single equations (assignments): 1200 * 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 {(4,100.0%),(3,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.003902/2.748, allocations: 0.6486 MB / 0.8135 GB, free: 0.5898 MB / 0.4949 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.3914/3.139, allocations: 7.909 MB / 0.8212 GB, free: 105.5 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002199/3.142, allocations: 0.5547 MB / 0.8217 GB, free: 105.5 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02529/3.167, allocations: 7.313 MB / 0.8289 GB, free: 105.2 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02241/3.189, allocations: 6.555 MB / 0.8353 GB, free: 105 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.458e-05/3.19, allocations: 8.812 kB / 0.8353 GB, free: 105 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001096/3.19, allocations: 14.25 kB / 0.8353 GB, free: 105 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03156/3.221, allocations: 11.01 MB / 0.8461 GB, free: 104.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-05/3.221, allocations: 3.922 kB / 0.8461 GB, free: 104.4 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0064/3.228, allocations: 0.6059 MB / 0.8467 GB, free: 104.4 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01657/3.244, allocations: 3.069 MB / 0.8496 GB, free: 104.3 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009061/3.245, allocations: 62.31 kB / 0.8497 GB, free: 104.3 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02089/3.266, allocations: 13.75 MB / 0.8631 GB, free: 96.95 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004221/3.271, allocations: 5.789 MB / 0.8688 GB, free: 91.76 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03222/3.303, allocations: 11.51 MB / 0.88 GB, free: 90.96 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002194/3.305, allocations: 0.5998 MB / 0.8806 GB, free: 90.72 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002371/3.307, allocations: 44.19 kB / 0.8807 GB, free: 90.72 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007109/3.315, allocations: 331.9 kB / 0.881 GB, free: 90.72 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001437/3.316, allocations: 220.1 kB / 0.8812 GB, free: 90.71 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000433/3.317, allocations: 94.22 kB / 0.8813 GB, free: 90.71 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.009163/3.326, allocations: 3.443 MB / 0.8846 GB, free: 89.51 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7.82e-07/3.326, allocations: 0 / 0.8846 GB, free: 89.51 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0134/3.339, allocations: 1.887 MB / 0.8865 GB, free: 89.51 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 54 ($STATESET139870751506827.x[3],$STATESET139870751506827.x[2],$STATESET139870751506827.x[1],$STATESET139870751506826.x[3],$STATESET139870751506826.x[2],$STATESET139870751506826.x[1],$STATESET139870751506825.x[3],$STATESET139870751506825.x[2],$STATESET139870751506825.x[1],$STATESET139870751506824.x[3],$STATESET139870751506824.x[2],$STATESET139870751506824.x[1],bodyShape.r_0[1],bodyShape.r_0[2],bodyShape.r_0[3],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.r_0[1],body.r_0[2],body.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],bodyBox.r_0[1],bodyBox.r_0[2],bodyBox.r_0[3],bodyBox.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.r_0[1],bodyCylinder.r_0[2],bodyCylinder.r_0[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (239): * Single equations (assignments): 222 * 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.03377/3.373, allocations: 12.33 MB / 0.8985 GB, free: 84.54 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.027/3.4, allocations: 10.71 MB / 0.909 GB, free: 79.81 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/3.4, allocations: 3.656 kB / 0.909 GB, free: 79.81 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.01592/3.416, allocations: 5.232 MB / 0.9141 GB, free: 75.17 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006916/3.423, allocations: 0.6971 MB / 0.9148 GB, free: 74.6 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06114/3.484, allocations: 19.51 MB / 0.9338 GB, free: 58.36 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01329/3.498, allocations: 5.409 MB / 0.9391 GB, free: 54.4 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009144/3.507, allocations: 3.647 MB / 0.9427 GB, free: 51.04 MB / 0.4949 GB Notification: Performance of SimCode: time 1.873e-06/3.507, allocations: 0 / 0.9427 GB, free: 51.04 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.936/11.44, allocations: 0.5423 GB / 1.485 GB, free: 103.8 MB / 0.5418 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.FreeBodies2_res.mat does not exist to compare? outputFormat=mat