Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.247/2.247, allocations: 234.9 MB / 250.5 MB, free: 9.461 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004731, allocations: 12 kB / 314.4 MB, free: 9.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3615, allocations: 54.87 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1733/0.5349, allocations: 100.3 MB / 469.5 MB, free: 6.277 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/0.5352, allocations: 79.95 kB / 469.6 MB, free: 6.199 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4937/1.029, allocations: 71.81 MB / 0.5287 GB, free: 43.49 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.254e-06/1.029, allocations: 0 / 0.5287 GB, free: 43.49 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001464/1.029, allocations: 64 kB / 0.5288 GB, free: 43.43 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.009869/1.039, allocations: 3.559 MB / 0.5323 GB, free: 39.8 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/1.039, allocations: 12.03 kB / 0.5323 GB, free: 39.79 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01099/1.05, allocations: 2.082 MB / 0.5343 GB, free: 37.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01133/1.061, allocations: 4.076 MB / 0.5383 GB, free: 33.56 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002281/1.062, allocations: 270.7 kB / 0.5386 GB, free: 33.3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001139/1.063, allocations: 347.8 kB / 0.5389 GB, free: 32.96 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01715/1.08, allocations: 8.848 MB / 0.5475 GB, free: 23.11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001642/1.08, allocations: 63.48 kB / 0.5476 GB, free: 23.05 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000791/1.081, allocations: 171.9 kB / 0.5478 GB, free: 22.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001391/1.082, allocations: 0.8642 MB / 0.5486 GB, free: 22.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01563/1.098, allocations: 7.159 MB / 0.5556 GB, free: 14.85 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05459/1.153, allocations: 42.61 MB / 0.5972 GB, free: 2.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009889/1.163, allocations: 3.18 MB / 0.6003 GB, free: 15.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009307/1.172, allocations: 4.089 MB / 0.6043 GB, free: 11.26 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.389e-05/1.172, allocations: 47.12 kB / 0.6043 GB, free: 11.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=114): time 5.076e-06/1.172, allocations: 0 / 0.6043 GB, free: 11.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=122): time 0.03758/1.21, allocations: 11.35 MB / 0.6154 GB, free: 15.64 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/1.21, allocations: 174.7 kB / 0.6156 GB, free: 15.44 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009323/1.219, allocations: 3.313 MB / 0.6188 GB, free: 12.13 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004843/1.22, allocations: 45.7 kB / 0.6189 GB, free: 12.08 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005305/1.225, allocations: 2.67 MB / 0.6215 GB, free: 9.375 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001463/1.227, allocations: 0.49 MB / 0.622 GB, free: 8.879 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009211/1.228, allocations: 112 kB / 0.6221 GB, free: 8.77 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0009214/1.229, allocations: 0.5299 MB / 0.6226 GB, free: 8.23 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007809/1.236, allocations: 1.666 MB / 0.6242 GB, free: 6.559 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01346/1.25, allocations: 5.055 MB / 0.6292 GB, free: 15.78 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01175/1.262, allocations: 2.846 MB / 0.6319 GB, free: 12.93 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001868/1.262, allocations: 39.88 kB / 0.632 GB, free: 12.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.03141/1.293, allocations: 6.507 MB / 0.6383 GB, free: 6.375 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002226/1.294, allocations: 56 kB / 0.6384 GB, free: 6.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003616/1.294, allocations: 128.8 kB / 0.6385 GB, free: 6.195 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001673/1.296, allocations: 348.7 kB / 0.6388 GB, free: 5.852 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009874/1.306, allocations: 1.271 MB / 0.6401 GB, free: 4.578 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003731/1.309, allocations: 2.38 MB / 0.6424 GB, free: 2.062 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005174/1.315, allocations: 287.6 kB / 0.6427 GB, free: 1.781 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001144/1.316, allocations: 336 kB / 0.643 GB, free: 1.453 MB / 474.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.2834/1.599, allocations: 1.765 MB / 0.6447 GB, free: 120.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007848/1.6, allocations: 305.8 kB / 0.645 GB, free: 120.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006809/1.607, allocations: 2.33 MB / 0.6473 GB, free: 120.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.853e-05/1.607, allocations: 16.53 kB / 0.6473 GB, free: 120.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.681e-05/1.607, allocations: 5.172 kB / 0.6473 GB, free: 120.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.772e-05/1.607, allocations: 6.469 kB / 0.6473 GB, free: 120.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01498/1.622, allocations: 5.837 MB / 0.653 GB, free: 120.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.118e-05/1.622, allocations: 3.375 kB / 0.653 GB, free: 120.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/1.623, allocations: 164.8 kB / 0.6532 GB, free: 120.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002783/1.626, allocations: 0.707 MB / 0.6539 GB, free: 120.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002407/1.626, allocations: 25.75 kB / 0.6539 GB, free: 120.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007355/1.634, allocations: 4.556 MB / 0.6583 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.927e-06/1.634, allocations: 7.406 kB / 0.6583 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008685/1.643, allocations: 4.384 MB / 0.6626 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001675/1.644, allocations: 0.5346 MB / 0.6631 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007556/1.645, allocations: 18.11 kB / 0.6632 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001828/1.647, allocations: 80.83 kB / 0.6632 GB, free: 118 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003483/1.647, allocations: 65.45 kB / 0.6633 GB, free: 118 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/1.647, allocations: 35.06 kB / 0.6633 GB, free: 118 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005064/1.652, allocations: 2.307 MB / 0.6656 GB, free: 117.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.102e-06/1.653, allocations: 0 / 0.6656 GB, free: 117.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00598/1.658, allocations: 0.8111 MB / 0.6664 GB, free: 117.9 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.0004741/1.659, allocations: 157.5 kB / 0.6665 GB, free: 117.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007598/1.667, allocations: 3.947 MB / 0.6704 GB, free: 117.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.206e-06/1.667, allocations: 0 / 0.6704 GB, free: 117.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002036/1.669, allocations: 1.094 MB / 0.6715 GB, free: 117 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002413/1.671, allocations: 348.4 kB / 0.6718 GB, free: 116.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0165/1.688, allocations: 8.848 MB / 0.6804 GB, free: 112.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005014/1.693, allocations: 2.837 MB / 0.6832 GB, free: 111.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/1.694, allocations: 249.4 kB / 0.6834 GB, free: 111.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.602e-06/1.694, allocations: 0 / 0.6834 GB, free: 111.2 MB / 474.7 MB Notification: Performance of Templates: time 0.09038/1.784, allocations: 60.9 MB / 0.7429 GB, free: 68.29 MB / 474.7 MB