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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.916/1.916, allocations: 209.4 MB / 217.3 MB, free: 4.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.942e-05/1.952e-05, allocations: 4 kB / 271.3 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2593, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1374/0.3967, allocations: 92.71 MB / 412.7 MB, free: 3.711 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.397, allocations: 75.95 kB / 412.8 MB, free: 3.637 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4732/0.8702, allocations: 70.45 MB / 483.2 MB, free: 88.99 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.276e-06/0.8703, allocations: 0 / 483.2 MB, free: 88.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001535/0.8705, allocations: 64 kB / 483.3 MB, free: 88.93 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.008537/0.879, allocations: 3.345 MB / 486.7 MB, free: 85.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.8791, allocations: 15.97 kB / 486.7 MB, free: 85.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01068/0.8898, allocations: 2.078 MB / 488.7 MB, free: 83.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02157/0.9114, allocations: 4.062 MB / 492.8 MB, free: 79.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003247/0.9118, allocations: 112 kB / 492.9 MB, free: 79.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001885/0.9137, allocations: 199.9 kB / 493.1 MB, free: 79.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0224/0.9361, allocations: 5.034 MB / 498.1 MB, free: 74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02674/0.9629, allocations: 7.944 MB / 0.4942 GB, free: 65.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003132/0.9633, allocations: 63.39 kB / 0.4943 GB, free: 65.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001171/0.9645, allocations: 28 kB / 0.4943 GB, free: 64.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002821/0.9674, allocations: 0.8643 MB / 0.4952 GB, free: 64.13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05456/1.022, allocations: 40.96 MB / 0.5352 GB, free: 22.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003181/1.025, allocations: 2.472 MB / 0.5376 GB, free: 19.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001874/1.027, allocations: 1.377 MB / 0.5389 GB, free: 18.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003375/1.027, allocations: 327 kB / 0.5392 GB, free: 17.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/1.028, allocations: 51.27 kB / 0.5393 GB, free: 17.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 5.578e-06/1.028, allocations: 4 kB / 0.5393 GB, free: 17.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=130): time 0.02448/1.052, allocations: 11.26 MB / 0.5503 GB, free: 6.203 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/1.052, allocations: 196.5 kB / 0.5505 GB, free: 5.965 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005073/1.057, allocations: 2.797 MB / 0.5532 GB, free: 3.164 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002591/1.058, allocations: 25.7 kB / 0.5532 GB, free: 3.133 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00173/1.059, allocations: 2.755 MB / 0.5559 GB, free: 348 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007025/1.06, allocations: 0.5106 MB / 0.5564 GB, free: 15.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003182/1.06, allocations: 0 / 0.5564 GB, free: 15.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005278/1.061, allocations: 0.5382 MB / 0.5569 GB, free: 15.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00371/1.065, allocations: 1.596 MB / 0.5585 GB, free: 13.67 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006975/1.072, allocations: 5.096 MB / 0.5635 GB, free: 6.781 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005754/1.077, allocations: 2.837 MB / 0.5662 GB, free: 3.941 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.869e-05/1.078, allocations: 36 kB / 0.5663 GB, free: 3.906 MB / 394.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01402/1.092, allocations: 5.936 MB / 0.5721 GB, free: 13.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000109/1.092, allocations: 60 kB / 0.5721 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001607/1.092, allocations: 128 kB / 0.5723 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008387/1.093, allocations: 352.7 kB / 0.5726 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005161/1.098, allocations: 1.318 MB / 0.5739 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003263/1.101, allocations: 2.257 MB / 0.5761 GB, free: 9.746 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004847/1.106, allocations: 191.6 kB / 0.5763 GB, free: 9.559 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000928/1.107, allocations: 344 kB / 0.5766 GB, free: 9.223 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (686): * Single equations (assignments): 682 * 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.0009678/1.108, allocations: 416.9 kB / 0.577 GB, free: 8.805 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006655/1.109, allocations: 280.3 kB / 0.5773 GB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005993/1.115, allocations: 2.251 MB / 0.5795 GB, free: 6.258 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.836e-05/1.115, allocations: 20.03 kB / 0.5795 GB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/1.115, allocations: 8.031 kB / 0.5795 GB, free: 6.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-05/1.115, allocations: 7.984 kB / 0.5795 GB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01477/1.13, allocations: 5.599 MB / 0.585 GB, free: 0.582 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/1.13, allocations: 4 kB / 0.585 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/1.131, allocations: 183.8 kB / 0.5851 GB, free: 408 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002864/1.134, allocations: 0.703 MB / 0.5858 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/1.134, allocations: 8 kB / 0.5858 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007942/1.142, allocations: 4.286 MB / 0.59 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/1.142, allocations: 0 / 0.59 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009223/1.151, allocations: 4.397 MB / 0.5943 GB, free: 6.809 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001461/1.153, allocations: 0.5012 MB / 0.5948 GB, free: 6.285 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003718/1.153, allocations: 8.062 kB / 0.5948 GB, free: 6.277 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/1.154, allocations: 55.84 kB / 0.5949 GB, free: 6.223 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002503/1.155, allocations: 76.45 kB / 0.5949 GB, free: 6.148 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/1.155, allocations: 31.98 kB / 0.595 GB, free: 6.117 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005017/1.16, allocations: 1.849 MB / 0.5968 GB, free: 4.273 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.861e-06/1.16, allocations: 0 / 0.5968 GB, free: 4.273 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01015/1.17, allocations: 0.7069 MB / 0.5975 GB, free: 3.566 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 93 * 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.0006565/1.171, allocations: 139 kB / 0.5976 GB, free: 3.422 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.2897/1.46, allocations: 3.75 MB / 0.6013 GB, free: 124.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.83e-06/1.461, allocations: 0.5 kB / 0.6013 GB, free: 124.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002269/1.463, allocations: 1.075 MB / 0.6023 GB, free: 124.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/1.465, allocations: 292.1 kB / 0.6026 GB, free: 124.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/1.478, allocations: 6.212 MB / 0.6087 GB, free: 123 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00424/1.483, allocations: 2.835 MB / 0.6114 GB, free: 122.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/1.484, allocations: 238.3 kB / 0.6116 GB, free: 122.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.848e-06/1.484, allocations: 2.188 kB / 0.6117 GB, free: 122.2 MB / 426.7 MB Notification: Performance of Templates: time 0.08092/1.565, allocations: 59.05 MB / 0.6693 GB, free: 85.75 MB / 426.7 MB