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.PrismaticInit.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.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.896/1.896, allocations: 209.3 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000521/0.0005211, allocations: 16 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3429, allocations: 48.7 MB / 331.3 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.03105/0.374, allocations: 21.29 MB / 352.6 MB, free: 7.242 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0167/0.3908, allocations: 5.854 MB / 358.4 MB, free: 2.719 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004613/0.3955, allocations: 105.4 kB / 358.5 MB, free: 2.699 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004083/0.3996, allocations: 1.032 MB / 359.6 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01295/0.4126, allocations: 3.191 MB / 362.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002444/0.4151, allocations: 463.1 kB / 363.2 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002715/0.4178, allocations: 0.983 MB / 364.2 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003917/0.4218, allocations: 1.946 MB / 366.1 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009283/0.4228, allocations: 442.5 kB / 366.6 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.4238, allocations: 0.5608 MB / 367.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000197/0.424, allocations: 52 kB / 367.2 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.4252, allocations: 443.3 kB / 367.6 MB, free: 10.06 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007502/0.426, allocations: 0.5533 MB / 368.2 MB, free: 9.504 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003954/0.4264, allocations: 304.8 kB / 368.5 MB, free: 9.199 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002805/0.4292, allocations: 1.861 MB / 370.3 MB, free: 7.336 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4293, allocations: 0 / 370.3 MB, free: 7.336 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.4293, allocations: 0 / 370.3 MB, free: 7.336 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.357e-05/0.4293, allocations: 0 / 370.3 MB, free: 7.336 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.00462/0.434, allocations: 1.686 MB / 372 MB, free: 5.594 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.434, allocations: 12.03 kB / 372 MB, free: 5.582 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004737/0.4345, allocations: 232.8 kB / 372.2 MB, free: 5.344 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00188/0.4364, allocations: 285.6 kB / 372.5 MB, free: 5.062 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003291/0.4397, allocations: 1.262 MB / 373.8 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.4399, allocations: 90.33 kB / 373.9 MB, free: 3.668 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002989/0.4402, allocations: 116 kB / 374 MB, free: 3.555 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008787/0.449, allocations: 2.907 MB / 376.9 MB, free: 468 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.811e-05/0.4491, allocations: 15.84 kB / 376.9 MB, free: 452 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002187/0.4493, allocations: 63.86 kB / 377 MB, free: 388 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001007/0.4503, allocations: 410 kB / 377.4 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008143/0.4585, allocations: 2.108 MB / 379.5 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01905/0.4776, allocations: 10.48 MB / 390 MB, free: 3.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0063/0.4839, allocations: 1.099 MB / 391.1 MB, free: 1.969 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005334/0.4893, allocations: 2.661 MB / 393.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.4894, allocations: 34.56 kB / 393.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 3.396e-06/0.4894, allocations: 0 / 393.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=50): time 0.01916/0.5086, allocations: 3.548 MB / 397.3 MB, free: 11.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.5087, allocations: 89.55 kB / 397.4 MB, free: 11.3 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002371/0.511, allocations: 1.287 MB / 398.7 MB, free: 10 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.896e-05/0.5111, allocations: 37.64 kB / 398.7 MB, free: 9.961 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000822/0.512, allocations: 0.9224 MB / 399.6 MB, free: 9.027 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/0.5122, allocations: 197.4 kB / 399.8 MB, free: 8.832 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.022e-05/0.5123, allocations: 28 kB / 399.9 MB, free: 8.805 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.5125, allocations: 370.8 kB / 400.2 MB, free: 8.434 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.5136, allocations: 383.8 kB / 400.6 MB, free: 8.059 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001665/0.5152, allocations: 1.205 MB / 401.8 MB, free: 6.449 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/0.5167, allocations: 0.638 MB / 402.4 MB, free: 5.812 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.739e-05/0.5168, allocations: 8 kB / 402.4 MB, free: 5.805 MB / 330.7 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.003751/0.5205, allocations: 1.573 MB / 404 MB, free: 4.223 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/0.5206, allocations: 24.61 kB / 404 MB, free: 4.199 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.202e-05/0.5206, allocations: 32.16 kB / 404.1 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003011/0.521, allocations: 88.83 kB / 404.2 MB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001957/0.5229, allocations: 339.3 kB / 404.5 MB, free: 3.746 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/0.5251, allocations: 1.729 MB / 406.2 MB, free: 1.883 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.5264, allocations: 63.98 kB / 406.3 MB, free: 1.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/0.5266, allocations: 83.98 kB / 406.4 MB, free: 1.738 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 131 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (180): * Single equations (assignments): 179 * Array equations: 0 * 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.001262/0.5279, allocations: 0.6281 MB / 407 MB, free: 1.102 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002038/0.5281, allocations: 110.6 kB / 407.1 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001786/0.5299, allocations: 0.6604 MB / 407.8 MB, free: 324 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/0.5299, allocations: 8 kB / 407.8 MB, free: 316 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.5299, allocations: 0 / 407.8 MB, free: 316 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.5299, allocations: 4.188 kB / 407.8 MB, free: 312 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004938/0.5349, allocations: 2.143 MB / 409.9 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.485e-06/0.5349, allocations: 7.938 kB / 409.9 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006507/0.5356, allocations: 75.91 kB / 410 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002816/0.5359, allocations: 68.77 kB / 410.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.5e-05/0.5359, allocations: 16 kB / 410.1 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002343/0.5383, allocations: 1.769 MB / 411.8 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.5383, allocations: 4 kB / 411.9 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002235/0.5406, allocations: 1.016 MB / 412.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004556/0.541, allocations: 227.5 kB / 413.1 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/0.5412, allocations: 11.95 kB / 413.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006059/0.5419, allocations: 23.98 kB / 413.1 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.118e-05/0.542, allocations: 43.89 kB / 413.2 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.536e-05/0.542, allocations: 20.06 kB / 413.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001637/0.5437, allocations: 0.8374 MB / 414 MB, free: 9.727 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5437, allocations: 0 / 414 MB, free: 9.727 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001763/0.5455, allocations: 304 kB / 414.3 MB, free: 9.43 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (47): * Single equations (assignments): 46 * Array equations: 0 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002878/0.5484, allocations: 1.611 MB / 415.9 MB, free: 7.742 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002596/0.551, allocations: 1.022 MB / 417 MB, free: 6.715 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.551, allocations: 0 / 417 MB, free: 6.715 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008363/0.5518, allocations: 392.4 kB / 417.3 MB, free: 6.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.5531, allocations: 157.2 kB / 417.5 MB, free: 6.164 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/0.5631, allocations: 5.204 MB / 422.7 MB, free: 464 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001703/0.5649, allocations: 1.457 MB / 424.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/0.566, allocations: 0.5656 MB / 424.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of SimCode: time 1.462e-06/0.566, allocations: 0 / 424.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.944/3.51, allocations: 28.57 MB / 453.3 MB, free: 1.812 MB / 378.7 MB