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.RevoluteInitialization.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.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.266/2.266, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000431/0.0004311, allocations: 12 kB / 314.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3419, allocations: 54.86 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.04304/0.385, allocations: 28.37 MB / 397.6 MB, free: 14.27 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01971/0.4048, allocations: 7.425 MB / 405.1 MB, free: 6.816 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005245/0.4101, allocations: 143.7 kB / 405.2 MB, free: 6.676 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004746/0.4149, allocations: 1.384 MB / 406.6 MB, free: 5.285 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0154/0.4303, allocations: 4.138 MB / 410.7 MB, free: 1.137 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002873/0.4333, allocations: 0.4952 MB / 411.2 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004942/0.4382, allocations: 1.922 MB / 413.1 MB, free: 14.71 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005925/0.4442, allocations: 2.928 MB / 416.1 MB, free: 11.74 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001847/0.4461, allocations: 0.8603 MB / 416.9 MB, free: 10.88 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002226/0.4484, allocations: 1.117 MB / 418 MB, free: 9.754 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005951/0.449, allocations: 112 kB / 418.2 MB, free: 9.645 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00243/0.4514, allocations: 0.8269 MB / 419 MB, free: 8.816 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001986/0.4534, allocations: 1.266 MB / 420.2 MB, free: 7.547 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009913/0.4545, allocations: 0.6948 MB / 420.9 MB, free: 6.844 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007193/0.4617, allocations: 4.424 MB / 425.4 MB, free: 2.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4618, allocations: 0 / 425.4 MB, free: 2.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.4618, allocations: 0 / 425.4 MB, free: 2.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001677/0.4619, allocations: 0 / 425.4 MB, free: 2.41 MB / 346.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.01035/0.4723, allocations: 3.413 MB / 428.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.4724, allocations: 8.031 kB / 428.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001782/0.4742, allocations: 0.5919 MB / 429.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01281/0.487, allocations: 2.105 MB / 431.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006085/0.4931, allocations: 2.142 MB / 433.6 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001941/0.4934, allocations: 180.7 kB / 433.8 MB, free: 9.824 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008146/0.4942, allocations: 251.8 kB / 434 MB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02152/0.5157, allocations: 8.402 MB / 442.4 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001576/0.5159, allocations: 39.59 kB / 442.5 MB, free: 480 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006691/0.5166, allocations: 119.9 kB / 442.6 MB, free: 360 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004465/0.5211, allocations: 1.629 MB / 444.2 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02216/0.5433, allocations: 7.043 MB / 451.3 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3717/0.915, allocations: 33.87 MB / 485.1 MB, free: 68.39 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01164/0.9267, allocations: 3.144 MB / 488.3 MB, free: 67.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008681/0.9355, allocations: 4.072 MB / 492.4 MB, free: 65.56 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.9356, allocations: 42.88 kB / 492.4 MB, free: 65.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=114): time 4.458e-06/0.9356, allocations: 0 / 492.4 MB, free: 65.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=122): time 0.04395/0.9795, allocations: 11.6 MB / 0.4922 GB, free: 60.08 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/0.9796, allocations: 169 kB / 0.4924 GB, free: 59.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006563/0.9862, allocations: 3.825 MB / 0.4961 GB, free: 56.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002956/0.9866, allocations: 43.7 kB / 0.4961 GB, free: 56.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001694/0.9883, allocations: 2.666 MB / 0.4987 GB, free: 54 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000555/0.9888, allocations: 0.5003 MB / 0.4992 GB, free: 53.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003041/0.9892, allocations: 100 kB / 0.4993 GB, free: 53.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002813/0.9895, allocations: 0.5357 MB / 0.4998 GB, free: 52.86 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003448/0.9929, allocations: 1.662 MB / 0.5015 GB, free: 51.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005312/0.9982, allocations: 5.072 MB / 0.5064 GB, free: 44.54 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005433/1.004, allocations: 2.853 MB / 0.5092 GB, free: 41.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-05/1.004, allocations: 36 kB / 0.5092 GB, free: 41.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01441/1.018, allocations: 6.507 MB / 0.5156 GB, free: 35.25 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.114e-05/1.018, allocations: 60.22 kB / 0.5156 GB, free: 35.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001313/1.019, allocations: 124 kB / 0.5158 GB, free: 35.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009177/1.019, allocations: 342.3 kB / 0.5161 GB, free: 34.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006534/1.026, allocations: 1.22 MB / 0.5173 GB, free: 33.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003179/1.029, allocations: 2.364 MB / 0.5196 GB, free: 31.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005115/1.034, allocations: 288.4 kB / 0.5199 GB, free: 30.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006663/1.035, allocations: 328.7 kB / 0.5202 GB, free: 30.41 MB / 394.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.003203/1.038, allocations: 1.776 MB / 0.5219 GB, free: 28.62 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006033/1.039, allocations: 308 kB / 0.5222 GB, free: 28.31 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006977/1.046, allocations: 2.331 MB / 0.5245 GB, free: 25.96 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.032e-05/1.046, allocations: 23.8 kB / 0.5245 GB, free: 25.95 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/1.046, allocations: 8.188 kB / 0.5245 GB, free: 25.94 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/1.046, allocations: 3.984 kB / 0.5245 GB, free: 25.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01551/1.062, allocations: 5.849 MB / 0.5302 GB, free: 20.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/1.062, allocations: 4 kB / 0.5302 GB, free: 20.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001444/1.063, allocations: 163.8 kB / 0.5304 GB, free: 19.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003608/1.067, allocations: 0.7108 MB / 0.5311 GB, free: 19.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/1.067, allocations: 27.92 kB / 0.5311 GB, free: 19.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01206/1.079, allocations: 4.571 MB / 0.5356 GB, free: 14.44 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.079, allocations: 0 / 0.5356 GB, free: 14.44 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01295/1.092, allocations: 4.279 MB / 0.5398 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001461/1.093, allocations: 0.5321 MB / 0.5403 GB, free: 9.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006084/1.094, allocations: 24.06 kB / 0.5403 GB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001802/1.096, allocations: 67.91 kB / 0.5404 GB, free: 9.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002391/1.096, allocations: 65.61 kB / 0.5404 GB, free: 9.418 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/1.096, allocations: 40 kB / 0.5405 GB, free: 9.379 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004227/1.1, allocations: 2.401 MB / 0.5428 GB, free: 6.992 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.6e-07/1.1, allocations: 0 / 0.5428 GB, free: 6.992 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004919/1.105, allocations: 0.8188 MB / 0.5436 GB, free: 6.18 MB / 394.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.01017/1.116, allocations: 4.93 MB / 0.5484 GB, free: 1.211 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008977/1.125, allocations: 3.963 MB / 0.5523 GB, free: 13.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/1.125, allocations: 0.6875 kB / 0.5523 GB, free: 13.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002503/1.127, allocations: 1.095 MB / 0.5534 GB, free: 12.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002556/1.13, allocations: 350.4 kB / 0.5537 GB, free: 11.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03208/1.162, allocations: 16.92 MB / 0.5702 GB, free: 8.031 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004597/1.167, allocations: 2.838 MB / 0.573 GB, free: 5.164 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003466/1.17, allocations: 1.55 MB / 0.5745 GB, free: 3.613 MB / 426.7 MB Notification: Performance of SimCode: time 3.196e-06/1.17, allocations: 0 / 0.5745 GB, free: 3.613 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.953/5.123, allocations: 81.93 MB / 0.6545 GB, free: 1.578 MB / 0.4948 GB