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.PrismaticInit.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.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.273/2.273, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004294/0.0004298, allocations: 12 kB / 314.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3244, allocations: 54.86 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.03171/0.3561, allocations: 21.3 MB / 390.6 MB, free: 5.348 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01521/0.3714, allocations: 5.88 MB / 396.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003548/0.375, allocations: 107.7 kB / 396.6 MB, free: 15.34 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003479/0.3785, allocations: 1.034 MB / 397.6 MB, free: 14.3 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01167/0.3902, allocations: 3.187 MB / 400.8 MB, free: 11.11 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002188/0.3924, allocations: 447.2 kB / 401.2 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002442/0.3949, allocations: 0.9828 MB / 402.2 MB, free: 9.688 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003803/0.3988, allocations: 1.953 MB / 404.1 MB, free: 7.695 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008453/0.3996, allocations: 434.5 kB / 404.6 MB, free: 7.27 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.4007, allocations: 0.5725 MB / 405.1 MB, free: 6.695 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001914/0.4009, allocations: 52 kB / 405.2 MB, free: 6.645 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.4021, allocations: 435.4 kB / 405.6 MB, free: 6.219 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007195/0.4028, allocations: 0.5494 MB / 406.2 MB, free: 5.668 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003718/0.4032, allocations: 304.8 kB / 406.5 MB, free: 5.363 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002718/0.4059, allocations: 1.86 MB / 408.3 MB, free: 3.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.4059, allocations: 4 kB / 408.3 MB, free: 3.496 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.406, allocations: 0 / 408.3 MB, free: 3.496 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.559e-05/0.406, allocations: 0 / 408.3 MB, free: 3.496 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.004472/0.4105, allocations: 1.693 MB / 410 MB, free: 1.746 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.4106, allocations: 8.031 kB / 410 MB, free: 1.738 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004369/0.411, allocations: 244.8 kB / 410.3 MB, free: 1.488 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00183/0.4128, allocations: 273.6 kB / 410.5 MB, free: 1.219 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00312/0.416, allocations: 1.269 MB / 411.8 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.4161, allocations: 86.34 kB / 411.9 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002877/0.4164, allocations: 120 kB / 412 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008309/0.4247, allocations: 2.907 MB / 414.9 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-05/0.4249, allocations: 23.77 kB / 414.9 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001873/0.4251, allocations: 55.97 kB / 415 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009767/0.426, allocations: 409.9 kB / 415.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00774/0.4338, allocations: 2.108 MB / 417.5 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01842/0.4523, allocations: 10.47 MB / 428 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00622/0.4585, allocations: 1.111 MB / 429.1 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00523/0.4638, allocations: 2.649 MB / 431.7 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.4639, allocations: 38.56 kB / 431.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 3.106e-06/0.4639, allocations: 0 / 431.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.01897/0.4829, allocations: 3.548 MB / 435.3 MB, free: 7.566 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.483, allocations: 81.55 kB / 435.4 MB, free: 7.469 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002298/0.4853, allocations: 1.29 MB / 436.7 MB, free: 6.164 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.525e-05/0.4854, allocations: 37.7 kB / 436.7 MB, free: 6.121 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007863/0.4862, allocations: 0.9263 MB / 437.7 MB, free: 5.184 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002201/0.4864, allocations: 193.5 kB / 437.8 MB, free: 4.992 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-05/0.4865, allocations: 28 kB / 437.9 MB, free: 4.965 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.4867, allocations: 378.7 kB / 438.2 MB, free: 4.586 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.4877, allocations: 383.8 kB / 438.6 MB, free: 4.211 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/0.4893, allocations: 1.201 MB / 439.8 MB, free: 2.602 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.4909, allocations: 0.6419 MB / 440.5 MB, free: 1.961 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.795e-05/0.4909, allocations: 8 kB / 440.5 MB, free: 1.953 MB / 362.7 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.003754/0.4947, allocations: 1.581 MB / 442 MB, free: 372 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.246e-05/0.4947, allocations: 21.98 kB / 442.1 MB, free: 352 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.932e-05/0.4948, allocations: 32 kB / 442.1 MB, free: 320 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003019/0.4951, allocations: 93.5 kB / 442.2 MB, free: 224 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001919/0.497, allocations: 339.3 kB / 442.5 MB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.4991, allocations: 1.717 MB / 444.2 MB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.5004, allocations: 67.98 kB / 444.3 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/0.5006, allocations: 84 kB / 444.4 MB, free: 13.88 MB / 378.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.001235/0.5018, allocations: 0.6279 MB / 445 MB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/0.502, allocations: 110.7 kB / 445.1 MB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001782/0.5038, allocations: 0.6606 MB / 445.8 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.5039, allocations: 7.953 kB / 445.8 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.5039, allocations: 4 kB / 445.8 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.5039, allocations: 3.984 kB / 445.8 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004888/0.5088, allocations: 2.131 MB / 447.9 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.5088, allocations: 8.438 kB / 447.9 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006619/0.5095, allocations: 87.89 kB / 448 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002821/0.5098, allocations: 60.81 kB / 448.1 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.022e-05/0.5099, allocations: 15.94 kB / 448.1 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002272/0.5121, allocations: 1.768 MB / 449.9 MB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.5122, allocations: 4 kB / 449.9 MB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/0.5144, allocations: 1.013 MB / 450.9 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004661/0.5149, allocations: 223.7 kB / 451.1 MB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/0.5151, allocations: 16 kB / 451.1 MB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00062/0.5158, allocations: 24.05 kB / 451.1 MB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.407e-05/0.5159, allocations: 47.84 kB / 451.2 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-05/0.5159, allocations: 16 kB / 451.2 MB, free: 6.727 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00164/0.5176, allocations: 0.8296 MB / 452 MB, free: 5.891 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5176, allocations: 0 / 452 MB, free: 5.891 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001808/0.5194, allocations: 312 kB / 452.3 MB, free: 5.586 MB / 378.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.00283/0.5223, allocations: 1.609 MB / 453.9 MB, free: 3.902 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002597/0.5249, allocations: 1.03 MB / 455 MB, free: 2.863 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.5249, allocations: 0 / 455 MB, free: 2.863 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008469/0.5258, allocations: 387.7 kB / 455.4 MB, free: 2.473 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.5271, allocations: 160.4 kB / 455.5 MB, free: 2.312 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009826/0.5369, allocations: 5.201 MB / 460.7 MB, free: 12.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00166/0.5386, allocations: 1.453 MB / 462.2 MB, free: 11.12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/0.5398, allocations: 0.5618 MB / 462.7 MB, free: 10.56 MB / 394.7 MB Notification: Performance of SimCode: time 2.975e-06/0.5398, allocations: 4 kB / 462.7 MB, free: 10.55 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.391/3.931, allocations: 28.57 MB / 491.3 MB, free: 84.16 MB / 394.7 MB