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.Shapes.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.Shapes,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.345/2.345, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.176e-05/2.188e-05, allocations: 7.938 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3459, allocations: 54.84 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.168/0.514, allocations: 84.75 MB / 442.9 MB, free: 9.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/0.5144, allocations: 75.95 kB / 442.9 MB, free: 9.906 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4129/0.9272, allocations: 25.97 MB / 468.9 MB, free: 89.72 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.9273, allocations: 6.031 kB / 468.9 MB, free: 89.72 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001407/0.9275, allocations: 32.59 kB / 469 MB, free: 89.72 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.005369/0.9328, allocations: 1.563 MB / 470.5 MB, free: 89.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.201e-05/0.9329, allocations: 13.44 kB / 470.5 MB, free: 89.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00213/0.9351, allocations: 261.9 kB / 470.8 MB, free: 89.13 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003025/0.9381, allocations: 0.8273 MB / 471.6 MB, free: 88.87 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.9383, allocations: 61.16 kB / 471.7 MB, free: 88.87 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003829/0.9387, allocations: 106.9 kB / 471.8 MB, free: 88.87 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004313/0.943, allocations: 1.697 MB / 473.5 MB, free: 88.86 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00601/0.9491, allocations: 3.044 MB / 476.5 MB, free: 87.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.591e-05/0.9492, allocations: 18.62 kB / 476.5 MB, free: 87.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002056/0.9494, allocations: 15.64 kB / 476.5 MB, free: 87.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005327/0.95, allocations: 332.4 kB / 476.9 MB, free: 87.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01274/0.9627, allocations: 14.43 MB / 491.3 MB, free: 77.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.55e-05/0.9629, allocations: 165.1 kB / 491.5 MB, free: 77.03 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.108e-05/0.9629, allocations: 83.7 kB / 491.5 MB, free: 76.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.9629, allocations: 75.28 kB / 491.6 MB, free: 76.88 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.963, allocations: 112.8 kB / 491.7 MB, free: 76.76 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 2.855e-06/0.963, allocations: 3.656 kB / 491.7 MB, free: 76.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002341/0.9632, allocations: 125 kB / 491.9 MB, free: 76.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.102e-05/0.9632, allocations: 51.41 kB / 491.9 MB, free: 76.61 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/0.9648, allocations: 1.106 MB / 493 MB, free: 76.12 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.754e-06/0.9648, allocations: 25.7 kB / 493 MB, free: 76.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007267/0.9655, allocations: 1.417 MB / 494.5 MB, free: 74.95 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.9656, allocations: 40.97 kB / 494.5 MB, free: 74.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.9656, allocations: 0 / 494.5 MB, free: 74.93 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.9658, allocations: 397.3 kB / 494.9 MB, free: 74.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005605/0.9664, allocations: 308.2 kB / 495.2 MB, free: 74.49 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.9677, allocations: 1.827 MB / 497 MB, free: 72.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.9689, allocations: 0.7184 MB / 497.7 MB, free: 71.97 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.113e-05/0.9689, allocations: 17.16 kB / 497.7 MB, free: 71.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.003322/0.9723, allocations: 1.685 MB / 499.4 MB, free: 71.38 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.681e-05/0.9723, allocations: 29.56 kB / 499.5 MB, free: 71.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.376e-05/0.9724, allocations: 56.75 kB / 499.5 MB, free: 71.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001009/0.9725, allocations: 81.75 kB / 499.6 MB, free: 71.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002047/0.9746, allocations: 487.7 kB / 0.4884 GB, free: 71.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.185e-05/0.9747, allocations: 105.8 kB / 0.4885 GB, free: 71.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.9763, allocations: 252.2 kB / 0.4887 GB, free: 71.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/0.9765, allocations: 139.5 kB / 0.4888 GB, free: 71.12 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.0002623/0.9768, allocations: 334.4 kB / 0.4891 GB, free: 70.84 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001614/0.9769, allocations: 236.2 kB / 0.4894 GB, free: 70.64 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.9771, allocations: 202 kB / 0.4896 GB, free: 70.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001892/0.9773, allocations: 212.2 kB / 0.4898 GB, free: 70.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.185e-05/0.9773, allocations: 184.1 kB / 0.4899 GB, free: 70.14 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.291e-05/0.9774, allocations: 180.3 kB / 0.4901 GB, free: 69.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.157e-05/0.9774, allocations: 180 kB / 0.4903 GB, free: 69.78 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.9786, allocations: 1.013 MB / 0.4913 GB, free: 69.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.97e-05/0.9787, allocations: 105 kB / 0.4914 GB, free: 69.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.09e-05/0.9787, allocations: 111.4 kB / 0.4915 GB, free: 68.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.319e-05/0.9787, allocations: 180.2 kB / 0.4917 GB, free: 68.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.9788, allocations: 176.3 kB / 0.4918 GB, free: 68.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-05/0.9788, allocations: 179.6 kB / 0.492 GB, free: 68.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.159e-05/0.9789, allocations: 183.6 kB / 0.4922 GB, free: 68.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.979, allocations: 400 kB / 0.4925 GB, free: 67.86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002114/0.9793, allocations: 266.7 kB / 0.4928 GB, free: 67.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.9794, allocations: 191.7 kB / 0.493 GB, free: 67.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004173/0.9799, allocations: 101 kB / 0.4931 GB, free: 67.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.9799, allocations: 184.2 kB / 0.4933 GB, free: 67.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.98, allocations: 104.2 kB / 0.4934 GB, free: 67.01 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001053/0.981, allocations: 0.7089 MB / 0.494 GB, free: 66.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.981, allocations: 0 / 0.494 GB, free: 66.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002138/0.9832, allocations: 413.6 kB / 0.4944 GB, free: 66.6 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.000433/0.9836, allocations: 0.9138 MB / 0.4953 GB, free: 65.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001417/0.9851, allocations: 0.7581 MB / 0.4961 GB, free: 65.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.9851, allocations: 0 / 0.4961 GB, free: 65.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.545e-06/0.9851, allocations: 1.375 kB / 0.4961 GB, free: 65.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006247/0.9857, allocations: 0.6133 MB / 0.4967 GB, free: 64.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006164/0.9919, allocations: 2.657 MB / 0.4993 GB, free: 62.72 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001521/0.9935, allocations: 1.607 MB / 0.5008 GB, free: 61.4 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008812/0.9944, allocations: 0.6679 MB / 0.5015 GB, free: 60.78 MB / 394.7 MB Notification: Performance of SimCode: time 1.262e-06/0.9944, allocations: 8 kB / 0.5015 GB, free: 60.77 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.718/3.712, allocations: 24.07 MB / 0.525 GB, free: 38.57 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat does not exist to compare? outputFormat=mat