Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.403/2.403, allocations: 234.9 MB / 250.4 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004308/0.0004312, allocations: 12 kB / 314.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3451, allocations: 54.86 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002283/0.3474, allocations: 1.281 MB / 370.5 MB, free: 9.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003291/0.3478, allocations: 115.6 kB / 370.7 MB, free: 9.316 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.894e-05/0.3479, allocations: 3.938 kB / 370.7 MB, free: 9.312 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.201e-05/0.348, allocations: 15.92 kB / 370.7 MB, free: 9.297 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.3481, allocations: 35.91 kB / 370.7 MB, free: 9.262 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001242/0.3482, allocations: 15.98 kB / 370.7 MB, free: 9.246 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.3484, allocations: 87.81 kB / 370.8 MB, free: 9.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.3486, allocations: 29.09 kB / 370.8 MB, free: 9.133 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.334e-05/0.3487, allocations: 39.86 kB / 370.9 MB, free: 9.094 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.3488, allocations: 47.78 kB / 370.9 MB, free: 9.047 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.3488, allocations: 4 kB / 370.9 MB, free: 9.043 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.22e-05/0.3489, allocations: 8 kB / 370.9 MB, free: 9.035 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.651e-05/0.3489, allocations: 15.92 kB / 371 MB, free: 9.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.726e-05/0.349, allocations: 45.7 kB / 371 MB, free: 8.969 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.3492, allocations: 92.67 kB / 371.1 MB, free: 8.879 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.3492, allocations: 0 / 371.1 MB, free: 8.879 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.3492, allocations: 0 / 371.1 MB, free: 8.879 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.3492, allocations: 0 / 371.1 MB, free: 8.879 MB / 298.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.0006107/0.3498, allocations: 387.3 kB / 371.5 MB, free: 8.449 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.3499, allocations: 8.031 kB / 371.5 MB, free: 8.441 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.99e-05/0.35, allocations: 46.55 kB / 371.5 MB, free: 8.387 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.35, allocations: 11.86 kB / 371.5 MB, free: 8.375 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.3503, allocations: 190.9 kB / 371.7 MB, free: 8.148 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.3503, allocations: 8.234 kB / 371.7 MB, free: 8.141 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.746e-05/0.3504, allocations: 15.91 kB / 371.7 MB, free: 8.125 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003204/0.3507, allocations: 133 kB / 371.9 MB, free: 7.984 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.3507, allocations: 3.938 kB / 371.9 MB, free: 7.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.3508, allocations: 8 kB / 371.9 MB, free: 7.973 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3508, allocations: 0 / 371.9 MB, free: 7.973 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.351, allocations: 63.91 kB / 371.9 MB, free: 7.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.352, allocations: 0.5451 MB / 372.5 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.3523, allocations: 89.09 kB / 372.6 MB, free: 7.199 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.3523, allocations: 4 kB / 372.6 MB, free: 7.195 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.3523, allocations: 38.5 kB / 372.6 MB, free: 7.148 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 2.415e-06/0.3523, allocations: 0 / 372.6 MB, free: 7.148 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008159/0.3532, allocations: 301.4 kB / 372.9 MB, free: 6.805 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.248e-05/0.3532, allocations: 85.09 kB / 373 MB, free: 6.703 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.3534, allocations: 117.8 kB / 373.1 MB, free: 6.578 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.3534, allocations: 29.7 kB / 373.1 MB, free: 6.543 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.3535, allocations: 186.1 kB / 373.3 MB, free: 6.359 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.3536, allocations: 35.53 kB / 373.4 MB, free: 6.324 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.379e-05/0.3536, allocations: 4 kB / 373.4 MB, free: 6.32 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3538, allocations: 314.8 kB / 373.7 MB, free: 6.004 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.698e-05/0.3538, allocations: 23.98 kB / 373.7 MB, free: 5.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.354, allocations: 99.55 kB / 373.8 MB, free: 5.855 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.3541, allocations: 35.98 kB / 373.8 MB, free: 5.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3541, allocations: 0 / 373.8 MB, free: 5.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004142/0.3545, allocations: 167 kB / 374 MB, free: 5.645 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.3546, allocations: 8 kB / 374 MB, free: 5.637 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.3546, allocations: 0 / 374 MB, free: 5.637 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002344/0.3548, allocations: 41.95 kB / 374 MB, free: 5.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.355, allocations: 23.92 kB / 374.1 MB, free: 5.566 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002426/0.3574, allocations: 2.537 MB / 376.6 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.3576, allocations: 19.91 kB / 376.6 MB, free: 2.742 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.3576, allocations: 12 kB / 376.6 MB, free: 2.73 MB / 298.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.0001538/0.3578, allocations: 129.8 kB / 376.8 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.437e-05/0.3578, allocations: 4 kB / 376.8 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.3579, allocations: 11.91 kB / 376.8 MB, free: 2.574 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3579, allocations: 3.938 kB / 376.8 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3579, allocations: 0 / 376.8 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3579, allocations: 8 kB / 376.8 MB, free: 2.562 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003506/0.3583, allocations: 205.5 kB / 377 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3583, allocations: 0 / 377 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.3585, allocations: 12 kB / 377 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001637/0.3587, allocations: 37.64 kB / 377 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.3587, allocations: 4 kB / 377 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00231/0.361, allocations: 2.548 MB / 379.6 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.361, allocations: 0 / 379.6 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004414/0.3615, allocations: 304.3 kB / 379.9 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.183e-05/0.3616, allocations: 89.2 kB / 380 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.3616, allocations: 0 / 380 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.3618, allocations: 4 kB / 380 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.3618, allocations: 19.98 kB / 380 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.3618, allocations: 0 / 380 MB, free: 14.99 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.753e-05/0.3619, allocations: 91.27 kB / 380.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3619, allocations: 4 kB / 380.1 MB, free: 14.89 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004524/0.3624, allocations: 32 kB / 380.1 MB, free: 14.86 MB / 314.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.0007652/0.3632, allocations: 0.8305 MB / 380.9 MB, free: 14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006058/0.3638, allocations: 305.5 kB / 381.2 MB, free: 13.67 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3638, allocations: 0 / 381.2 MB, free: 13.67 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003951/0.3642, allocations: 261.3 kB / 381.5 MB, free: 13.39 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.3647, allocations: 19.92 kB / 381.5 MB, free: 13.37 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/0.3668, allocations: 1.049 MB / 382.6 MB, free: 12.24 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.3672, allocations: 0.7161 MB / 383.3 MB, free: 11.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.74e-05/0.3673, allocations: 27.42 kB / 383.3 MB, free: 11.47 MB / 314.7 MB Notification: Performance of SimCode: time 8.91e-07/0.3673, allocations: 0 / 383.3 MB, free: 11.47 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.578/2.945, allocations: 2.881 MB / 386.2 MB, free: 8.578 MB / 314.7 MB