Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Visualizers.Torus.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.385/2.385, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006179/0.0006178, allocations: 20 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3501, allocations: 54.86 MB / 369.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.232/0.5822, allocations: 89.46 MB / 458.8 MB, free: 1.031 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003637/0.5826, allocations: 79.91 kB / 458.9 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6305/1.213, allocations: 67.77 MB / 0.5143 GB, free: 57.03 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.926e-06/1.213, allocations: 0 / 0.5143 GB, free: 57.03 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001315/1.213, allocations: 64 kB / 0.5144 GB, free: 56.97 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: 1440 * Number of variables: 1440 Notification: Performance of Generate backend data structure: time 0.01096/1.224, allocations: 3.119 MB / 0.5174 GB, free: 53.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/1.224, allocations: 8.031 kB / 0.5174 GB, free: 53.78 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003498/1.228, allocations: 0.7255 MB / 0.5181 GB, free: 53.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02969/1.258, allocations: 3.282 MB / 0.5213 GB, free: 49.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008711/1.266, allocations: 2.064 MB / 0.5234 GB, free: 47.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004393/1.267, allocations: 272.1 kB / 0.5236 GB, free: 47.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002784/1.27, allocations: 355.9 kB / 0.524 GB, free: 47.03 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03243/1.302, allocations: 9.055 MB / 0.5328 GB, free: 37.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001812/1.302, allocations: 11.88 kB / 0.5328 GB, free: 37.58 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002123/1.305, allocations: 163.9 kB / 0.533 GB, free: 37.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002578/1.307, allocations: 1.045 MB / 0.534 GB, free: 36.37 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02538/1.333, allocations: 8.646 MB / 0.5424 GB, free: 27.71 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0559/1.389, allocations: 29.11 MB / 0.5709 GB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008545/1.397, allocations: 3.06 MB / 0.5738 GB, free: 10.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01549/1.413, allocations: 4.873 MB / 0.5786 GB, free: 5.387 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.759e-05/1.413, allocations: 43.22 kB / 0.5786 GB, free: 5.336 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 5.47e-06/1.413, allocations: 0 / 0.5786 GB, free: 5.336 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.01173/1.425, allocations: 3.244 MB / 0.5818 GB, free: 1.973 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/1.425, allocations: 60.06 kB / 0.5819 GB, free: 1.902 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00613/1.431, allocations: 2.255 MB / 0.5841 GB, free: 15.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002297/1.431, allocations: 41.69 kB / 0.5841 GB, free: 15.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002877/1.434, allocations: 2.655 MB / 0.5867 GB, free: 12.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008797/1.435, allocations: 493.8 kB / 0.5872 GB, free: 12.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005141/1.435, allocations: 87.98 kB / 0.5873 GB, free: 12.31 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004462/1.436, allocations: 0.5006 MB / 0.5877 GB, free: 11.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003737/1.44, allocations: 1.332 MB / 0.589 GB, free: 10.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00655/1.446, allocations: 4.064 MB / 0.593 GB, free: 5.012 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005812/1.452, allocations: 2.335 MB / 0.5953 GB, free: 2.668 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.841e-05/1.452, allocations: 28 kB / 0.5953 GB, free: 2.641 MB / 426.7 MB Notification: Performance of matching and sorting (n=583) (initialization): time 0.01539/1.468, allocations: 5.163 MB / 0.6004 GB, free: 13.47 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/1.468, allocations: 57.95 kB / 0.6004 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001701/1.468, allocations: 96 kB / 0.6005 GB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001989/1.468, allocations: 147.9 kB / 0.6007 GB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006062/1.474, allocations: 0.9669 MB / 0.6016 GB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002742/1.475, allocations: 187.3 kB / 0.6018 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004791/1.479, allocations: 0.5953 MB / 0.6024 GB, free: 11.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/1.48, allocations: 279.9 kB / 0.6026 GB, free: 11.15 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 443 * Number of states: 0 () * Number of discrete variables: 18 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (535): * Single equations (assignments): 529 * Array equations: 6 * 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.005311/1.486, allocations: 1.891 MB / 0.6045 GB, free: 9.246 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005279/1.486, allocations: 209.2 kB / 0.6047 GB, free: 9.039 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000961/1.487, allocations: 267.1 kB / 0.6049 GB, free: 8.773 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.819e-05/1.487, allocations: 16 kB / 0.6049 GB, free: 8.758 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.485e-05/1.487, allocations: 3.984 kB / 0.6049 GB, free: 8.754 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/1.487, allocations: 0 / 0.6049 GB, free: 8.754 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01619/1.504, allocations: 5.629 MB / 0.6104 GB, free: 3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.685e-05/1.504, allocations: 4 kB / 0.6104 GB, free: 2.996 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/1.505, allocations: 131.8 kB / 0.6106 GB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.071e-05/1.505, allocations: 8 kB / 0.6106 GB, free: 2.859 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/1.505, allocations: 24.56 kB / 0.6106 GB, free: 2.836 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-05/1.505, allocations: 15.92 kB / 0.6106 GB, free: 2.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/1.505, allocations: 8 kB / 0.6106 GB, free: 2.812 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003986/1.509, allocations: 2.11 MB / 0.6127 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008237/1.51, allocations: 298 kB / 0.613 GB, free: 188 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004602/1.51, allocations: 19.98 kB / 0.613 GB, free: 168 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/1.512, allocations: 39.95 kB / 0.613 GB, free: 128 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002036/1.512, allocations: 60.39 kB / 0.6131 GB, free: 68 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000125/1.512, allocations: 39.98 kB / 0.6131 GB, free: 28 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003885/1.516, allocations: 1.532 MB / 0.6146 GB, free: 14.48 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.21e-07/1.516, allocations: 0 / 0.6146 GB, free: 14.48 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00549/1.521, allocations: 1.007 MB / 0.6156 GB, free: 13.47 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (78): * Single equations (assignments): 72 * Array equations: 6 * 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.004983/1.526, allocations: 3.867 MB / 0.6194 GB, free: 9.453 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007555/1.534, allocations: 3.093 MB / 0.6224 GB, free: 6.383 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/1.534, allocations: 8.062 kB / 0.6224 GB, free: 6.375 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001583/1.536, allocations: 0.7296 MB / 0.6231 GB, free: 5.648 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/1.537, allocations: 246.1 kB / 0.6234 GB, free: 5.406 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3896/1.927, allocations: 88.36 MB / 0.7096 GB, free: 77.24 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006299/1.933, allocations: 3.04 MB / 0.7126 GB, free: 76.48 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003674/1.937, allocations: 1.522 MB / 0.7141 GB, free: 76.47 MB / 474.7 MB Notification: Performance of SimCode: time 1.172e-06/1.937, allocations: 3.312 kB / 0.7141 GB, free: 76.47 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.692/5.629, allocations: 61.15 MB / 0.7738 GB, free: 37.07 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Visualizers.Torus_res.mat does not exist to compare? outputFormat=mat