Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadModel(ModelicaTest): time 2.225/2.225, allocations: 235 MB / 248.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.955e-05/2.967e-05, allocations: 4 kB / 309.7 MB, free: 1.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3224, allocations: 54.86 MB / 364.5 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1504/0.4729, allocations: 97.14 MB / 461.7 MB, free: 15.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.4732, allocations: 71.97 kB / 461.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1346/0.6078, allocations: 33.27 MB / 495 MB, free: 13.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.71e-06/0.6078, allocations: 0 / 495 MB, free: 13.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001026/0.608, allocations: 36 kB / 495.1 MB, free: 13.85 MB / 426.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.004529/0.6125, allocations: 1.647 MB / 496.7 MB, free: 12.15 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.6126, allocations: 8.031 kB / 496.7 MB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002615/0.6152, allocations: 401.5 kB / 497.1 MB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009911/0.6252, allocations: 2.897 MB / 500 MB, free: 8.805 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/0.6254, allocations: 106.8 kB / 0.4884 GB, free: 8.699 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005021/0.6259, allocations: 147.8 kB / 0.4885 GB, free: 8.555 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007841/0.6337, allocations: 2.885 MB / 0.4913 GB, free: 5.441 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.503e-05/0.6339, allocations: 15.88 kB / 0.4914 GB, free: 5.426 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002348/0.6341, allocations: 63.98 kB / 0.4914 GB, free: 5.363 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005887/0.6347, allocations: 262.1 kB / 0.4917 GB, free: 5.105 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006608/0.6413, allocations: 2.077 MB / 0.4937 GB, free: 3.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01844/0.6598, allocations: 11.27 MB / 0.5047 GB, free: 7.43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00464/0.6645, allocations: 1.059 MB / 0.5057 GB, free: 6.355 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007744/0.6653, allocations: 367.3 kB / 0.5061 GB, free: 5.992 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004949/0.6703, allocations: 2.645 MB / 0.5087 GB, free: 3.152 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.6704, allocations: 38.78 kB / 0.5087 GB, free: 3.105 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 3.361e-06/0.6704, allocations: 0 / 0.5087 GB, free: 3.105 MB / 442.7 MB Notification: Performance of matching and sorting (n=50): time 0.0135/0.6839, allocations: 3.159 MB / 0.5118 GB, free: 15.84 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.704e-05/0.684, allocations: 81.55 kB / 0.5119 GB, free: 15.74 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/0.686, allocations: 1.036 MB / 0.5129 GB, free: 14.69 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.544e-05/0.6861, allocations: 37.7 kB / 0.5129 GB, free: 14.64 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008275/0.687, allocations: 0.9301 MB / 0.5138 GB, free: 13.71 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002363/0.6872, allocations: 189.5 kB / 0.514 GB, free: 13.52 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.02e-05/0.6873, allocations: 32 kB / 0.514 GB, free: 13.49 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002312/0.6875, allocations: 374.8 kB / 0.5144 GB, free: 13.11 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008121/0.6884, allocations: 371.9 kB / 0.5147 GB, free: 12.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001523/0.6899, allocations: 1.195 MB / 0.5159 GB, free: 11.14 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.6912, allocations: 0.6415 MB / 0.5165 GB, free: 10.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.141e-05/0.6913, allocations: 11.95 kB / 0.5165 GB, free: 10.49 MB / 458.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.003632/0.6949, allocations: 1.565 MB / 0.5181 GB, free: 8.914 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.519e-05/0.695, allocations: 16 kB / 0.5181 GB, free: 8.898 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.306e-05/0.695, allocations: 28 kB / 0.5181 GB, free: 8.871 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000288/0.6953, allocations: 96.81 kB / 0.5182 GB, free: 8.773 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.6969, allocations: 343.4 kB / 0.5185 GB, free: 8.438 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00213/0.699, allocations: 1.713 MB / 0.5202 GB, free: 6.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.7004, allocations: 64.05 kB / 0.5203 GB, free: 6.527 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/0.7006, allocations: 84 kB / 0.5204 GB, free: 6.445 MB / 458.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 () * 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.0003422/0.7009, allocations: 230.4 kB / 0.5206 GB, free: 6.211 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/0.7012, allocations: 110.6 kB / 0.5207 GB, free: 6.102 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/0.7027, allocations: 0.6486 MB / 0.5213 GB, free: 5.438 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.282e-06/0.7027, allocations: 4 kB / 0.5213 GB, free: 5.434 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.306e-06/0.7027, allocations: 4 kB / 0.5213 GB, free: 5.43 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.422e-06/0.7028, allocations: 3.984 kB / 0.5213 GB, free: 5.426 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004699/0.7075, allocations: 2.149 MB / 0.5234 GB, free: 3.168 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/0.7075, allocations: 4 kB / 0.5234 GB, free: 3.164 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005542/0.7081, allocations: 91.83 kB / 0.5235 GB, free: 3.074 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002487/0.7084, allocations: 57.25 kB / 0.5236 GB, free: 3.016 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.717e-05/0.7084, allocations: 23.98 kB / 0.5236 GB, free: 2.992 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002206/0.7106, allocations: 1.729 MB / 0.5253 GB, free: 1.125 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/0.7107, allocations: 7.938 kB / 0.5253 GB, free: 1.117 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2745/0.9852, allocations: 1.165 MB / 0.5264 GB, free: 128 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005152/0.9857, allocations: 216.9 kB / 0.5266 GB, free: 127.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.9859, allocations: 15.22 kB / 0.5266 GB, free: 127.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005492/0.9865, allocations: 23.36 kB / 0.5267 GB, free: 127.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.86e-05/0.9866, allocations: 48.08 kB / 0.5267 GB, free: 127.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.302e-05/0.9866, allocations: 17.69 kB / 0.5267 GB, free: 127.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001396/0.988, allocations: 0.7401 MB / 0.5275 GB, free: 127.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.78e-07/0.9881, allocations: 1.031 kB / 0.5275 GB, free: 127.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001852/0.9899, allocations: 299.8 kB / 0.5277 GB, free: 127.8 MB / 458.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 () * 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.0002532/0.9902, allocations: 127.5 kB / 0.5279 GB, free: 127.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002013/0.9922, allocations: 1.016 MB / 0.5289 GB, free: 127.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.844e-06/0.9923, allocations: 5.406 kB / 0.5289 GB, free: 127.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006308/0.9929, allocations: 365.2 kB / 0.5292 GB, free: 127.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.994, allocations: 164.2 kB / 0.5294 GB, free: 127.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00474/0.9987, allocations: 2.246 MB / 0.5316 GB, free: 126.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001562/1, allocations: 1.461 MB / 0.533 GB, free: 126.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002955/1.001, allocations: 81.33 kB / 0.5331 GB, free: 126.1 MB / 458.7 MB Notification: Performance of SimCode: time 1.83e-06/1.001, allocations: 1.406 kB / 0.5331 GB, free: 126.1 MB / 458.7 MB Notification: Performance of Templates: time 0.03317/1.034, allocations: 20.92 MB / 0.5535 GB, free: 125.3 MB / 458.7 MB