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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.234/2.234, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.041e-05/2.039e-05, allocations: 0 / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.367, allocations: 54.84 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.184/0.551, allocations: 88.7 MB / 446.8 MB, free: 6.016 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/0.5514, allocations: 71.97 kB / 446.9 MB, free: 5.945 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5617/1.113, allocations: 66.37 MB / 0.5012 GB, free: 66.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.725e-06/1.113, allocations: 0 / 0.5012 GB, free: 66.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000127/1.113, allocations: 67.94 kB / 0.5013 GB, free: 66.65 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.009625/1.123, allocations: 3.021 MB / 0.5042 GB, free: 63.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/1.123, allocations: 8.031 kB / 0.5043 GB, free: 63.56 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02364/1.147, allocations: 3.29 MB / 0.5075 GB, free: 60.26 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006798/1.154, allocations: 2.056 MB / 0.5095 GB, free: 58.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002259/1.154, allocations: 116 kB / 0.5096 GB, free: 58.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002219/1.156, allocations: 201.2 kB / 0.5098 GB, free: 57.85 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01428/1.17, allocations: 6.406 MB / 0.516 GB, free: 51.44 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02232/1.193, allocations: 8.475 MB / 0.5243 GB, free: 42.6 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001254/1.193, allocations: 19.81 kB / 0.5243 GB, free: 42.58 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001708/1.195, allocations: 16 kB / 0.5243 GB, free: 42.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001981/1.197, allocations: 1.039 MB / 0.5254 GB, free: 41.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05069/1.247, allocations: 26.56 MB / 0.5513 GB, free: 14.33 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004024/1.251, allocations: 2.685 MB / 0.5539 GB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001714/1.253, allocations: 0.8825 MB / 0.5548 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001589/1.255, allocations: 1.618 MB / 0.5564 GB, free: 8.645 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/1.255, allocations: 48.31 kB / 0.5564 GB, free: 8.586 MB / 394.7 MB Notification: Performance of pre-optimization done (n=162): time 5.42e-06/1.255, allocations: 0 / 0.5564 GB, free: 8.586 MB / 394.7 MB Notification: Performance of matching and sorting (n=162): time 0.006897/1.262, allocations: 2.146 MB / 0.5585 GB, free: 6.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/1.262, allocations: 64.72 kB / 0.5586 GB, free: 6.355 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003881/1.266, allocations: 2.034 MB / 0.5606 GB, free: 4.293 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002816/1.266, allocations: 25.7 kB / 0.5606 GB, free: 4.262 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001843/1.268, allocations: 2.663 MB / 0.5632 GB, free: 1.559 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008478/1.269, allocations: 0.5859 MB / 0.5638 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003707/1.269, allocations: 4 kB / 0.5638 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003215/1.27, allocations: 0.5251 MB / 0.5643 GB, free: 436 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00343/1.273, allocations: 1.341 MB / 0.5656 GB, free: 15.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006732/1.28, allocations: 4.311 MB / 0.5698 GB, free: 9.262 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006289/1.286, allocations: 2.478 MB / 0.5722 GB, free: 6.781 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001066/1.286, allocations: 28 kB / 0.5722 GB, free: 6.754 MB / 410.7 MB Notification: Performance of matching and sorting (n=639) (initialization): time 0.0149/1.301, allocations: 4.962 MB / 0.5771 GB, free: 1.785 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/1.301, allocations: 48 kB / 0.5771 GB, free: 1.738 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001657/1.302, allocations: 108 kB / 0.5772 GB, free: 1.633 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002317/1.302, allocations: 156 kB / 0.5774 GB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006605/1.308, allocations: 1.064 MB / 0.5784 GB, free: 424 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002943/1.309, allocations: 207.2 kB / 0.5786 GB, free: 216 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004664/1.313, allocations: 0.5408 MB / 0.5791 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00102/1.315, allocations: 304 kB / 0.5794 GB, free: 15.36 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 485 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (591): * Single equations (assignments): 585 * 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.0008905/1.315, allocations: 378.3 kB / 0.5798 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004421/1.32, allocations: 1.783 MB / 0.5815 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004688/1.32, allocations: 213.2 kB / 0.5817 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005158/1.326, allocations: 2.056 MB / 0.5837 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.629e-05/1.326, allocations: 20 kB / 0.5838 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/1.326, allocations: 3.938 kB / 0.5838 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.881e-05/1.326, allocations: 7.969 kB / 0.5838 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01592/1.342, allocations: 6.047 MB / 0.5897 GB, free: 4.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-05/1.342, allocations: 8 kB / 0.5897 GB, free: 4.652 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/1.343, allocations: 207.6 kB / 0.5899 GB, free: 4.449 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.89e-05/1.343, allocations: 16 kB / 0.5899 GB, free: 4.434 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/1.343, allocations: 16 kB / 0.5899 GB, free: 4.418 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.398e-05/1.343, allocations: 24.52 kB / 0.5899 GB, free: 4.395 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.069e-05/1.344, allocations: 23.89 kB / 0.59 GB, free: 4.371 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005041/1.349, allocations: 2.969 MB / 0.5929 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006775/1.349, allocations: 297.8 kB / 0.5931 GB, free: 0.6406 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004017/1.35, allocations: 15.98 kB / 0.5932 GB, free: 0.625 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/1.351, allocations: 31.95 kB / 0.5932 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002697/1.351, allocations: 100.5 kB / 0.5933 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001604/1.351, allocations: 55.98 kB / 0.5933 GB, free: 452 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003086/1.354, allocations: 1.324 MB / 0.5946 GB, free: 15.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.32e-07/1.354, allocations: 0 / 0.5946 GB, free: 15.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005553/1.36, allocations: 0.9214 MB / 0.5955 GB, free: 14.17 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 106 * 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.007135/1.367, allocations: 6.098 MB / 0.6015 GB, free: 7.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007907/1.375, allocations: 3.227 MB / 0.6046 GB, free: 4.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/1.375, allocations: 0 / 0.6046 GB, free: 4.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001992/1.377, allocations: 0.9227 MB / 0.6055 GB, free: 3.652 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/1.379, allocations: 170.2 kB / 0.6057 GB, free: 3.484 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02523/1.404, allocations: 7.841 MB / 0.6134 GB, free: 11.46 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007168/1.411, allocations: 3.049 MB / 0.6163 GB, free: 8.379 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004051/1.415, allocations: 1.565 MB / 0.6179 GB, free: 6.812 MB / 458.7 MB Notification: Performance of SimCode: time 1.563e-06/1.415, allocations: 0 / 0.6179 GB, free: 6.812 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.888/5.303, allocations: 61.41 MB / 0.6778 GB, free: 100.1 MB / 458.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