Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.Universal.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.Joints.Universal,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.906/1.906, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000447/0.0004472, allocations: 16 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3316, allocations: 48.71 MB / 331.3 MB, free: 6.512 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.05008/0.3817, allocations: 34.57 MB / 365.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02369/0.4055, allocations: 8.453 MB / 374.3 MB, free: 3.406 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007184/0.4127, allocations: 163.6 kB / 374.5 MB, free: 3.246 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006401/0.4192, allocations: 1.789 MB / 376.3 MB, free: 1.449 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01925/0.4385, allocations: 5.12 MB / 381.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00309/0.4416, allocations: 479.3 kB / 381.8 MB, free: 11.85 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005648/0.4473, allocations: 2.226 MB / 384.1 MB, free: 9.617 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006571/0.4539, allocations: 3.165 MB / 387.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00215/0.4561, allocations: 1 MB / 388.2 MB, free: 5.391 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002781/0.459, allocations: 1.37 MB / 389.6 MB, free: 4.012 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000834/0.4598, allocations: 152 kB / 389.8 MB, free: 3.863 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002508/0.4624, allocations: 0.8114 MB / 390.6 MB, free: 3.051 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002462/0.4649, allocations: 1.558 MB / 392.1 MB, free: 1.488 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001274/0.4662, allocations: 0.8738 MB / 393 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009036/0.4752, allocations: 5.624 MB / 398.6 MB, free: 10.97 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.4753, allocations: 0 / 398.6 MB, free: 10.97 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.4753, allocations: 0 / 398.6 MB, free: 10.97 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002186/0.4755, allocations: 7.938 kB / 398.6 MB, free: 10.96 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1761 * Number of variables: 1761 Notification: Performance of Generate backend data structure: time 0.01336/0.4889, allocations: 4.257 MB / 402.9 MB, free: 6.637 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.489, allocations: 12.03 kB / 402.9 MB, free: 6.625 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002463/0.4915, allocations: 0.8194 MB / 403.7 MB, free: 5.797 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.023/0.5145, allocations: 3.784 MB / 407.5 MB, free: 2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007127/0.5217, allocations: 2.406 MB / 409.9 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003277/0.5221, allocations: 241.9 kB / 410.1 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001641/0.5237, allocations: 311.7 kB / 410.4 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03107/0.5548, allocations: 12.24 MB / 422.7 MB, free: 2.227 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001575/0.555, allocations: 39.59 kB / 422.7 MB, free: 2.188 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001071/0.5561, allocations: 143.8 kB / 422.9 MB, free: 2.047 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007545/0.5637, allocations: 2.722 MB / 425.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03471/0.5984, allocations: 11.45 MB / 437 MB, free: 3.852 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08905/0.6875, allocations: 41.15 MB / 478.2 MB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02002/0.7076, allocations: 6.142 MB / 484.3 MB, free: 3.332 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002762/0.7104, allocations: 1.892 MB / 486.2 MB, free: 1.105 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.689e-05/0.7105, allocations: 52.67 kB / 486.3 MB, free: 1.047 MB / 410.7 MB Notification: Performance of pre-optimization done (n=262): time 6.733e-06/0.7105, allocations: 3.938 kB / 486.3 MB, free: 1.043 MB / 410.7 MB Notification: Performance of matching and sorting (n=283): time 0.3509/1.061, allocations: 21.06 MB / 0.4955 GB, free: 124.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/1.062, allocations: 72.84 kB / 0.4955 GB, free: 124.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005338/1.067, allocations: 3.135 MB / 0.4986 GB, free: 123.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007075/1.068, allocations: 61.95 kB / 0.4986 GB, free: 123 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001914/1.07, allocations: 2.973 MB / 0.5015 GB, free: 120.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001536/1.071, allocations: 1.026 MB / 0.5025 GB, free: 119.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000596/1.072, allocations: 116.7 kB / 0.5027 GB, free: 119.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003743/1.072, allocations: 0.5684 MB / 0.5032 GB, free: 119.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006349/1.079, allocations: 2.822 MB / 0.506 GB, free: 117.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008149/1.087, allocations: 6.019 MB / 0.5118 GB, free: 110.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008629/1.095, allocations: 4.095 MB / 0.5158 GB, free: 106.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.761e-05/1.096, allocations: 35.95 kB / 0.5159 GB, free: 106.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.02601/1.122, allocations: 9.908 MB / 0.5256 GB, free: 96.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.929e-05/1.122, allocations: 52.62 kB / 0.5256 GB, free: 96.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001264/1.122, allocations: 112 kB / 0.5257 GB, free: 96.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006193/1.128, allocations: 1.371 MB / 0.5271 GB, free: 94.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008469/1.137, allocations: 1.376 MB / 0.5284 GB, free: 93.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01467/1.151, allocations: 7.681 MB / 0.5359 GB, free: 85.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006329/1.158, allocations: 368.4 kB / 0.5362 GB, free: 85.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001159/1.159, allocations: 349.1 kB / 0.5366 GB, free: 84.76 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 504 * Number of states: 0 () * Number of discrete variables: 27 (axis1.color[3],axis1.color[2],axis1.color[1],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],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (721): * Single equations (assignments): 714 * 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%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005391/1.164, allocations: 2.298 MB / 0.5388 GB, free: 82.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007909/1.165, allocations: 304 kB / 0.5391 GB, free: 82.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01739/1.183, allocations: 6.606 MB / 0.5456 GB, free: 75.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000107/1.183, allocations: 49.86 kB / 0.5456 GB, free: 75.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/1.183, allocations: 4 kB / 0.5456 GB, free: 75.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.622e-05/1.183, allocations: 15.02 kB / 0.5456 GB, free: 75.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0351/1.218, allocations: 14 MB / 0.5593 GB, free: 61.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.684e-05/1.218, allocations: 4 kB / 0.5593 GB, free: 61.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004081/1.222, allocations: 459.3 kB / 0.5597 GB, free: 60.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005858/1.228, allocations: 1.215 MB / 0.5609 GB, free: 59.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006557/1.229, allocations: 53.23 kB / 0.561 GB, free: 59.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01309/1.242, allocations: 6.724 MB / 0.5676 GB, free: 52.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.048e-05/1.242, allocations: 11.94 kB / 0.5676 GB, free: 52.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02285/1.265, allocations: 9.82 MB / 0.5772 GB, free: 42.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002707/1.267, allocations: 0.8289 MB / 0.578 GB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00104/1.269, allocations: 53.08 kB / 0.578 GB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003166/1.272, allocations: 193 kB / 0.5782 GB, free: 41.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006627/1.272, allocations: 165.6 kB / 0.5784 GB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00029/1.273, allocations: 69.09 kB / 0.5784 GB, free: 41.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003862/1.277, allocations: 1.937 MB / 0.5803 GB, free: 39.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.41e-07/1.277, allocations: 0 / 0.5803 GB, free: 39.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00644/1.283, allocations: 1.151 MB / 0.5814 GB, free: 38.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (218): * Single equations (assignments): 211 * 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 {(4,75.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02358/1.307, allocations: 10.51 MB / 0.5917 GB, free: 27.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01456/1.321, allocations: 6.858 MB / 0.5984 GB, free: 20.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/1.321, allocations: 0 / 0.5984 GB, free: 20.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006544/1.328, allocations: 2.848 MB / 0.6012 GB, free: 17.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002721/1.331, allocations: 359.8 kB / 0.6015 GB, free: 17.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3561/1.687, allocations: 37.82 MB / 0.6385 GB, free: 135.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006979/1.694, allocations: 3.686 MB / 0.6421 GB, free: 133.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005229/1.699, allocations: 2.127 MB / 0.6441 GB, free: 132.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/1.699, allocations: 0 / 0.6441 GB, free: 132.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.138/5.837, allocations: 107 MB / 0.7486 GB, free: 35.48 MB / 426.7 MB