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.RevoluteInitialization.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.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.882/1.882, allocations: 209.2 MB / 224.8 MB, free: 0.5391 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005967/0.0005968, allocations: 16 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3356, allocations: 48.7 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.04346/0.3791, allocations: 28.35 MB / 359.6 MB, free: 1.898 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02202/0.4012, allocations: 7.383 MB / 367 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00649/0.4077, allocations: 139.6 kB / 367.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005386/0.4131, allocations: 1.388 MB / 368.5 MB, free: 9.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01669/0.4299, allocations: 4.142 MB / 372.7 MB, free: 5.027 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003087/0.433, allocations: 0.5108 MB / 373.2 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005222/0.4383, allocations: 1.919 MB / 375.1 MB, free: 2.594 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00627/0.4446, allocations: 2.932 MB / 378 MB, free: 15.61 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002116/0.4468, allocations: 0.8564 MB / 378.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002413/0.4492, allocations: 1.121 MB / 380 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006834/0.4499, allocations: 112 kB / 380.1 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002478/0.4524, allocations: 0.8308 MB / 381 MB, free: 12.68 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002121/0.4546, allocations: 1.27 MB / 382.2 MB, free: 11.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001077/0.4557, allocations: 0.6948 MB / 382.9 MB, free: 10.71 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007234/0.463, allocations: 4.424 MB / 387.3 MB, free: 6.273 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.463, allocations: 0 / 387.3 MB, free: 6.273 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.367e-06/0.463, allocations: 0 / 387.3 MB, free: 6.273 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001735/0.4632, allocations: 0 / 387.3 MB, free: 6.273 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01039/0.4736, allocations: 3.406 MB / 390.7 MB, free: 2.797 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.4737, allocations: 8.031 kB / 390.8 MB, free: 2.789 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001841/0.4755, allocations: 0.5997 MB / 391.4 MB, free: 2.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01342/0.489, allocations: 2.101 MB / 393.5 MB, free: 72 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006358/0.4954, allocations: 2.135 MB / 395.6 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002584/0.4957, allocations: 184.7 kB / 395.8 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001181/0.4969, allocations: 251.8 kB / 396 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02655/0.5235, allocations: 8.406 MB / 404.4 MB, free: 4.371 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001665/0.5237, allocations: 39.59 kB / 404.5 MB, free: 4.332 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000617/0.5243, allocations: 119.9 kB / 404.6 MB, free: 4.215 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004335/0.5287, allocations: 1.621 MB / 406.2 MB, free: 2.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02246/0.5512, allocations: 7.047 MB / 413.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05972/0.611, allocations: 33.88 MB / 447.1 MB, free: 8.656 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01304/0.6241, allocations: 3.138 MB / 450.3 MB, free: 5.359 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01036/0.6345, allocations: 4.061 MB / 454.3 MB, free: 1.148 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.958e-05/0.6346, allocations: 51.06 kB / 454.4 MB, free: 1.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=114): time 5.531e-06/0.6346, allocations: 0 / 454.4 MB, free: 1.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=122): time 0.04987/0.6845, allocations: 11.59 MB / 466 MB, free: 5.293 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.6846, allocations: 166.7 kB / 466.1 MB, free: 5.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007625/0.6923, allocations: 3.822 MB / 470 MB, free: 1.273 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003198/0.6926, allocations: 41.7 kB / 470 MB, free: 1.227 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002792/0.6955, allocations: 2.674 MB / 472.7 MB, free: 14.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008783/0.6964, allocations: 0.5017 MB / 473.2 MB, free: 14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004468/0.6968, allocations: 104 kB / 473.3 MB, free: 13.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004103/0.6973, allocations: 0.5259 MB / 473.8 MB, free: 13.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004073/0.7013, allocations: 1.669 MB / 475.5 MB, free: 11.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007187/0.7086, allocations: 5.065 MB / 480.5 MB, free: 4.906 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006886/0.7155, allocations: 2.855 MB / 483.4 MB, free: 2.051 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-05/0.7156, allocations: 36 kB / 483.4 MB, free: 2.016 MB / 410.7 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.314/1.03, allocations: 6.497 MB / 489.9 MB, free: 125.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001212/1.03, allocations: 61.83 kB / 490 MB, free: 125.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002728/1.03, allocations: 123.1 kB / 490.1 MB, free: 125.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/1.031, allocations: 342.1 kB / 490.4 MB, free: 125.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00737/1.039, allocations: 1.224 MB / 491.7 MB, free: 125.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003733/1.043, allocations: 2.362 MB / 494 MB, free: 124 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005334/1.048, allocations: 294.2 kB / 494.3 MB, free: 123.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001107/1.049, allocations: 331.9 kB / 494.6 MB, free: 123.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (654): * Single equations (assignments): 650 * Array equations: 3 * 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 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004642/1.054, allocations: 1.781 MB / 496.4 MB, free: 123 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007813/1.055, allocations: 303.1 kB / 496.7 MB, free: 123 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007816/1.063, allocations: 2.33 MB / 499 MB, free: 122.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.398e-05/1.063, allocations: 14.31 kB / 499.1 MB, free: 122.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/1.063, allocations: 4.438 kB / 499.1 MB, free: 122.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.759e-05/1.063, allocations: 8.922 kB / 499.1 MB, free: 122.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01733/1.08, allocations: 5.853 MB / 0.4931 GB, free: 120.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.378e-05/1.08, allocations: 0 / 0.4931 GB, free: 120.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001522/1.082, allocations: 165.1 kB / 0.4932 GB, free: 120.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003729/1.085, allocations: 0.713 MB / 0.4939 GB, free: 120.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002605/1.086, allocations: 20.73 kB / 0.494 GB, free: 120.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008764/1.094, allocations: 4.584 MB / 0.4984 GB, free: 117.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.095, allocations: 4.031 kB / 0.4984 GB, free: 117.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/1.105, allocations: 4.27 MB / 0.5026 GB, free: 114.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001679/1.107, allocations: 0.536 MB / 0.5031 GB, free: 114.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007351/1.108, allocations: 29.06 kB / 0.5032 GB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002001/1.11, allocations: 71.91 kB / 0.5032 GB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002827/1.11, allocations: 63.3 kB / 0.5033 GB, free: 114.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/1.11, allocations: 32.77 kB / 0.5033 GB, free: 114.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004981/1.115, allocations: 2.397 MB / 0.5057 GB, free: 111.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.42e-07/1.115, allocations: 0 / 0.5057 GB, free: 111.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006819/1.122, allocations: 0.8219 MB / 0.5065 GB, free: 110.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (90): * Single equations (assignments): 86 * Array equations: 3 * 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 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01451/1.136, allocations: 4.929 MB / 0.5113 GB, free: 105.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008057/1.145, allocations: 3.962 MB / 0.5151 GB, free: 102 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.145, allocations: 0 / 0.5151 GB, free: 102 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002086/1.147, allocations: 1.099 MB / 0.5162 GB, free: 100.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002464/1.149, allocations: 348.5 kB / 0.5166 GB, free: 100.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02624/1.175, allocations: 16.91 MB / 0.5331 GB, free: 80.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003557/1.179, allocations: 2.842 MB / 0.5358 GB, free: 77.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00288/1.182, allocations: 1.554 MB / 0.5374 GB, free: 76.34 MB / 410.7 MB Notification: Performance of SimCode: time 1.282e-06/1.182, allocations: 4 kB / 0.5374 GB, free: 76.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.926/5.108, allocations: 81.93 MB / 0.6174 GB, free: 10.33 MB / 426.7 MB