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.Arrow.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.Arrow,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.313/2.313, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.993e-05/1.993e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3832, allocations: 54.84 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1822/0.5654, allocations: 86.84 MB / 445 MB, free: 7.977 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/0.5658, allocations: 71.97 kB / 445 MB, free: 7.906 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06942/0.6352, allocations: 16.01 MB / 461 MB, free: 7.758 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6353, allocations: 0 / 461 MB, free: 7.758 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.079e-05/0.6354, allocations: 20 kB / 461.1 MB, free: 7.738 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.002642/0.638, allocations: 0.9766 MB / 462 MB, free: 6.715 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/0.6381, allocations: 12.03 kB / 462.1 MB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002826/0.6409, allocations: 230.4 kB / 462.3 MB, free: 6.477 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/0.6428, allocations: 0.5535 MB / 462.8 MB, free: 5.879 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.124e-05/0.6429, allocations: 28 kB / 462.9 MB, free: 5.852 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002574/0.6432, allocations: 52 kB / 462.9 MB, free: 5.801 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003291/0.6465, allocations: 0.9764 MB / 463.9 MB, free: 4.824 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004572/0.6511, allocations: 1.552 MB / 465.4 MB, free: 3.094 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.214e-05/0.6512, allocations: 11.89 kB / 465.4 MB, free: 3.082 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001775/0.6514, allocations: 4 kB / 465.5 MB, free: 3.078 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008308/0.6522, allocations: 181.3 kB / 465.6 MB, free: 2.895 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3123/0.9645, allocations: 6.931 MB / 472.6 MB, free: 90.78 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/0.9649, allocations: 143.2 kB / 472.7 MB, free: 90.76 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.9651, allocations: 76.03 kB / 472.8 MB, free: 90.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.147e-05/0.9652, allocations: 7 kB / 472.8 MB, free: 90.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.9652, allocations: 37.56 kB / 472.8 MB, free: 90.71 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 3.516e-06/0.9652, allocations: 0 / 472.8 MB, free: 90.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006155/0.9658, allocations: 223.3 kB / 473 MB, free: 90.65 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.9659, allocations: 53.22 kB / 473.1 MB, free: 90.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/0.9673, allocations: 0.6894 MB / 473.8 MB, free: 90.45 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.9673, allocations: 26.31 kB / 473.8 MB, free: 90.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004893/0.9678, allocations: 0.7379 MB / 474.5 MB, free: 90 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.615e-05/0.9679, allocations: 60.86 kB / 474.6 MB, free: 89.98 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.968, allocations: 0 / 474.6 MB, free: 89.98 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.9681, allocations: 354.3 kB / 474.9 MB, free: 89.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004903/0.9686, allocations: 218.5 kB / 475.2 MB, free: 89.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008347/0.9694, allocations: 0.9245 MB / 476.1 MB, free: 88.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008675/0.9703, allocations: 430.4 kB / 476.5 MB, free: 88.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.109e-05/0.9704, allocations: 8.125 kB / 476.5 MB, free: 88.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002253/0.9726, allocations: 0.9524 MB / 477.5 MB, free: 88.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.198e-05/0.9727, allocations: 17 kB / 477.5 MB, free: 88.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.912e-05/0.9728, allocations: 25.91 kB / 477.5 MB, free: 88.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.892e-05/0.9728, allocations: 44.38 kB / 477.6 MB, free: 88.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.9743, allocations: 256 kB / 477.8 MB, free: 88.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.628e-05/0.9743, allocations: 51.47 kB / 477.9 MB, free: 88.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.9755, allocations: 127 kB / 478 MB, free: 88.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.9756, allocations: 64.78 kB / 478 MB, free: 88.56 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 18 (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],fixedArrow.color[3],fixedArrow.color[2],fixedArrow.color[1],arrow.color[3],arrow.color[2],arrow.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 129 * 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.0002077/0.9758, allocations: 184.6 kB / 478.2 MB, free: 88.41 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005541/0.9764, allocations: 229.9 kB / 478.4 MB, free: 88.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.9765, allocations: 63.28 kB / 478.5 MB, free: 88.31 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006748/0.9772, allocations: 258.2 kB / 478.8 MB, free: 88.26 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.9772, allocations: 1 kB / 478.8 MB, free: 88.26 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.9772, allocations: 0 / 478.8 MB, free: 88.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.9772, allocations: 8.938 kB / 478.8 MB, free: 88.26 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009557/0.9782, allocations: 0.5081 MB / 479.3 MB, free: 88.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.9782, allocations: 3.375 kB / 479.3 MB, free: 88.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/0.9786, allocations: 37.72 kB / 479.3 MB, free: 88.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.9786, allocations: 7.016 kB / 479.3 MB, free: 88.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.9786, allocations: 6.703 kB / 479.3 MB, free: 88.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.9787, allocations: 0 / 479.3 MB, free: 88.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.9787, allocations: 0 / 479.3 MB, free: 88.1 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004441/0.9791, allocations: 336.6 kB / 479.7 MB, free: 87.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.9793, allocations: 140 kB / 479.8 MB, free: 87.79 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.965e-05/0.9794, allocations: 2.062 kB / 479.8 MB, free: 87.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004213/0.9798, allocations: 18.75 kB / 479.8 MB, free: 87.79 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.322e-05/0.9799, allocations: 16.77 kB / 479.8 MB, free: 87.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.98, allocations: 14 kB / 479.8 MB, free: 87.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006892/0.9807, allocations: 480.9 kB / 480.3 MB, free: 87.69 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.9807, allocations: 2.438 kB / 480.3 MB, free: 87.69 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001263/0.982, allocations: 202.3 kB / 480.5 MB, free: 87.64 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 (13): * Single equations (assignments): 13 * 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.0007143/0.9827, allocations: 0.8696 MB / 481.4 MB, free: 86.95 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.9838, allocations: 0.5083 MB / 481.9 MB, free: 86.88 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.9838, allocations: 0 / 481.9 MB, free: 86.88 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.984, allocations: 83.47 kB / 482 MB, free: 86.88 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000573/0.9846, allocations: 59.69 kB / 482 MB, free: 86.88 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003819/0.9884, allocations: 1.445 MB / 483.5 MB, free: 86.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008788/0.9894, allocations: 1.155 MB / 484.6 MB, free: 85.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005701/0.9899, allocations: 345.8 kB / 485 MB, free: 85.45 MB / 394.7 MB Notification: Performance of SimCode: time 1.012e-06/0.99, allocations: 0 / 485 MB, free: 85.45 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.629/3.619, allocations: 13.99 MB / 499 MB, free: 77.95 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat does not exist to compare? outputFormat=mat