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.Visualizers.Shapes.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.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="// No comparison signals available. Just an animation test.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Visualizers.Shapes") Notification: Performance of loadModel(ModelicaTest): time 2.14/2.14, allocations: 235 MB / 248.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.828e-05/2.848e-05, allocations: 4 kB / 309.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.4029, allocations: 54.85 MB / 364.5 MB, free: 5.383 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.152/0.555, allocations: 85.42 MB / 450 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.5552, allocations: 72.56 kB / 450 MB, free: 10.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09828/0.6535, allocations: 26.75 MB / 476.8 MB, free: 15.92 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.198e-06/0.6536, allocations: 0 / 476.8 MB, free: 15.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.455e-05/0.6537, allocations: 35.98 kB / 476.8 MB, free: 15.89 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 642 * Number of variables: 642 Notification: Performance of Generate backend data structure: time 0.003348/0.657, allocations: 1.561 MB / 478.4 MB, free: 14.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.6571, allocations: 15.97 kB / 478.4 MB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.6584, allocations: 257.2 kB / 478.6 MB, free: 14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002038/0.6604, allocations: 0.8294 MB / 479.5 MB, free: 13.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001655/0.6606, allocations: 143.8 kB / 479.6 MB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004421/0.6611, allocations: 188 kB / 479.8 MB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006839/0.6679, allocations: 3.312 MB / 483.1 MB, free: 9.102 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.42e-05/0.6681, allocations: 19.81 kB / 483.1 MB, free: 9.082 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002776/0.6683, allocations: 87.94 kB / 483.2 MB, free: 8.996 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005763/0.6689, allocations: 340 kB / 483.5 MB, free: 8.664 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004534/0.6735, allocations: 1.822 MB / 485.4 MB, free: 6.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01918/0.6927, allocations: 15.11 MB / 0.4887 GB, free: 7.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.6929, allocations: 169.1 kB / 0.4889 GB, free: 7.055 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.043e-05/0.6929, allocations: 80.14 kB / 0.489 GB, free: 6.973 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.565e-05/0.693, allocations: 79.28 kB / 0.4891 GB, free: 6.895 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.558e-05/0.6931, allocations: 105.8 kB / 0.4892 GB, free: 6.781 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 3.267e-06/0.6931, allocations: 0 / 0.4892 GB, free: 6.781 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 0.0003672/0.6935, allocations: 148.2 kB / 0.4893 GB, free: 6.629 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.936e-05/0.6936, allocations: 134.7 kB / 0.4894 GB, free: 6.484 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002891/0.6965, allocations: 1.43 MB / 0.4908 GB, free: 5.047 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.6965, allocations: 25.7 kB / 0.4909 GB, free: 5.016 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001258/0.6978, allocations: 1.373 MB / 0.4922 GB, free: 3.621 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.592e-05/0.6979, allocations: 43.95 kB / 0.4922 GB, free: 3.578 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.886e-05/0.698, allocations: 43.94 kB / 0.4923 GB, free: 3.535 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002767/0.6983, allocations: 394.8 kB / 0.4927 GB, free: 3.141 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007842/0.6991, allocations: 347.9 kB / 0.493 GB, free: 2.797 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002122/0.7012, allocations: 1.876 MB / 0.4948 GB, free: 116 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.7028, allocations: 0.7723 MB / 0.4956 GB, free: 15.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-05/0.7028, allocations: 16 kB / 0.4956 GB, free: 15.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004472/0.7073, allocations: 2.01 MB / 0.4976 GB, free: 13.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.893e-05/0.7074, allocations: 32 kB / 0.4976 GB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.539e-05/0.7075, allocations: 56 kB / 0.4976 GB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001149/0.7076, allocations: 80 kB / 0.4977 GB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/0.7093, allocations: 479.1 kB / 0.4982 GB, free: 12.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001245/0.7094, allocations: 111.6 kB / 0.4983 GB, free: 12.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/0.7114, allocations: 308.6 kB / 0.4986 GB, free: 12.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002479/0.7117, allocations: 144 kB / 0.4987 GB, free: 12.12 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 257 * Number of states: 0 () * Number of discrete variables: 36 (world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004242/0.7122, allocations: 374.1 kB / 0.4991 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002672/0.7124, allocations: 223.4 kB / 0.4993 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000327/0.7128, allocations: 228.1 kB / 0.4995 GB, free: 11.28 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.196e-05/0.7129, allocations: 180.2 kB / 0.4997 GB, free: 11.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-05/0.713, allocations: 184.3 kB / 0.4998 GB, free: 10.91 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.29e-05/0.7131, allocations: 184.2 kB / 0.5 GB, free: 10.72 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002544/0.7156, allocations: 1.473 MB / 0.5015 GB, free: 9.191 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.979e-05/0.7157, allocations: 108.9 kB / 0.5016 GB, free: 9.078 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.666e-05/0.7158, allocations: 105 kB / 0.5017 GB, free: 8.969 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.49e-05/0.7159, allocations: 180.4 kB / 0.5018 GB, free: 8.785 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.882e-05/0.716, allocations: 184.2 kB / 0.502 GB, free: 8.598 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.241e-05/0.7161, allocations: 180.3 kB / 0.5022 GB, free: 8.414 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.535e-05/0.7162, allocations: 188.2 kB / 0.5024 GB, free: 8.223 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000375/0.7166, allocations: 425.2 kB / 0.5028 GB, free: 7.781 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004352/0.7171, allocations: 300.5 kB / 0.503 GB, free: 7.461 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/0.7173, allocations: 176.3 kB / 0.5032 GB, free: 7.281 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004356/0.7177, allocations: 104.9 kB / 0.5033 GB, free: 7.172 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.794e-05/0.7179, allocations: 184.2 kB / 0.5035 GB, free: 6.984 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.525e-05/0.7179, allocations: 101 kB / 0.5036 GB, free: 6.879 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001909/0.7198, allocations: 0.9771 MB / 0.5045 GB, free: 5.902 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.48e-07/0.7199, allocations: 7.938 kB / 0.5046 GB, free: 5.895 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00237/0.7222, allocations: 434 kB / 0.505 GB, free: 5.469 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000214/0.7225, allocations: 174.5 kB / 0.5051 GB, free: 5.285 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001946/0.7244, allocations: 0.8648 MB / 0.506 GB, free: 4.434 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.354e-06/0.7245, allocations: 0 / 0.506 GB, free: 4.434 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.419e-06/0.7245, allocations: 3.938 kB / 0.506 GB, free: 4.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.7255, allocations: 0.6486 MB / 0.5066 GB, free: 3.777 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00535/0.7309, allocations: 2.245 MB / 0.5088 GB, free: 1.488 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002091/0.733, allocations: 1.599 MB / 0.5104 GB, free: 15.86 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.7333, allocations: 87.44 kB / 0.5105 GB, free: 15.77 MB / 458.7 MB Notification: Performance of SimCode: time 1.844e-06/0.7333, allocations: 0 / 0.5105 GB, free: 15.77 MB / 458.7 MB Notification: Performance of Templates: time 0.2816/1.015, allocations: 17.01 MB / 0.5271 GB, free: 130.8 MB / 458.7 MB