Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.TestMove.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.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.366/2.366, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.651e-05/3.666e-05, allocations: 4 kB / 309.8 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4017, allocations: 54.85 MB / 364.6 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1833/0.5851, allocations: 95.02 MB / 459.6 MB, free: 1.426 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003195/0.5854, allocations: 77.08 kB / 459.7 MB, free: 1.352 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.287/0.8725, allocations: 57.9 MB / 0.5055 GB, free: 7.02 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.8725, allocations: 0 / 0.5055 GB, free: 7.02 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001664/0.8727, allocations: 52 kB / 0.5055 GB, free: 6.969 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.01037/0.8831, allocations: 2.595 MB / 0.5081 GB, free: 4.316 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.083e-05/0.8832, allocations: 12.03 kB / 0.5081 GB, free: 4.305 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001882/0.8851, allocations: 494.3 kB / 0.5086 GB, free: 3.812 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01642/0.9015, allocations: 1.974 MB / 0.5105 GB, free: 1.832 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01441/0.916, allocations: 3.337 MB / 0.5137 GB, free: 14.44 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002927/0.9164, allocations: 184.7 kB / 0.5139 GB, free: 14.25 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00168/0.9181, allocations: 243.9 kB / 0.5141 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02012/0.9382, allocations: 6.809 MB / 0.5208 GB, free: 6.398 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001616/0.9384, allocations: 47.53 kB / 0.5208 GB, free: 6.352 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008745/0.9393, allocations: 123.9 kB / 0.521 GB, free: 6.23 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0018/0.9411, allocations: 0.7189 MB / 0.5217 GB, free: 5.516 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.389/1.33, allocations: 5.732 MB / 0.5273 GB, free: 114.6 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04753/1.378, allocations: 33.6 MB / 0.5601 GB, free: 92.16 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00691/1.385, allocations: 2.091 MB / 0.5621 GB, free: 91.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002476/1.387, allocations: 1.015 MB / 0.5631 GB, free: 91.46 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002914/1.388, allocations: 177.2 kB / 0.5633 GB, free: 91.27 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/1.388, allocations: 48.83 kB / 0.5633 GB, free: 91.23 MB / 458.7 MB Notification: Performance of pre-optimization done (n=100): time 4.849e-06/1.388, allocations: 0 / 0.5633 GB, free: 91.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=112): time 0.02202/1.41, allocations: 5.146 MB / 0.5683 GB, free: 89.78 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/1.41, allocations: 137.6 kB / 0.5685 GB, free: 89.62 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005209/1.415, allocations: 2.546 MB / 0.571 GB, free: 88.77 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002975/1.415, allocations: 42.52 kB / 0.571 GB, free: 88.72 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001593/1.417, allocations: 2.088 MB / 0.573 GB, free: 87.17 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006812/1.418, allocations: 450 kB / 0.5735 GB, free: 86.86 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003362/1.418, allocations: 88.45 kB / 0.5736 GB, free: 86.79 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002763/1.418, allocations: 0.4955 MB / 0.574 GB, free: 86.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003268/1.422, allocations: 1.356 MB / 0.5754 GB, free: 85.98 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005019/1.427, allocations: 4.175 MB / 0.5794 GB, free: 81.73 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005196/1.432, allocations: 2.375 MB / 0.5818 GB, free: 81.07 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.89e-05/1.432, allocations: 28.94 kB / 0.5818 GB, free: 81.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=572) (initialization): time 0.01351/1.446, allocations: 5.251 MB / 0.5869 GB, free: 79.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.431e-05/1.446, allocations: 54.03 kB / 0.587 GB, free: 79.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001238/1.446, allocations: 104.3 kB / 0.5871 GB, free: 79.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001777/1.446, allocations: 144.8 kB / 0.5872 GB, free: 79.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006711/1.453, allocations: 1.084 MB / 0.5883 GB, free: 79.17 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001929/1.453, allocations: 196.9 kB / 0.5885 GB, free: 79.13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005338/1.458, allocations: 287.7 kB / 0.5887 GB, free: 79.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009798/1.459, allocations: 278.6 kB / 0.589 GB, free: 79.01 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 461 * Number of states: 0 () * Number of discrete variables: 15 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (548): * Single equations (assignments): 545 * 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.001048/1.461, allocations: 448.9 kB / 0.5894 GB, free: 78.64 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007121/1.461, allocations: 242.2 kB / 0.5896 GB, free: 78.51 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003404/1.465, allocations: 1.21 MB / 0.5908 GB, free: 78.04 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.948e-05/1.465, allocations: 15.58 kB / 0.5908 GB, free: 78.04 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.618e-05/1.465, allocations: 6.766 kB / 0.5909 GB, free: 78.04 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.929e-05/1.465, allocations: 3.75 kB / 0.5909 GB, free: 78.04 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0134/1.478, allocations: 4.39 MB / 0.5951 GB, free: 76.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.086e-05/1.478, allocations: 7.906 kB / 0.5952 GB, free: 76.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002022/1.48, allocations: 218.4 kB / 0.5954 GB, free: 76.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.146e-05/1.48, allocations: 11.5 kB / 0.5954 GB, free: 76.28 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001455/1.481, allocations: 19.59 kB / 0.5954 GB, free: 76.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.467e-05/1.481, allocations: 11.78 kB / 0.5954 GB, free: 76.27 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.303e-06/1.481, allocations: 7.438 kB / 0.5954 GB, free: 76.27 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004274/1.485, allocations: 2.574 MB / 0.5979 GB, free: 74.64 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001701/1.487, allocations: 463.7 kB / 0.5984 GB, free: 74.36 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006346/1.487, allocations: 20.77 kB / 0.5984 GB, free: 74.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002151/1.49, allocations: 74.7 kB / 0.5985 GB, free: 74.33 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002621/1.49, allocations: 65.92 kB / 0.5985 GB, free: 74.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/1.49, allocations: 39.31 kB / 0.5986 GB, free: 74.31 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004475/1.494, allocations: 1.776 MB / 0.6003 GB, free: 73.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.002e-06/1.495, allocations: 0 / 0.6003 GB, free: 73.66 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005275/1.5, allocations: 0.6338 MB / 0.6009 GB, free: 73.58 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * 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.004993/1.505, allocations: 4.354 MB / 0.6052 GB, free: 70.25 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007266/1.512, allocations: 3.156 MB / 0.6082 GB, free: 69.21 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/1.512, allocations: 3.812 kB / 0.6082 GB, free: 69.21 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00171/1.514, allocations: 0.7698 MB / 0.609 GB, free: 68.96 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/1.516, allocations: 255.4 kB / 0.6092 GB, free: 68.84 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01837/1.535, allocations: 5.736 MB / 0.6148 GB, free: 65.16 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003219/1.538, allocations: 2.264 MB / 0.6171 GB, free: 63.36 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002675/1.541, allocations: 1.107 MB / 0.6181 GB, free: 62.34 MB / 458.7 MB Notification: Performance of SimCode: time 2.003e-06/1.541, allocations: 0 / 0.6181 GB, free: 62.34 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.48/5.021, allocations: 51.88 MB / 0.6688 GB, free: 14.86 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.TestMove_res.mat does not exist to compare? outputFormat=mat