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: 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 2.029/2.029, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004434/0.0004433, allocations: 12 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1131, allocations: 48.71 MB / 331.8 MB, free: 8.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4348/0.548, allocations: 90.51 MB / 422.3 MB, free: 10.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/0.5483, allocations: 79.97 kB / 422.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1528/0.7011, allocations: 33.78 MB / 456.2 MB, free: 8.621 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.7012, allocations: 0 / 456.2 MB, free: 8.621 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.719e-05/0.7013, allocations: 32 kB / 456.2 MB, free: 8.59 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.005453/0.7068, allocations: 1.795 MB / 458 MB, free: 6.738 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.7069, allocations: 8.031 kB / 458 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003366/0.7102, allocations: 401.8 kB / 458.4 MB, free: 6.336 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01175/0.722, allocations: 2.916 MB / 461.3 MB, free: 3.371 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.7222, allocations: 106.8 kB / 461.4 MB, free: 3.266 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003952/0.7226, allocations: 140 kB / 461.6 MB, free: 3.129 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009294/0.7319, allocations: 2.913 MB / 464.5 MB, free: 15.99 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.469e-05/0.7321, allocations: 23.83 kB / 464.5 MB, free: 15.97 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000233/0.7323, allocations: 63.97 kB / 464.6 MB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007329/0.7331, allocations: 266 kB / 464.8 MB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008538/0.7416, allocations: 2.108 MB / 466.9 MB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02057/0.7622, allocations: 11.26 MB / 478.2 MB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006469/0.7688, allocations: 1.086 MB / 479.3 MB, free: 0.8516 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005652/0.7745, allocations: 2.637 MB / 481.9 MB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/0.7746, allocations: 34.56 kB / 482 MB, free: 13.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 3.546e-06/0.7746, allocations: 0 / 482 MB, free: 13.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=50): time 0.01968/0.7943, allocations: 3.518 MB / 485.5 MB, free: 10.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.7944, allocations: 81.55 kB / 485.6 MB, free: 10.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002317/0.7967, allocations: 1.185 MB / 486.7 MB, free: 9.047 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.356e-05/0.7968, allocations: 37.7 kB / 486.8 MB, free: 9.004 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008258/0.7976, allocations: 0.9378 MB / 487.7 MB, free: 8.055 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/0.7979, allocations: 197.4 kB / 487.9 MB, free: 7.859 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.99e-05/0.798, allocations: 28 kB / 487.9 MB, free: 7.832 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.7982, allocations: 374.8 kB / 488.3 MB, free: 7.457 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.7993, allocations: 387.7 kB / 488.7 MB, free: 7.078 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001751/0.8011, allocations: 1.21 MB / 489.9 MB, free: 5.457 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001566/0.8027, allocations: 0.6418 MB / 490.5 MB, free: 4.816 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.131e-05/0.8027, allocations: 8 kB / 490.5 MB, free: 4.809 MB / 410.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.003886/0.8066, allocations: 1.592 MB / 492.1 MB, free: 3.207 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.379e-05/0.8067, allocations: 20.62 kB / 492.1 MB, free: 3.188 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.425e-05/0.8067, allocations: 31.98 kB / 492.2 MB, free: 3.156 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003231/0.807, allocations: 88.83 kB / 492.3 MB, free: 3.066 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002006/0.8091, allocations: 343.8 kB / 492.6 MB, free: 2.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/0.8113, allocations: 1.717 MB / 494.3 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.813, allocations: 75.95 kB / 494.4 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000173/0.8132, allocations: 84 kB / 494.5 MB, free: 0.7227 MB / 410.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.001447/0.8146, allocations: 0.632 MB / 495.1 MB, free: 84 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2755/1.09, allocations: 110.6 kB / 495.2 MB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002341/1.093, allocations: 0.6536 MB / 495.9 MB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/1.093, allocations: 5 kB / 495.9 MB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/1.093, allocations: 2.562 kB / 495.9 MB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/1.093, allocations: 6.219 kB / 495.9 MB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006165/1.099, allocations: 2.153 MB / 498 MB, free: 108.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/1.099, allocations: 5.031 kB / 498 MB, free: 108.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007702/1.1, allocations: 94.09 kB / 498.1 MB, free: 108.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000302/1.1, allocations: 60.8 kB / 498.2 MB, free: 108.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.883e-05/1.1, allocations: 16.64 kB / 498.2 MB, free: 108.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002189/1.102, allocations: 1.759 MB / 500 MB, free: 107.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/1.102, allocations: 9.094 kB / 500 MB, free: 107.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002427/1.105, allocations: 1.009 MB / 0.4892 GB, free: 107.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006198/1.105, allocations: 216 kB / 0.4894 GB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/1.106, allocations: 14.78 kB / 0.4895 GB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006685/1.106, allocations: 27.97 kB / 0.4895 GB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/1.106, allocations: 38.56 kB / 0.4895 GB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.636e-05/1.107, allocations: 22.08 kB / 0.4895 GB, free: 107.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001823/1.108, allocations: 0.7528 MB / 0.4903 GB, free: 107.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.032e-06/1.108, allocations: 0 / 0.4903 GB, free: 107.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002231/1.111, allocations: 302 kB / 0.4906 GB, free: 107.1 MB / 410.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.0003494/1.111, allocations: 130 kB / 0.4907 GB, free: 107.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002827/1.114, allocations: 1.032 MB / 0.4917 GB, free: 106.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/1.114, allocations: 0.9375 kB / 0.4917 GB, free: 106.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008927/1.115, allocations: 376.8 kB / 0.4921 GB, free: 106.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/1.116, allocations: 172.9 kB / 0.4922 GB, free: 106.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007787/1.124, allocations: 3.414 MB / 0.4956 GB, free: 105.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00186/1.126, allocations: 1.46 MB / 0.497 GB, free: 104.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004101/1.126, allocations: 81.39 kB / 0.4971 GB, free: 104.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/1.127, allocations: 1.562 kB / 0.4971 GB, free: 104.6 MB / 410.7 MB Notification: Performance of Templates: time 0.04716/1.174, allocations: 20.9 MB / 0.5175 GB, free: 103.6 MB / 410.7 MB