Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadModel(ModelicaTest): time 1.888/1.888, allocations: 209.3 MB / 224.9 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004352/0.0004349, allocations: 8 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.285, allocations: 48.7 MB / 331.3 MB, free: 6.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1363/0.4213, allocations: 90.53 MB / 421.8 MB, free: 3.887 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.4216, allocations: 79.95 kB / 421.9 MB, free: 3.809 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1331/0.5548, allocations: 33.25 MB / 455.1 MB, free: 2.434 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.656e-06/0.5548, allocations: 0 / 455.1 MB, free: 2.434 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.361e-05/0.5549, allocations: 32 kB / 455.2 MB, free: 2.402 MB / 378.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.005019/0.56, allocations: 1.791 MB / 457 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.56, allocations: 15.97 kB / 457 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002573/0.5626, allocations: 397.5 kB / 457.4 MB, free: 152 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009942/0.5726, allocations: 2.916 MB / 460.3 MB, free: 13.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.5728, allocations: 110.8 kB / 460.4 MB, free: 13.08 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003749/0.5732, allocations: 147.9 kB / 460.5 MB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00805/0.5813, allocations: 2.905 MB / 463.4 MB, free: 9.805 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.033e-05/0.5814, allocations: 11.84 kB / 463.4 MB, free: 9.793 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002528/0.5817, allocations: 67.97 kB / 463.5 MB, free: 9.727 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006003/0.5823, allocations: 266 kB / 463.8 MB, free: 9.465 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006844/0.5891, allocations: 2.104 MB / 465.9 MB, free: 7.352 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2457/0.8349, allocations: 11.26 MB / 477.1 MB, free: 94.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004479/0.8394, allocations: 1.077 MB / 478.2 MB, free: 94.13 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004076/0.8436, allocations: 2.636 MB / 480.9 MB, free: 92.85 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.8436, allocations: 39.06 kB / 480.9 MB, free: 92.81 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 3.664e-06/0.8436, allocations: 0 / 480.9 MB, free: 92.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=50): time 0.01369/0.8573, allocations: 3.521 MB / 484.4 MB, free: 92 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.8574, allocations: 86.39 kB / 484.5 MB, free: 91.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001775/0.8592, allocations: 1.046 MB / 485.5 MB, free: 91.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.136e-05/0.8593, allocations: 34.27 kB / 485.6 MB, free: 91.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005255/0.8598, allocations: 0.9313 MB / 486.5 MB, free: 91.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.86, allocations: 199.3 kB / 486.7 MB, free: 91.15 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.044e-05/0.8601, allocations: 27.94 kB / 486.7 MB, free: 91.15 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.8602, allocations: 370 kB / 487.1 MB, free: 90.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000778/0.861, allocations: 383.2 kB / 487.5 MB, free: 90.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.8621, allocations: 1.212 MB / 488.7 MB, free: 89.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.8634, allocations: 0.6338 MB / 489.3 MB, free: 89.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.192e-05/0.8634, allocations: 7.906 kB / 489.3 MB, free: 89.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.003177/0.8666, allocations: 1.601 MB / 490.9 MB, free: 89.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.483e-05/0.8667, allocations: 17.66 kB / 490.9 MB, free: 89.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.635e-05/0.8667, allocations: 33.08 kB / 491 MB, free: 89.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002586/0.867, allocations: 91.91 kB / 491.1 MB, free: 89.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.8683, allocations: 347 kB / 491.4 MB, free: 89.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/0.8699, allocations: 1.721 MB / 493.1 MB, free: 88.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.8713, allocations: 72.31 kB / 493.2 MB, free: 88.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000159/0.8715, allocations: 82.88 kB / 493.3 MB, free: 88.34 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (182): * Single equations (assignments): 181 * 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.001143/0.8726, allocations: 0.6192 MB / 493.9 MB, free: 88.21 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002261/0.8728, allocations: 110.8 kB / 494 MB, free: 88.15 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001454/0.8743, allocations: 0.6585 MB / 494.7 MB, free: 88.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.8743, allocations: 7.062 kB / 494.7 MB, free: 88.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.585e-06/0.8744, allocations: 1.344 kB / 494.7 MB, free: 88.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.529e-06/0.8744, allocations: 8.422 kB / 494.7 MB, free: 88.07 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004026/0.8784, allocations: 2.161 MB / 496.8 MB, free: 87.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.039e-06/0.8785, allocations: 2.719 kB / 496.8 MB, free: 87.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005012/0.879, allocations: 89.77 kB / 496.9 MB, free: 87.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002406/0.8792, allocations: 70.16 kB / 497 MB, free: 87.01 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.02e-05/0.8793, allocations: 11.69 kB / 497 MB, free: 87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/0.881, allocations: 1.771 MB / 498.8 MB, free: 85.45 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.971e-06/0.881, allocations: 3.938 kB / 498.8 MB, free: 85.45 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.8828, allocations: 1.188 MB / 500 MB, free: 84.64 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000428/0.8832, allocations: 217.2 kB / 0.4885 GB, free: 84.47 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/0.8834, allocations: 15.72 kB / 0.4885 GB, free: 84.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005634/0.884, allocations: 26.91 kB / 0.4885 GB, free: 84.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.584e-05/0.8841, allocations: 41.42 kB / 0.4885 GB, free: 84.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.573e-05/0.8841, allocations: 19.44 kB / 0.4886 GB, free: 84.44 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001238/0.8854, allocations: 0.753 MB / 0.4893 GB, free: 84.14 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.64e-07/0.8854, allocations: 1.656 kB / 0.4893 GB, free: 84.14 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001821/0.8872, allocations: 297.7 kB / 0.4896 GB, free: 84.11 MB / 394.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.0002195/0.8875, allocations: 131.6 kB / 0.4897 GB, free: 84.01 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001998/0.8895, allocations: 1.037 MB / 0.4907 GB, free: 83.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.75e-06/0.8895, allocations: 0 / 0.4907 GB, free: 83.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006341/0.8902, allocations: 380.4 kB / 0.4911 GB, free: 83.39 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.8913, allocations: 172.7 kB / 0.4912 GB, free: 83.33 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005375/0.8967, allocations: 3.41 MB / 0.4946 GB, free: 81.36 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001292/0.8981, allocations: 1.456 MB / 0.496 GB, free: 80.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002676/0.8984, allocations: 80.44 kB / 0.4961 GB, free: 80.51 MB / 394.7 MB Notification: Performance of SimCode: time 1.628e-06/0.8984, allocations: 0 / 0.4961 GB, free: 80.51 MB / 394.7 MB Notification: Performance of Templates: time 0.03005/0.9284, allocations: 20.9 MB / 0.5165 GB, free: 74.09 MB / 394.7 MB