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.84/1.84, allocations: 209.3 MB / 224.8 MB, free: 1.363 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000436/0.0004361, allocations: 12 kB / 282.5 MB, free: 9.793 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1233, allocations: 48.71 MB / 331.2 MB, free: 8.996 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.2633/0.3867, allocations: 28.34 MB / 359.5 MB, free: 248 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03021/0.4169, allocations: 7.384 MB / 366.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00824/0.4252, allocations: 144 kB / 367.1 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006436/0.4317, allocations: 1.389 MB / 368.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02218/0.454, allocations: 4.133 MB / 372.6 MB, free: 8.195 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003616/0.4576, allocations: 0.5053 MB / 373.1 MB, free: 7.871 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006372/0.464, allocations: 1.93 MB / 375 MB, free: 6.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008418/0.4725, allocations: 2.922 MB / 377.9 MB, free: 5.008 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00284/0.4754, allocations: 0.8632 MB / 378.8 MB, free: 4.551 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00337/0.4788, allocations: 1.119 MB / 379.9 MB, free: 3.961 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008377/0.4797, allocations: 116.9 kB / 380 MB, free: 3.957 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003639/0.4834, allocations: 0.8163 MB / 380.8 MB, free: 3.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003072/0.4865, allocations: 1.278 MB / 382.1 MB, free: 1.988 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001752/0.4883, allocations: 0.6909 MB / 382.8 MB, free: 1.289 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01056/0.4989, allocations: 4.42 MB / 387.2 MB, free: 12.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.736e-06/0.499, allocations: 0 / 387.2 MB, free: 12.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.869e-06/0.499, allocations: 3.984 kB / 387.2 MB, free: 12.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001337/0.4992, allocations: 4 kB / 387.2 MB, free: 12.85 MB / 314.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.01387/0.5131, allocations: 3.406 MB / 390.7 MB, free: 9.379 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.5132, allocations: 8.031 kB / 390.7 MB, free: 9.371 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01748/0.5307, allocations: 2.105 MB / 392.8 MB, free: 7.258 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008941/0.5397, allocations: 2.127 MB / 394.9 MB, free: 5.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003823/0.5401, allocations: 188.7 kB / 395.1 MB, free: 4.883 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0015/0.5416, allocations: 255.8 kB / 395.3 MB, free: 4.633 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03086/0.5725, allocations: 8.406 MB / 403.7 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002103/0.5728, allocations: 39.64 kB / 403.8 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009809/0.5738, allocations: 123.9 kB / 403.9 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005751/0.5796, allocations: 1.617 MB / 405.5 MB, free: 9.773 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03016/0.6098, allocations: 7.047 MB / 412.6 MB, free: 2.719 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07326/0.6831, allocations: 33.89 MB / 446.4 MB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009716/0.6928, allocations: 3.138 MB / 449.6 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00864/0.7015, allocations: 4.073 MB / 453.7 MB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.444e-05/0.7016, allocations: 47.12 kB / 453.7 MB, free: 8.266 MB / 378.7 MB Notification: Performance of pre-optimization done (n=114): time 5.288e-06/0.7016, allocations: 0 / 453.7 MB, free: 8.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=122): time 0.03893/0.7406, allocations: 11.59 MB / 465.3 MB, free: 12.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.7407, allocations: 178.7 kB / 465.5 MB, free: 12.26 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00736/0.7481, allocations: 3.815 MB / 469.3 MB, free: 8.453 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002507/0.7484, allocations: 41.7 kB / 469.3 MB, free: 8.406 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002803/0.7512, allocations: 2.678 MB / 472 MB, free: 5.691 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007619/0.752, allocations: 0.49 MB / 472.5 MB, free: 5.195 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003695/0.7524, allocations: 107.9 kB / 472.6 MB, free: 5.09 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004902/0.7529, allocations: 0.5337 MB / 473.1 MB, free: 4.547 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003772/0.7567, allocations: 1.662 MB / 474.8 MB, free: 2.879 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007279/0.764, allocations: 5.069 MB / 479.9 MB, free: 12.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005967/0.77, allocations: 2.844 MB / 482.7 MB, free: 9.242 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001074/0.7702, allocations: 32 kB / 482.7 MB, free: 9.211 MB / 410.7 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01618/0.7864, allocations: 6.515 MB / 489.2 MB, free: 2.688 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000116/0.7865, allocations: 57 kB / 489.3 MB, free: 2.633 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001625/0.7867, allocations: 120 kB / 489.4 MB, free: 2.516 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008674/0.7876, allocations: 340.7 kB / 489.7 MB, free: 2.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005072/0.7927, allocations: 1.224 MB / 491 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003698/0.7964, allocations: 2.36 MB / 493.3 MB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004744/0.8012, allocations: 287.6 kB / 493.6 MB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008519/0.8021, allocations: 332 kB / 493.9 MB, free: 13.85 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * 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 (654): * Single equations (assignments): 650 * 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.003976/0.8061, allocations: 1.775 MB / 495.7 MB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007558/0.8069, allocations: 308 kB / 496 MB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006382/0.8133, allocations: 2.335 MB / 498.3 MB, free: 9.406 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.791e-05/0.8133, allocations: 15.98 kB / 498.4 MB, free: 9.391 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.8134, allocations: 4 kB / 498.4 MB, free: 9.387 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.679e-05/0.8134, allocations: 7.984 kB / 498.4 MB, free: 9.379 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0153/0.8287, allocations: 5.855 MB / 0.4924 GB, free: 3.453 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-05/0.8288, allocations: 7.938 kB / 0.4924 GB, free: 3.445 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.8298, allocations: 159.8 kB / 0.4926 GB, free: 3.289 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002914/0.8328, allocations: 0.7147 MB / 0.4933 GB, free: 2.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000184/0.833, allocations: 20.12 kB / 0.4933 GB, free: 2.551 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2376/1.071, allocations: 4.571 MB / 0.4978 GB, free: 135.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.797e-06/1.071, allocations: 1.188 kB / 0.4978 GB, free: 135.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008525/1.079, allocations: 4.282 MB / 0.5019 GB, free: 134.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001417/1.081, allocations: 0.5338 MB / 0.5025 GB, free: 134.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004367/1.081, allocations: 21.59 kB / 0.5025 GB, free: 134.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/1.083, allocations: 70.25 kB / 0.5025 GB, free: 134.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002227/1.083, allocations: 68.56 kB / 0.5026 GB, free: 134.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/1.083, allocations: 34.75 kB / 0.5026 GB, free: 134.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004502/1.087, allocations: 2.399 MB / 0.505 GB, free: 133.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.236e-06/1.088, allocations: 0 / 0.505 GB, free: 133.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005152/1.093, allocations: 0.8266 MB / 0.5058 GB, free: 133.5 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.0004945/1.093, allocations: 156.8 kB / 0.5059 GB, free: 133.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007833/1.101, allocations: 3.968 MB / 0.5098 GB, free: 132.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.844e-06/1.101, allocations: 0 / 0.5098 GB, free: 132.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002021/1.103, allocations: 1.086 MB / 0.5109 GB, free: 131.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/1.105, allocations: 357.2 kB / 0.5112 GB, free: 131.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01581/1.121, allocations: 8.932 MB / 0.5199 GB, free: 126.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003807/1.125, allocations: 2.835 MB / 0.5227 GB, free: 125.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/1.126, allocations: 246.6 kB / 0.5229 GB, free: 125.8 MB / 426.7 MB Notification: Performance of SimCode: time 2.05e-06/1.126, allocations: 0 / 0.5229 GB, free: 125.8 MB / 426.7 MB Notification: Performance of Templates: time 0.08024/1.206, allocations: 61.29 MB / 0.5828 GB, free: 70.84 MB / 426.7 MB