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.669/2.669, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004504/0.0004504, allocations: 12 kB / 314.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3655, allocations: 54.86 MB / 369.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1779/0.5435, allocations: 95.12 MB / 464.5 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/0.5439, allocations: 75.91 kB / 464.5 MB, free: 11.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6248/1.169, allocations: 57.86 MB / 0.5102 GB, free: 62.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.557e-06/1.169, allocations: 0 / 0.5102 GB, free: 62.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001376/1.169, allocations: 48 kB / 0.5102 GB, free: 62.11 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: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.01096/1.18, allocations: 2.718 MB / 0.5129 GB, free: 59.33 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/1.18, allocations: 8.031 kB / 0.5129 GB, free: 59.32 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002409/1.182, allocations: 498.3 kB / 0.5133 GB, free: 58.83 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01538/1.198, allocations: 1.974 MB / 0.5153 GB, free: 56.85 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01346/1.211, allocations: 3.357 MB / 0.5186 GB, free: 53.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002545/1.212, allocations: 184.8 kB / 0.5187 GB, free: 53.26 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001673/1.213, allocations: 239.9 kB / 0.519 GB, free: 53.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01941/1.233, allocations: 6.884 MB / 0.5257 GB, free: 45.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000186/1.233, allocations: 55.48 kB / 0.5257 GB, free: 45.28 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009085/1.234, allocations: 127.9 kB / 0.5259 GB, free: 45.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001488/1.235, allocations: 0.7111 MB / 0.5266 GB, free: 44.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01615/1.252, allocations: 5.895 MB / 0.5323 GB, free: 38.54 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04149/1.293, allocations: 33.6 MB / 0.5651 GB, free: 3.766 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006256/1.3, allocations: 2.09 MB / 0.5672 GB, free: 1.527 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002244/1.3, allocations: 178.5 kB / 0.5673 GB, free: 1.316 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/1.3, allocations: 46.83 kB / 0.5674 GB, free: 1.262 MB / 394.7 MB Notification: Performance of pre-optimization done (n=100): time 5.841e-06/1.3, allocations: 112 / 0.5674 GB, free: 1.262 MB / 394.7 MB Notification: Performance of matching and sorting (n=112): time 0.02434/1.324, allocations: 6.372 MB / 0.5736 GB, free: 10.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.402e-05/1.324, allocations: 137 kB / 0.5737 GB, free: 10.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006316/1.331, allocations: 2.595 MB / 0.5763 GB, free: 8.035 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002966/1.331, allocations: 41.7 kB / 0.5763 GB, free: 7.988 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002265/1.333, allocations: 2.081 MB / 0.5783 GB, free: 5.879 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007597/1.334, allocations: 462.2 kB / 0.5788 GB, free: 5.422 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003752/1.334, allocations: 87.98 kB / 0.5789 GB, free: 5.336 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003989/1.335, allocations: 0.4927 MB / 0.5793 GB, free: 4.832 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003991/1.339, allocations: 1.41 MB / 0.5807 GB, free: 3.414 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00669/1.346, allocations: 4.243 MB / 0.5849 GB, free: 13.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006403/1.352, allocations: 2.398 MB / 0.5872 GB, free: 11.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.979e-05/1.352, allocations: 28 kB / 0.5872 GB, free: 11.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=572) (initialization): time 0.01572/1.368, allocations: 5.375 MB / 0.5925 GB, free: 5.926 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.749e-05/1.368, allocations: 48.09 kB / 0.5925 GB, free: 5.879 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000145/1.368, allocations: 103.9 kB / 0.5926 GB, free: 5.777 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001945/1.368, allocations: 152 kB / 0.5928 GB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006694/1.375, allocations: 1.084 MB / 0.5938 GB, free: 4.543 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002373/1.375, allocations: 203.2 kB / 0.594 GB, free: 4.344 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004938/1.38, allocations: 287.4 kB / 0.5943 GB, free: 4.062 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008755/1.381, allocations: 284 kB / 0.5946 GB, free: 3.785 MB / 426.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 () * Number of clocked 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.003575/1.385, allocations: 1.372 MB / 0.5959 GB, free: 2.402 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006532/1.386, allocations: 240.8 kB / 0.5961 GB, free: 2.164 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003317/1.389, allocations: 1.214 MB / 0.5973 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.947e-05/1.389, allocations: 19.95 kB / 0.5973 GB, free: 0.918 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/1.389, allocations: 0 / 0.5973 GB, free: 0.918 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.317e-05/1.389, allocations: 7.984 kB / 0.5973 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/1.402, allocations: 4.417 MB / 0.6017 GB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.845e-05/1.402, allocations: 4 kB / 0.6017 GB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001916/1.404, allocations: 208.2 kB / 0.6019 GB, free: 12.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-05/1.404, allocations: 12 kB / 0.6019 GB, free: 12.16 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/1.404, allocations: 27.98 kB / 0.6019 GB, free: 12.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.852e-05/1.404, allocations: 11.94 kB / 0.6019 GB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/1.404, allocations: 8 kB / 0.6019 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004676/1.409, allocations: 2.579 MB / 0.6044 GB, free: 9.402 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001507/1.41, allocations: 465.7 kB / 0.6049 GB, free: 8.926 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004777/1.411, allocations: 23.98 kB / 0.6049 GB, free: 8.902 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001814/1.413, allocations: 79.91 kB / 0.605 GB, free: 8.824 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002457/1.413, allocations: 63.81 kB / 0.605 GB, free: 8.762 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/1.413, allocations: 32 kB / 0.6051 GB, free: 8.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005451/1.419, allocations: 1.842 MB / 0.6069 GB, free: 6.883 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.363e-06/1.419, allocations: 0 / 0.6069 GB, free: 6.883 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005307/1.424, allocations: 0.6249 MB / 0.6075 GB, free: 6.258 MB / 442.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 () * Number of clocked 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.005822/1.43, allocations: 4.379 MB / 0.6118 GB, free: 1.723 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008746/1.439, allocations: 3.216 MB / 0.6149 GB, free: 14.53 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.35e-05/1.439, allocations: 0 / 0.6149 GB, free: 14.53 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001946/1.441, allocations: 0.7907 MB / 0.6157 GB, free: 13.74 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002211/1.443, allocations: 244.7 kB / 0.6159 GB, free: 13.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3982/1.841, allocations: 90.68 MB / 0.7045 GB, free: 82.64 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002845/1.844, allocations: 2.266 MB / 0.7067 GB, free: 81.89 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002454/1.847, allocations: 1.11 MB / 0.7078 GB, free: 81.89 MB / 474.7 MB Notification: Performance of SimCode: time 1.082e-06/1.847, allocations: 0 / 0.7078 GB, free: 81.89 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.594/5.441, allocations: 52.08 MB / 0.7586 GB, free: 51.91 MB / 474.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