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.RevoluteInitialization.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.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadModel(ModelicaTest): time 1.804/1.804, allocations: 209.3 MB / 224.8 MB, free: 192 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004371/0.0004372, allocations: 12 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.286, allocations: 48.7 MB / 331.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1388/0.4249, allocations: 93.47 MB / 424.7 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.4252, allocations: 75.97 kB / 424.8 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6306/1.056, allocations: 71.78 MB / 496.6 MB, free: 93.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.644e-06/1.056, allocations: 1.953 kB / 496.6 MB, free: 93.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002527/1.056, allocations: 68.19 kB / 496.7 MB, free: 93.24 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01595/1.072, allocations: 3.572 MB / 0.4885 GB, free: 91.6 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/1.072, allocations: 7.531 kB / 0.4885 GB, free: 91.6 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01829/1.09, allocations: 2.081 MB / 0.4906 GB, free: 91.35 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0171/1.108, allocations: 4.084 MB / 0.4945 GB, free: 90.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002403/1.108, allocations: 254.5 kB / 0.4948 GB, free: 90.74 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001165/1.109, allocations: 344.2 kB / 0.4951 GB, free: 90.74 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02603/1.135, allocations: 8.855 MB / 0.5038 GB, free: 85.99 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002838/1.135, allocations: 58.25 kB / 0.5038 GB, free: 85.96 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001444/1.137, allocations: 171.5 kB / 0.504 GB, free: 85.87 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002369/1.139, allocations: 0.8751 MB / 0.5048 GB, free: 85.71 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02296/1.162, allocations: 7.161 MB / 0.5118 GB, free: 83.03 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0413/1.204, allocations: 42.61 MB / 0.5534 GB, free: 39.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008177/1.212, allocations: 3.178 MB / 0.5565 GB, free: 35.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006832/1.219, allocations: 4.085 MB / 0.5605 GB, free: 31.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/1.219, allocations: 47.06 kB / 0.5606 GB, free: 31.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=114): time 6.183e-06/1.219, allocations: 4 kB / 0.5606 GB, free: 31.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=122): time 0.03206/1.251, allocations: 11.36 MB / 0.5717 GB, free: 20.1 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/1.251, allocations: 166.8 kB / 0.5718 GB, free: 19.9 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00529/1.256, allocations: 3.31 MB / 0.5751 GB, free: 16.6 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002239/1.257, allocations: 45.69 kB / 0.5751 GB, free: 16.55 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001508/1.258, allocations: 2.67 MB / 0.5777 GB, free: 13.88 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005149/1.259, allocations: 0.5037 MB / 0.5782 GB, free: 13.38 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002784/1.259, allocations: 104 kB / 0.5783 GB, free: 13.28 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002986/1.259, allocations: 0.5299 MB / 0.5788 GB, free: 12.74 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002799/1.262, allocations: 1.665 MB / 0.5805 GB, free: 11.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004332/1.266, allocations: 5.055 MB / 0.5854 GB, free: 4.289 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004654/1.271, allocations: 2.843 MB / 0.5882 GB, free: 1.445 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.002e-05/1.271, allocations: 40 kB / 0.5882 GB, free: 1.406 MB / 394.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01512/1.286, allocations: 6.513 MB / 0.5946 GB, free: 10.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/1.287, allocations: 56 kB / 0.5946 GB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001674/1.287, allocations: 120 kB / 0.5947 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008664/1.288, allocations: 344.6 kB / 0.5951 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005241/1.293, allocations: 1.267 MB / 0.5963 GB, free: 9.105 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003516/1.296, allocations: 2.39 MB / 0.5986 GB, free: 6.586 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00497/1.301, allocations: 283.5 kB / 0.5989 GB, free: 6.309 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009573/1.302, allocations: 335.9 kB / 0.5992 GB, free: 5.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (656): * Single equations (assignments): 652 * Array equations: 3 * 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.004134/1.307, allocations: 1.774 MB / 0.601 GB, free: 4.195 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007518/1.307, allocations: 307.9 kB / 0.6012 GB, free: 3.891 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006167/1.313, allocations: 2.327 MB / 0.6035 GB, free: 1.551 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.904e-05/1.314, allocations: 22.91 kB / 0.6035 GB, free: 1.535 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/1.314, allocations: 4 kB / 0.6035 GB, free: 1.531 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/1.314, allocations: 7.969 kB / 0.6036 GB, free: 1.523 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01556/1.329, allocations: 5.836 MB / 0.6093 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/1.329, allocations: 0 / 0.6093 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/1.33, allocations: 167.7 kB / 0.6094 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002868/1.333, allocations: 0.7147 MB / 0.6101 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001792/1.333, allocations: 20 kB / 0.6101 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008551/1.342, allocations: 4.558 MB / 0.6146 GB, free: 6.043 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.25e-06/1.342, allocations: 0 / 0.6146 GB, free: 6.043 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009413/1.351, allocations: 4.386 MB / 0.6189 GB, free: 1.602 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001626/1.353, allocations: 0.5282 MB / 0.6194 GB, free: 1.051 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004821/1.354, allocations: 19.98 kB / 0.6194 GB, free: 1.031 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/1.355, allocations: 75.91 kB / 0.6195 GB, free: 0.957 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002365/1.355, allocations: 64.44 kB / 0.6195 GB, free: 0.8906 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/1.355, allocations: 39.98 kB / 0.6196 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.2453/1.601, allocations: 2.302 MB / 0.6218 GB, free: 109.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.155e-06/1.601, allocations: 1.188 kB / 0.6218 GB, free: 109.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005876/1.607, allocations: 0.8075 MB / 0.6226 GB, free: 109.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (90): * Single equations (assignments): 86 * Array equations: 3 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004693/1.607, allocations: 156.8 kB / 0.6228 GB, free: 109.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008204/1.615, allocations: 3.949 MB / 0.6266 GB, free: 109 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.767e-06/1.616, allocations: 1.031 kB / 0.6266 GB, free: 109 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002029/1.618, allocations: 1.083 MB / 0.6277 GB, free: 108.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/1.62, allocations: 358.8 kB / 0.628 GB, free: 108.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0169/1.637, allocations: 8.86 MB / 0.6367 GB, free: 105.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004082/1.641, allocations: 2.832 MB / 0.6394 GB, free: 104.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/1.642, allocations: 245.1 kB / 0.6397 GB, free: 104.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.664e-06/1.642, allocations: 2.75 kB / 0.6397 GB, free: 104.7 MB / 426.7 MB Notification: Performance of Templates: time 0.08444/1.727, allocations: 60.89 MB / 0.6991 GB, free: 72.07 MB / 426.7 MB