Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadModel(ModelicaTest): time 1.923/1.923, allocations: 209.3 MB / 224.8 MB, free: 0.5312 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007/0.0007002, allocations: 8 kB / 282.5 MB, free: 9.703 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3785, allocations: 48.71 MB / 331.2 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.002965/0.3815, allocations: 2.21 MB / 333.4 MB, free: 5.184 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.383, allocations: 0.7152 MB / 334.1 MB, free: 4.668 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002894/0.3833, allocations: 11.34 kB / 334.1 MB, free: 4.664 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.37e-05/0.3834, allocations: 39.06 kB / 334.1 MB, free: 4.645 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003697/0.3838, allocations: 129.6 kB / 334.3 MB, free: 4.551 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.3841, allocations: 69.77 kB / 334.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004536/0.3846, allocations: 317.5 kB / 334.7 MB, free: 4.344 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002765/0.3849, allocations: 143.1 kB / 334.8 MB, free: 4.273 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002353/0.3851, allocations: 150.2 kB / 334.9 MB, free: 4.203 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.3854, allocations: 160.8 kB / 335.1 MB, free: 4.129 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.068e-05/0.3855, allocations: 27.23 kB / 335.1 MB, free: 4.121 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.408e-05/0.3856, allocations: 19.53 kB / 335.1 MB, free: 4.121 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.393e-05/0.3856, allocations: 55.83 kB / 335.2 MB, free: 4.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.936e-05/0.3857, allocations: 97.95 kB / 335.3 MB, free: 4.023 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004287/0.3862, allocations: 321.8 kB / 335.6 MB, free: 3.945 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.132e-06/0.3862, allocations: 0 / 335.6 MB, free: 3.945 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.277e-06/0.3862, allocations: 4 kB / 335.6 MB, free: 3.941 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.906e-06/0.3862, allocations: 0 / 335.6 MB, free: 3.941 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009521/0.3872, allocations: 0.6078 MB / 336.2 MB, free: 3.449 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.3872, allocations: 9.156 kB / 336.2 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.607e-05/0.3874, allocations: 45.19 kB / 336.3 MB, free: 3.426 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/0.3877, allocations: 296.3 kB / 336.6 MB, free: 3.152 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.3878, allocations: 29.22 kB / 336.6 MB, free: 3.141 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-05/0.3879, allocations: 41.53 kB / 336.6 MB, free: 3.125 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008367/0.3887, allocations: 383 kB / 337 MB, free: 2.945 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/0.3888, allocations: 2 kB / 337 MB, free: 2.945 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.251e-05/0.3888, allocations: 16.62 kB / 337 MB, free: 2.934 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.3888, allocations: 8.75 kB / 337 MB, free: 2.934 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007031/0.3895, allocations: 259.8 kB / 337.3 MB, free: 2.855 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/0.3915, allocations: 1.119 MB / 338.4 MB, free: 1.941 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007117/0.3923, allocations: 364.5 kB / 338.8 MB, free: 1.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/0.3923, allocations: 8.016 kB / 338.8 MB, free: 1.727 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.3924, allocations: 41.48 kB / 338.8 MB, free: 1.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 4.172e-06/0.3924, allocations: 0 / 338.8 MB, free: 1.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.004917/0.3973, allocations: 2.478 MB / 341.3 MB, free: 15.67 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.843e-05/0.3974, allocations: 109.9 kB / 341.4 MB, free: 15.54 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003573/0.3978, allocations: 243.3 kB / 341.6 MB, free: 15.37 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.817e-05/0.3979, allocations: 35.83 kB / 341.7 MB, free: 15.33 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.3981, allocations: 233.8 kB / 341.9 MB, free: 15.11 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002241/0.3983, allocations: 199.7 kB / 342.1 MB, free: 14.94 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.3984, allocations: 18.25 kB / 342.1 MB, free: 14.92 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.3985, allocations: 331.6 kB / 342.4 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003962/0.399, allocations: 130.6 kB / 342.6 MB, free: 14.54 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004796/0.3994, allocations: 238.7 kB / 342.8 MB, free: 14.36 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004604/0.3999, allocations: 166.3 kB / 343 MB, free: 14.28 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.596e-06/0.3999, allocations: 1 kB / 343 MB, free: 14.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001511/0.4015, allocations: 0.5474 MB / 343.5 MB, free: 13.98 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.4015, allocations: 6.812 kB / 343.5 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.4015, allocations: 2.219 kB / 343.5 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005176/0.4021, allocations: 129.4 kB / 343.6 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005334/0.4026, allocations: 100.2 kB / 343.7 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005891/0.4085, allocations: 4.711 MB / 348.4 MB, free: 9.254 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003887/0.409, allocations: 23.89 kB / 348.5 MB, free: 9.242 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.831e-05/0.409, allocations: 22 kB / 348.5 MB, free: 9.234 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003106/0.4093, allocations: 169.2 kB / 348.7 MB, free: 9.078 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.4095, allocations: 38.66 kB / 348.7 MB, free: 9.059 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.4096, allocations: 43.98 kB / 348.7 MB, free: 9.027 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.094e-06/0.4097, allocations: 7.406 kB / 348.7 MB, free: 9.027 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/0.4097, allocations: 2.344 kB / 348.7 MB, free: 9.027 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.4097, allocations: 9.188 kB / 348.8 MB, free: 9.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003045/0.4128, allocations: 1.348 MB / 350.1 MB, free: 7.996 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.723e-06/0.4128, allocations: 1.125 kB / 350.1 MB, free: 7.996 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005849/0.4134, allocations: 97.02 kB / 350.2 MB, free: 7.977 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004277/0.4138, allocations: 99.84 kB / 350.3 MB, free: 7.914 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.4139, allocations: 12.23 kB / 350.3 MB, free: 7.906 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004816/0.4187, allocations: 4.137 MB / 354.4 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.579e-06/0.4188, allocations: 6.031 kB / 354.5 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.4208, allocations: 0.9342 MB / 355.4 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002747/0.4211, allocations: 137.1 kB / 355.5 MB, free: 2.941 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.853e-05/0.4212, allocations: 11.67 kB / 355.5 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003834/0.4216, allocations: 25.58 kB / 355.6 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.4217, allocations: 51.84 kB / 355.6 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.143e-05/0.4218, allocations: 14.66 kB / 355.6 MB, free: 2.883 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002505/0.4221, allocations: 179.2 kB / 355.8 MB, free: 2.754 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.83e-07/0.4221, allocations: 0 / 355.8 MB, free: 2.754 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009948/0.4231, allocations: 118.4 kB / 355.9 MB, free: 2.738 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * 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 (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001906/0.4233, allocations: 120.5 kB / 356 MB, free: 2.625 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001787/0.4251, allocations: 0.7661 MB / 356.8 MB, free: 2.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.072e-06/0.4251, allocations: 0 / 356.8 MB, free: 2.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.4263, allocations: 0.5799 MB / 357.4 MB, free: 1.637 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006795/0.427, allocations: 53.27 kB / 357.4 MB, free: 1.602 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/0.4297, allocations: 1.343 MB / 358.8 MB, free: 0.543 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006473/0.4304, allocations: 0.829 MB / 359.6 MB, free: 15.78 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.4305, allocations: 31.41 kB / 359.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of SimCode: time 1.601e-06/0.4306, allocations: 0 / 359.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of Templates: time 0.01519/0.4458, allocations: 8.787 MB / 368.4 MB, free: 7.582 MB / 298.7 MB