Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.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.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.707/2.707, allocations: 235 MB / 248 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.156e-05/4.165e-05, allocations: 4 kB / 309.8 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4124, allocations: 54.85 MB / 364.6 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2303/0.6428, allocations: 98.97 MB / 463.6 MB, free: 13.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/0.6431, allocations: 71.97 kB / 463.7 MB, free: 13.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7892/1.432, allocations: 90.77 MB / 0.5414 GB, free: 108.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.395e-06/1.432, allocations: 0 / 0.5414 GB, free: 108.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002405/1.433, allocations: 82.56 kB / 0.5415 GB, free: 108.6 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1681 * Number of variables: 1681 Notification: Performance of Generate backend data structure: time 0.01705/1.45, allocations: 3.963 MB / 0.5454 GB, free: 106.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/1.45, allocations: 10.12 kB / 0.5454 GB, free: 106.8 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004434/1.454, allocations: 0.843 MB / 0.5462 GB, free: 106.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02789/1.482, allocations: 3.546 MB / 0.5497 GB, free: 106.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01732/1.5, allocations: 4.424 MB / 0.554 GB, free: 105.9 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004302/1.5, allocations: 333.1 kB / 0.5543 GB, free: 105.9 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00323/1.503, allocations: 430.1 kB / 0.5547 GB, free: 105.9 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03474/1.538, allocations: 10.83 MB / 0.5653 GB, free: 104.6 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003102/1.538, allocations: 36.78 kB / 0.5653 GB, free: 104.6 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002803/1.541, allocations: 192.4 kB / 0.5655 GB, free: 104.6 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003024/1.544, allocations: 1.251 MB / 0.5667 GB, free: 104.4 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03022/1.575, allocations: 10.32 MB / 0.5768 GB, free: 101.2 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08042/1.655, allocations: 37.73 MB / 0.6137 GB, free: 74.3 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0136/1.669, allocations: 4.55 MB / 0.6181 GB, free: 70.09 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004528/1.673, allocations: 2.383 MB / 0.6204 GB, free: 67.91 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001472/1.675, allocations: 1.32 MB / 0.6217 GB, free: 66.48 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/1.675, allocations: 59.97 kB / 0.6218 GB, free: 66.41 MB / 458.7 MB Notification: Performance of pre-optimization done (n=242): time 6.292e-06/1.675, allocations: 0 / 0.6218 GB, free: 66.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=254): time 0.05492/1.73, allocations: 14.59 MB / 0.636 GB, free: 53.06 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/1.73, allocations: 73.41 kB / 0.6361 GB, free: 52.98 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004822/1.735, allocations: 2.442 MB / 0.6385 GB, free: 50.52 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005739/1.735, allocations: 57.7 kB / 0.6386 GB, free: 50.46 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002044/1.738, allocations: 2.832 MB / 0.6413 GB, free: 47.62 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001451/1.739, allocations: 0.9179 MB / 0.6422 GB, free: 46.71 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006499/1.74, allocations: 103.4 kB / 0.6423 GB, free: 46.61 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004204/1.74, allocations: 0.5462 MB / 0.6428 GB, free: 46.06 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005307/1.745, allocations: 2.248 MB / 0.645 GB, free: 43.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007245/1.753, allocations: 5.196 MB / 0.6501 GB, free: 37.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007436/1.76, allocations: 3.453 MB / 0.6535 GB, free: 33.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.452e-05/1.76, allocations: 32 kB / 0.6535 GB, free: 33.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.02236/1.783, allocations: 8.132 MB / 0.6615 GB, free: 25.53 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.188e-05/1.783, allocations: 48 kB / 0.6615 GB, free: 25.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001303/1.783, allocations: 104 kB / 0.6616 GB, free: 25.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005703/1.789, allocations: 0.9456 MB / 0.6625 GB, free: 24.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0118/1.801, allocations: 1.244 MB / 0.6637 GB, free: 23.19 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03193/1.833, allocations: 4.747 MB / 0.6684 GB, free: 18.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03088/1.864, allocations: 299.8 kB / 0.6687 GB, free: 18.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001539/1.865, allocations: 307.4 kB / 0.669 GB, free: 17.72 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * Number of states: 0 () * Number of discrete variables: 30 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],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],axis.color[3],axis.color[2],axis.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (661): * Single equations (assignments): 654 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001492/1.867, allocations: 0.502 MB / 0.6694 GB, free: 17.21 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008145/1.868, allocations: 276.3 kB / 0.6697 GB, free: 16.94 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02826/1.896, allocations: 5.062 MB / 0.6747 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001579/1.896, allocations: 47.98 kB / 0.6747 GB, free: 11.81 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.372e-05/1.896, allocations: 7.953 kB / 0.6747 GB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.875e-05/1.896, allocations: 15.91 kB / 0.6747 GB, free: 11.79 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04232/1.939, allocations: 11.94 MB / 0.6864 GB, free: 15.69 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.501e-05/1.939, allocations: 13 kB / 0.6864 GB, free: 15.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003747/1.942, allocations: 403.3 kB / 0.6868 GB, free: 15.28 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0048/1.947, allocations: 0.7653 MB / 0.6875 GB, free: 14.51 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005982/1.948, allocations: 55.98 kB / 0.6876 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009902/1.958, allocations: 4.005 MB / 0.6915 GB, free: 10.32 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.028e-05/1.958, allocations: 15.94 kB / 0.6915 GB, free: 10.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02186/1.98, allocations: 8.384 MB / 0.6997 GB, free: 1.531 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00283/1.983, allocations: 0.6848 MB / 0.7004 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009473/1.984, allocations: 48 kB / 0.7004 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002646/1.986, allocations: 139.9 kB / 0.7005 GB, free: 0.6445 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005719/1.987, allocations: 160.3 kB / 0.7007 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002676/1.987, allocations: 71.98 kB / 0.7008 GB, free: 432 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.3507/2.338, allocations: 1.663 MB / 0.7024 GB, free: 111 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.273e-06/2.338, allocations: 0.875 kB / 0.7024 GB, free: 111 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007385/2.345, allocations: 0.9996 MB / 0.7034 GB, free: 111 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 189 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02378/2.369, allocations: 11.58 MB / 0.7147 GB, free: 106.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0151/2.384, allocations: 5.534 MB / 0.7201 GB, free: 106.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.596e-05/2.384, allocations: 4.406 kB / 0.7201 GB, free: 106.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005162/2.39, allocations: 2.124 MB / 0.7222 GB, free: 106.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003206/2.393, allocations: 348.5 kB / 0.7225 GB, free: 106.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03286/2.426, allocations: 10.57 MB / 0.7328 GB, free: 104.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007385/2.433, allocations: 3.528 MB / 0.7363 GB, free: 103.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00509/2.438, allocations: 1.917 MB / 0.7381 GB, free: 101.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.343e-06/2.438, allocations: 0 / 0.7381 GB, free: 101.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.121/6.56, allocations: 98.76 MB / 0.8346 GB, free: 32.24 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat