Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.176/2.176, allocations: 209.3 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004548/0.0004549, allocations: 15.98 kB / 282.6 MB, free: 9.605 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3597, allocations: 48.71 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002101/0.3618, allocations: 1.269 MB / 332.5 MB, free: 5.855 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003023/0.3622, allocations: 110.6 kB / 332.7 MB, free: 5.773 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.794e-05/0.3623, allocations: 6.812 kB / 332.7 MB, free: 5.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.534e-05/0.3623, allocations: 10.03 kB / 332.7 MB, free: 5.766 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.3625, allocations: 38.2 kB / 332.7 MB, free: 5.738 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001255/0.3626, allocations: 18.27 kB / 332.7 MB, free: 5.727 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.3628, allocations: 89.11 kB / 332.8 MB, free: 5.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.3629, allocations: 28 kB / 332.8 MB, free: 5.668 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.536e-05/0.363, allocations: 37.39 kB / 332.9 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.676e-05/0.3631, allocations: 52.12 kB / 332.9 MB, free: 5.625 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.3632, allocations: 5.531 kB / 332.9 MB, free: 5.625 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.164e-05/0.3632, allocations: 5.75 kB / 332.9 MB, free: 5.625 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.801e-05/0.3632, allocations: 22.17 kB / 333 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.323e-05/0.3633, allocations: 45.73 kB / 333 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.3635, allocations: 89.55 kB / 333.1 MB, free: 5.555 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3635, allocations: 0 / 333.1 MB, free: 5.555 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3635, allocations: 1.156 kB / 333.1 MB, free: 5.555 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3635, allocations: 0 / 333.1 MB, free: 5.555 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005291/0.364, allocations: 385.2 kB / 333.5 MB, free: 5.168 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.244e-05/0.3641, allocations: 8.719 kB / 333.5 MB, free: 5.168 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.19e-05/0.3642, allocations: 45.75 kB / 333.5 MB, free: 5.121 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.3643, allocations: 10.47 kB / 333.5 MB, free: 5.117 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.3645, allocations: 199.8 kB / 333.7 MB, free: 4.898 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.3645, allocations: 4.359 kB / 333.7 MB, free: 4.898 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.866e-05/0.3646, allocations: 16.69 kB / 333.7 MB, free: 4.891 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.3649, allocations: 125 kB / 333.9 MB, free: 4.812 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.3649, allocations: 6.391 kB / 333.9 MB, free: 4.809 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.3649, allocations: 9.219 kB / 333.9 MB, free: 4.801 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.365, allocations: 2.719 kB / 333.9 MB, free: 4.801 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.3651, allocations: 57.12 kB / 333.9 MB, free: 4.785 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009426/0.3661, allocations: 0.5522 MB / 334.5 MB, free: 4.301 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.3663, allocations: 86.72 kB / 334.6 MB, free: 4.234 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.3663, allocations: 1.625 kB / 334.6 MB, free: 4.234 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.3663, allocations: 36.75 kB / 334.6 MB, free: 4.191 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 2.124e-06/0.3664, allocations: 0 / 334.6 MB, free: 4.191 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007364/0.3671, allocations: 296.2 kB / 334.9 MB, free: 3.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.3672, allocations: 78.2 kB / 335 MB, free: 3.836 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.3673, allocations: 127.8 kB / 335.1 MB, free: 3.723 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.3673, allocations: 25.7 kB / 335.1 MB, free: 3.691 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.261e-05/0.3674, allocations: 183.9 kB / 335.3 MB, free: 3.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.3674, allocations: 31.33 kB / 335.3 MB, free: 3.496 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-06/0.3674, allocations: 4 kB / 335.3 MB, free: 3.492 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.172e-05/0.3675, allocations: 317.9 kB / 335.7 MB, free: 3.176 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.328e-05/0.3676, allocations: 31 kB / 335.7 MB, free: 3.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.899e-05/0.3677, allocations: 91.33 kB / 335.8 MB, free: 3.062 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.013e-05/0.3678, allocations: 30.62 kB / 335.8 MB, free: 3.051 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.3678, allocations: 1.562 kB / 335.8 MB, free: 3.051 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003879/0.3682, allocations: 168.4 kB / 336 MB, free: 2.949 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.3682, allocations: 6.281 kB / 336 MB, free: 2.949 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.3682, allocations: 3.297 kB / 336 MB, free: 2.949 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002326/0.3685, allocations: 42.45 kB / 336 MB, free: 2.922 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.3687, allocations: 23.59 kB / 336 MB, free: 2.918 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/0.3705, allocations: 2.546 MB / 338.6 MB, free: 304 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.3707, allocations: 12.62 kB / 338.6 MB, free: 296 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.3707, allocations: 10.42 kB / 338.6 MB, free: 292 kB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 initialization (14): * Single equations (assignments): 12 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.3709, allocations: 128.2 kB / 338.7 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.898e-05/0.3709, allocations: 13.3 kB / 338.8 MB, free: 152 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.228e-05/0.371, allocations: 10.2 kB / 338.8 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.371, allocations: 2.344 kB / 338.8 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.371, allocations: 5.094 kB / 338.8 MB, free: 132 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.371, allocations: 0.6094 kB / 338.8 MB, free: 132 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003603/0.3714, allocations: 203.1 kB / 339 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3714, allocations: 4.609 kB / 339 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.3716, allocations: 14.48 kB / 339 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001694/0.3718, allocations: 30.97 kB / 339 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.3718, allocations: 10.98 kB / 339 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002413/0.3742, allocations: 2.546 MB / 341.6 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3743, allocations: 0.75 kB / 341.6 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004614/0.3747, allocations: 306.8 kB / 341.9 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.518e-05/0.3748, allocations: 83.95 kB / 342 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.3749, allocations: 2.172 kB / 342 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.375, allocations: 5.219 kB / 342 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.3751, allocations: 12 kB / 342 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.3751, allocations: 2.25 kB / 342 MB, free: 12.89 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.752e-05/0.3752, allocations: 96.2 kB / 342.1 MB, free: 12.81 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3752, allocations: 5.031 kB / 342.1 MB, free: 12.81 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000492/0.3757, allocations: 36.19 kB / 342.1 MB, free: 12.8 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007634/0.3765, allocations: 0.8335 MB / 342.9 MB, free: 12.01 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000617/0.3771, allocations: 297.2 kB / 343.2 MB, free: 11.76 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.3771, allocations: 1.094 kB / 343.2 MB, free: 11.76 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003864/0.3775, allocations: 256.8 kB / 343.5 MB, free: 11.53 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/0.378, allocations: 29.03 kB / 343.5 MB, free: 11.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.3802, allocations: 1.042 MB / 344.6 MB, free: 10.68 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.3806, allocations: 0.7166 MB / 345.3 MB, free: 9.98 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.862e-05/0.3807, allocations: 27.62 kB / 345.3 MB, free: 9.961 MB / 282.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3807, allocations: 0 / 345.3 MB, free: 9.961 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.565/2.946, allocations: 2.901 MB / 348.2 MB, free: 8.484 MB / 282.7 MB