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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.148/2.148, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.64e-05/1.65e-05, allocations: 4 kB / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2703, allocations: 54.85 MB / 358 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1276/0.398, allocations: 84.76 MB / 442.8 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.3983, allocations: 71.97 kB / 442.9 MB, free: 9.977 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3722/0.7706, allocations: 25.96 MB / 468.8 MB, free: 89.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.518e-06/0.7706, allocations: 0 / 468.8 MB, free: 89.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001125/0.7707, allocations: 31.69 kB / 468.9 MB, free: 89.84 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: 642 * Number of variables: 642 Notification: Performance of Generate backend data structure: time 0.003569/0.7743, allocations: 1.57 MB / 470.4 MB, free: 89.37 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.7744, allocations: 9.656 kB / 470.4 MB, free: 89.37 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/0.7756, allocations: 263.6 kB / 470.7 MB, free: 89.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/0.7777, allocations: 0.824 MB / 471.5 MB, free: 88.99 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.7778, allocations: 61.06 kB / 471.6 MB, free: 88.99 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000369/0.7782, allocations: 107.1 kB / 471.7 MB, free: 88.99 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003757/0.782, allocations: 1.693 MB / 473.4 MB, free: 88.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005407/0.7874, allocations: 3.049 MB / 476.4 MB, free: 87.94 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.699e-05/0.7875, allocations: 17.69 kB / 476.4 MB, free: 87.94 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002137/0.7877, allocations: 19 kB / 476.5 MB, free: 87.94 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004478/0.7882, allocations: 329.1 kB / 476.8 MB, free: 87.94 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01181/0.8, allocations: 14.43 MB / 491.2 MB, free: 77.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.796e-05/0.8001, allocations: 168.6 kB / 491.4 MB, free: 77.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.915e-05/0.8001, allocations: 80.14 kB / 491.4 MB, free: 77.08 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.8002, allocations: 75.28 kB / 491.5 MB, free: 77.01 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.8002, allocations: 113.5 kB / 491.6 MB, free: 76.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 4.159e-06/0.8002, allocations: 0 / 491.6 MB, free: 76.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002341/0.8005, allocations: 136.4 kB / 491.8 MB, free: 76.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.753e-05/0.8005, allocations: 54.16 kB / 491.8 MB, free: 76.74 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.8019, allocations: 1.1 MB / 492.9 MB, free: 76.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.212e-06/0.8019, allocations: 25.7 kB / 492.9 MB, free: 76.22 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006545/0.8026, allocations: 1.417 MB / 494.4 MB, free: 75.08 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.8027, allocations: 40.56 kB / 494.4 MB, free: 75.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.384e-05/0.8027, allocations: 0 / 494.4 MB, free: 75.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.8029, allocations: 395.4 kB / 494.8 MB, free: 74.72 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005198/0.8034, allocations: 310.2 kB / 495.1 MB, free: 74.62 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/0.8046, allocations: 1.825 MB / 496.9 MB, free: 72.39 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.8056, allocations: 0.7186 MB / 497.6 MB, free: 72.11 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.979e-05/0.8056, allocations: 15.5 kB / 497.6 MB, free: 72.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.003046/0.8087, allocations: 1.694 MB / 499.3 MB, free: 71.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.325e-05/0.8088, allocations: 30.28 kB / 499.4 MB, free: 71.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.526e-05/0.8088, allocations: 56.38 kB / 499.4 MB, free: 71.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.38e-05/0.809, allocations: 78.78 kB / 499.5 MB, free: 71.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.8104, allocations: 481.8 kB / 500 MB, free: 71.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.14e-05/0.8104, allocations: 111.9 kB / 0.4884 GB, free: 71.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/0.8123, allocations: 244.1 kB / 0.4886 GB, free: 71.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/0.8125, allocations: 137.9 kB / 0.4887 GB, free: 71.27 MB / 394.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.0002766/0.8128, allocations: 337.4 kB / 0.489 GB, free: 70.97 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.813, allocations: 208.1 kB / 0.4892 GB, free: 70.81 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/0.8132, allocations: 210 kB / 0.4894 GB, free: 70.66 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.708e-05/0.8132, allocations: 176.3 kB / 0.4896 GB, free: 70.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.117e-05/0.8133, allocations: 191.8 kB / 0.4898 GB, free: 70.29 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-05/0.8133, allocations: 176.3 kB / 0.49 GB, free: 70.11 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.8146, allocations: 1.009 MB / 0.491 GB, free: 69.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.988e-05/0.8146, allocations: 108.4 kB / 0.4911 GB, free: 69.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.659e-05/0.8147, allocations: 101 kB / 0.4912 GB, free: 69.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.292e-05/0.8147, allocations: 188 kB / 0.4913 GB, free: 69.11 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/0.8147, allocations: 180.2 kB / 0.4915 GB, free: 68.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.778e-05/0.8148, allocations: 180.2 kB / 0.4917 GB, free: 68.74 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.812e-05/0.8148, allocations: 183.6 kB / 0.4919 GB, free: 68.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.815, allocations: 405.4 kB / 0.4922 GB, free: 68.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002192/0.8152, allocations: 258.6 kB / 0.4925 GB, free: 67.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.8154, allocations: 188 kB / 0.4927 GB, free: 67.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003603/0.8158, allocations: 105 kB / 0.4928 GB, free: 67.64 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.8158, allocations: 188.1 kB / 0.4929 GB, free: 67.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.8158, allocations: 105 kB / 0.493 GB, free: 67.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001026/0.8169, allocations: 0.7057 MB / 0.4937 GB, free: 67.04 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.63e-07/0.8169, allocations: 0 / 0.4937 GB, free: 67.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002101/0.819, allocations: 413.1 kB / 0.4941 GB, free: 66.93 MB / 394.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.0001488/0.8192, allocations: 175.2 kB / 0.4943 GB, free: 66.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001333/0.8205, allocations: 0.7614 MB / 0.495 GB, free: 66.51 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.58e-06/0.8205, allocations: 0 / 0.495 GB, free: 66.51 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.225e-06/0.8206, allocations: 0.5 kB / 0.495 GB, free: 66.51 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006187/0.8212, allocations: 0.6049 MB / 0.4956 GB, free: 65.94 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004172/0.8254, allocations: 2.221 MB / 0.4978 GB, free: 64.19 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001509/0.8269, allocations: 1.61 MB / 0.4994 GB, free: 62.87 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.8271, allocations: 79.44 kB / 0.4994 GB, free: 62.79 MB / 394.7 MB Notification: Performance of SimCode: time 1.916e-06/0.8271, allocations: 0 / 0.4994 GB, free: 62.79 MB / 394.7 MB Notification: Performance of Templates: time 0.02318/0.8503, allocations: 15.5 MB / 0.5146 GB, free: 49.39 MB / 394.7 MB