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.VoluminousWheel.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.VoluminousWheel,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.VoluminousWheel") Notification: Performance of loadModel(ModelicaTest): time 2.146/2.146, allocations: 234.9 MB / 250.5 MB, free: 9.469 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004217/0.000422, allocations: 8 kB / 314.3 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2734, allocations: 54.86 MB / 369.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.01069/0.2841, allocations: 7.487 MB / 376.7 MB, free: 3.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004517/0.2887, allocations: 1.926 MB / 378.6 MB, free: 1.246 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006756/0.2894, allocations: 31.94 kB / 378.6 MB, free: 1.215 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007778/0.2902, allocations: 338.5 kB / 379 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002795/0.293, allocations: 0.974 MB / 379.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.2932, allocations: 27.86 kB / 380 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001342/0.2946, allocations: 0.8381 MB / 380.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001477/0.296, allocations: 0.8705 MB / 381.7 MB, free: 14.13 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005229/0.2966, allocations: 382.6 kB / 382 MB, free: 13.76 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007711/0.2974, allocations: 0.506 MB / 382.6 MB, free: 13.25 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001563/0.2976, allocations: 56 kB / 382.6 MB, free: 13.2 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005943/0.2982, allocations: 259.7 kB / 382.9 MB, free: 12.94 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006757/0.2989, allocations: 0.5805 MB / 383.4 MB, free: 12.36 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000375/0.2992, allocations: 356.6 kB / 383.8 MB, free: 12 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002568/0.3018, allocations: 2.004 MB / 385.8 MB, free: 9.996 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.3019, allocations: 0 / 385.8 MB, free: 9.996 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.241e-06/0.3019, allocations: 0 / 385.8 MB, free: 9.996 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.3e-05/0.3019, allocations: 0 / 385.8 MB, free: 9.996 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 703 * Number of variables: 703 Notification: Performance of Generate backend data structure: time 0.002869/0.3048, allocations: 1.651 MB / 387.4 MB, free: 8.293 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3048, allocations: 8.031 kB / 387.5 MB, free: 8.285 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007413/0.3123, allocations: 1.784 MB / 389.2 MB, free: 6.496 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001978/0.3143, allocations: 0.8307 MB / 390.1 MB, free: 5.621 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.3144, allocations: 85.84 kB / 390.2 MB, free: 5.535 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002899/0.3147, allocations: 103.8 kB / 390.3 MB, free: 5.434 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007822/0.3225, allocations: 4.602 MB / 394.9 MB, free: 436 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.023e-05/0.3226, allocations: 19.81 kB / 394.9 MB, free: 416 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002356/0.3229, allocations: 63.91 kB / 394.9 MB, free: 352 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002227/0.3251, allocations: 1.103 MB / 396 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008547/0.3337, allocations: 3.972 MB / 400 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02482/0.3585, allocations: 18.37 MB / 418.4 MB, free: 8.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/0.3604, allocations: 1.175 MB / 419.6 MB, free: 6.938 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.3605, allocations: 4 kB / 419.6 MB, free: 6.934 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.3605, allocations: 50.47 kB / 419.6 MB, free: 6.875 MB / 346.7 MB Notification: Performance of pre-optimization done (n=60): time 4.414e-06/0.3605, allocations: 0 / 419.6 MB, free: 6.875 MB / 346.7 MB Notification: Performance of matching and sorting (n=60): time 0.002364/0.3629, allocations: 1.274 MB / 420.9 MB, free: 5.539 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.236e-05/0.363, allocations: 106.8 kB / 421 MB, free: 5.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004028/0.367, allocations: 2.171 MB / 423.2 MB, free: 3.191 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.457e-05/0.3671, allocations: 29.7 kB / 423.2 MB, free: 3.156 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001487/0.3686, allocations: 1.635 MB / 424.8 MB, free: 1.496 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003271/0.369, allocations: 261 kB / 425.1 MB, free: 1.238 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.3692, allocations: 64 kB / 425.1 MB, free: 1.176 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003609/0.3695, allocations: 457.9 kB / 425.6 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/0.3713, allocations: 0.881 MB / 426.5 MB, free: 15.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00381/0.3752, allocations: 3.136 MB / 429.6 MB, free: 11.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003161/0.3784, allocations: 1.673 MB / 431.3 MB, free: 9.891 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-05/0.3784, allocations: 20 kB / 431.3 MB, free: 9.871 MB / 362.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.008358/0.3868, allocations: 3.748 MB / 435 MB, free: 6.121 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.566e-05/0.3869, allocations: 45.19 kB / 435.1 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001122/0.3871, allocations: 80 kB / 435.2 MB, free: 6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001598/0.3872, allocations: 116 kB / 435.3 MB, free: 5.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002713/0.39, allocations: 0.7449 MB / 436 MB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001805/0.3902, allocations: 159.4 kB / 436.2 MB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002959/0.3931, allocations: 494.8 kB / 436.7 MB, free: 4.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004128/0.3936, allocations: 216.1 kB / 436.9 MB, free: 4.285 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 368 * Number of states: 0 () * Number of discrete variables: 9 (world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (407): * Single equations (assignments): 404 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001987/0.3956, allocations: 1.097 MB / 438 MB, free: 3.176 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003358/0.3959, allocations: 161.8 kB / 438.1 MB, free: 3.016 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003828/0.3963, allocations: 195.8 kB / 438.3 MB, free: 2.824 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.927e-05/0.3964, allocations: 11.91 kB / 438.3 MB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/0.3964, allocations: 4 kB / 438.3 MB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.744e-06/0.3964, allocations: 3.984 kB / 438.3 MB, free: 2.809 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004313/0.4007, allocations: 2.007 MB / 440.3 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.4008, allocations: 4 kB / 440.4 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003764/0.4012, allocations: 63.89 kB / 440.4 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.4012, allocations: 4 kB / 440.4 MB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.06e-05/0.4012, allocations: 8 kB / 440.4 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.424e-06/0.4013, allocations: 0 / 440.4 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.26e-06/0.4013, allocations: 3.953 kB / 440.4 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.4028, allocations: 1.023 MB / 441.5 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004392/0.4033, allocations: 234.8 kB / 441.7 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/0.4035, allocations: 11.98 kB / 441.7 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006847/0.4042, allocations: 27.95 kB / 441.7 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.107e-05/0.4043, allocations: 31.69 kB / 441.8 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.97e-05/0.4044, allocations: 20 kB / 441.8 MB, free: 15.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002675/0.4071, allocations: 1.351 MB / 443.1 MB, free: 13.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.34e-07/0.4071, allocations: 0 / 443.1 MB, free: 13.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003086/0.4102, allocations: 498.8 kB / 443.6 MB, free: 13.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * 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 (36): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003101/0.4105, allocations: 131.1 kB / 443.7 MB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004064/0.4146, allocations: 2.011 MB / 445.7 MB, free: 11.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.158e-06/0.4147, allocations: 4.438 kB / 445.8 MB, free: 11.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006238/0.4153, allocations: 339.7 kB / 446.1 MB, free: 10.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.4163, allocations: 147 kB / 446.2 MB, free: 10.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008883/0.4252, allocations: 4.593 MB / 450.8 MB, free: 6.148 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002503/0.4278, allocations: 1.822 MB / 452.6 MB, free: 4.293 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005006/0.4283, allocations: 147.4 kB / 452.8 MB, free: 4.152 MB / 378.7 MB Notification: Performance of SimCode: time 1.834e-06/0.4283, allocations: 0 / 452.8 MB, free: 4.152 MB / 378.7 MB Notification: Performance of Templates: time 0.3013/0.7297, allocations: 24.73 MB / 477.5 MB, free: 73.5 MB / 394.7 MB