Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadModel(ModelicaTest): time 2.424/2.424, allocations: 234.9 MB / 251.1 MB, free: 9.688 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000592/0.0005921, allocations: 12 kB / 314.9 MB, free: 9.742 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3506, allocations: 54.86 MB / 369.8 MB, free: 12.78 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1776/0.5283, allocations: 100.3 MB / 470.1 MB, free: 8.375 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.5287, allocations: 79.95 kB / 470.1 MB, free: 8.297 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5736/1.102, allocations: 72.29 MB / 0.5297 GB, free: 103.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.147e-06/1.102, allocations: 4 kB / 0.5297 GB, free: 103.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001963/1.103, allocations: 71.44 kB / 0.5298 GB, free: 103.8 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01196/1.115, allocations: 3.569 MB / 0.5333 GB, free: 100.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/1.115, allocations: 8.031 kB / 0.5333 GB, free: 100.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01487/1.13, allocations: 2.07 MB / 0.5353 GB, free: 98.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01384/1.143, allocations: 4.097 MB / 0.5393 GB, free: 94.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001915/1.144, allocations: 258.9 kB / 0.5396 GB, free: 94.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001007/1.145, allocations: 343.4 kB / 0.5399 GB, free: 93.83 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0205/1.165, allocations: 8.887 MB / 0.5486 GB, free: 84.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001843/1.165, allocations: 55.45 kB / 0.5486 GB, free: 83.97 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006908/1.166, allocations: 174.2 kB / 0.5488 GB, free: 83.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001582/1.168, allocations: 0.8712 MB / 0.5496 GB, free: 82.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01924/1.187, allocations: 7.158 MB / 0.5566 GB, free: 75.79 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05153/1.239, allocations: 42.6 MB / 0.5982 GB, free: 31.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01109/1.25, allocations: 3.177 MB / 0.6013 GB, free: 28.63 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008591/1.258, allocations: 4.076 MB / 0.6053 GB, free: 24.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/1.258, allocations: 47.06 kB / 0.6053 GB, free: 24.37 MB / 426.7 MB Notification: Performance of pre-optimization done (n=114): time 5.13e-06/1.258, allocations: 3.938 kB / 0.6053 GB, free: 24.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=122): time 0.04355/1.302, allocations: 11.56 MB / 0.6166 GB, free: 12.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/1.302, allocations: 174.7 kB / 0.6168 GB, free: 12.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007027/1.309, allocations: 3.705 MB / 0.6204 GB, free: 8.699 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003344/1.309, allocations: 41.7 kB / 0.6205 GB, free: 8.652 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001908/1.311, allocations: 2.672 MB / 0.6231 GB, free: 5.984 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006112/1.312, allocations: 0.4987 MB / 0.6236 GB, free: 5.492 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003403/1.312, allocations: 104 kB / 0.6237 GB, free: 5.391 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002891/1.313, allocations: 0.5337 MB / 0.6242 GB, free: 4.848 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003431/1.316, allocations: 1.662 MB / 0.6258 GB, free: 3.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006436/1.323, allocations: 5.075 MB / 0.6308 GB, free: 12.38 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006764/1.329, allocations: 2.85 MB / 0.6335 GB, free: 9.527 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001022/1.33, allocations: 32 kB / 0.6336 GB, free: 9.496 MB / 442.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01794/1.347, allocations: 6.515 MB / 0.6399 GB, free: 2.969 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/1.348, allocations: 60 kB / 0.64 GB, free: 2.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001694/1.348, allocations: 124.2 kB / 0.6401 GB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/1.349, allocations: 336.7 kB / 0.6404 GB, free: 2.457 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007716/1.357, allocations: 1.271 MB / 0.6417 GB, free: 1.184 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003938/1.361, allocations: 2.38 MB / 0.644 GB, free: 14.67 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005556/1.366, allocations: 291.5 kB / 0.6443 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001137/1.367, allocations: 335.4 kB / 0.6446 GB, free: 14.06 MB / 458.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.00443/1.372, allocations: 1.767 MB / 0.6463 GB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008097/1.373, allocations: 315.9 kB / 0.6466 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008099/1.381, allocations: 2.323 MB / 0.6489 GB, free: 9.629 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.716e-05/1.381, allocations: 12 kB / 0.6489 GB, free: 9.617 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/1.381, allocations: 7.375 kB / 0.6489 GB, free: 9.613 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.971e-05/1.381, allocations: 7.984 kB / 0.6489 GB, free: 9.605 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01867/1.4, allocations: 5.85 MB / 0.6546 GB, free: 3.711 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.151e-05/1.4, allocations: 0 / 0.6546 GB, free: 3.711 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001591/1.401, allocations: 163.8 kB / 0.6548 GB, free: 3.551 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003893/1.405, allocations: 0.7108 MB / 0.6555 GB, free: 2.836 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001453/1.405, allocations: 20 kB / 0.6555 GB, free: 2.816 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01005/1.415, allocations: 4.556 MB / 0.6599 GB, free: 14.12 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.415, allocations: 4.031 kB / 0.66 GB, free: 14.12 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01161/1.427, allocations: 4.27 MB / 0.6641 GB, free: 9.82 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001781/1.429, allocations: 0.5243 MB / 0.6646 GB, free: 9.273 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005951/1.429, allocations: 24 kB / 0.6647 GB, free: 9.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001999/1.431, allocations: 72.44 kB / 0.6647 GB, free: 9.18 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002844/1.432, allocations: 64.47 kB / 0.6648 GB, free: 9.117 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/1.432, allocations: 28 kB / 0.6648 GB, free: 9.09 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005599/1.438, allocations: 2.315 MB / 0.6671 GB, free: 6.789 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.438, allocations: 0 / 0.6671 GB, free: 6.789 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00591/1.444, allocations: 0.8195 MB / 0.6679 GB, free: 5.973 MB / 474.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.0006315/1.444, allocations: 159 kB / 0.668 GB, free: 5.809 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009853/1.454, allocations: 3.949 MB / 0.6719 GB, free: 1.879 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/1.454, allocations: 0 / 0.6719 GB, free: 1.879 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002706/1.457, allocations: 1.083 MB / 0.6729 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002766/1.46, allocations: 365.9 kB / 0.6733 GB, free: 432 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3227/1.782, allocations: 8.876 MB / 0.682 GB, free: 133.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003688/1.786, allocations: 2.838 MB / 0.6847 GB, free: 132.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001282/1.787, allocations: 250.9 kB / 0.685 GB, free: 132.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.022e-06/1.787, allocations: 0 / 0.685 GB, free: 132.5 MB / 474.7 MB Notification: Performance of Templates: time 0.1018/1.889, allocations: 60.9 MB / 0.7444 GB, free: 95.13 MB / 474.7 MB